CORDET Framework - C2 Implementation
cordetfw-examples/src/CrConfigDemoSlave2/CrFwUserConstants.h
Go to the documentation of this file.
1 
25 #ifndef CRFW_USERCONSTANTS_H_
26 #define CRFW_USERCONSTANTS_H_
27 
28 #include "FwPrConstants.h"
29 
31 typedef unsigned short CrFwInstanceId_t;
32 
34 typedef unsigned short int CrFwTypeId_t;
35 
37 typedef unsigned char CrFwOutcome_t;
38 
40 typedef unsigned int CrFwSeqCnt_t;
41 
43 typedef float CrFwTime_t;
44 
46 typedef unsigned int CrFwTimeStamp_t;
47 
51 typedef unsigned int CrFwTimeCyc_t;
52 
54 typedef unsigned char CrFwServType_t;
55 
57 typedef unsigned char CrFwServSubType_t;
58 
60 typedef unsigned char CrFwGroup_t;
61 
63 typedef unsigned char CrFwDestSrc_t;
64 
66 typedef unsigned short CrFwDiscriminant_t;
67 
69 typedef unsigned short CrFwTrackingIndex_t;
70 
72 typedef unsigned short CrFwCmdRepKindIndex_t;
73 
75 typedef unsigned int CrFwCmdRepKindKey_t;
76 
81 typedef unsigned char CrFwOutFactoryPoolIndex_t;
82 
87 typedef unsigned char CrFwInFactoryPoolIndex_t;
88 
90 typedef unsigned char CrFwCounterU1_t;
91 
93 typedef signed char CrFwCounterS1_t;
94 
96 typedef unsigned short CrFwCounterU2_t;
97 
99 typedef unsigned short int CrFwPcktLength_t;
100 
109 typedef enum {
137 
151 typedef enum {
209 
214 #define CR_FW_MAX_NOF_PCKTS 12
215 
217 #define CR_FW_HOST_APP_ID 3
218 
220 #define CR_FW_NBITS_APP_ID 4
221 
223 #define CR_FW_MAX_SERV_TYPE 64
224 
226 #define CR_FW_MAX_SERV_SUBTYPE 4
227 
229 #define CR_FW_MAX_DISCRIMINANT 1
230 
231 #endif /* CRFW_USERCONSTANTS_H_ */
A framework function was called with an illegal type/sub-type pair for an OutComponent.
A framework function was called with an illegal discriminant.
An InReport could not be loaded in its InManager.
An OutComponent release request has encountered an error (see CrFwOutFactoryReleaseOutCmp).
An OutStream function was called on an object which is not an OutStream.
unsigned short CrFwCounterU2_t
Type used for unsigned integers with a "medium" range.
unsigned short int CrFwPcktLength_t
Type for the packet length.
unsigned char CrFwDestSrc_t
Type used for the command or report destination and source.
A framework function was called with an illegal service type.
unsigned short CrFwInstanceId_t
Type used for instance identifiers.
No application errors have been detected.
Allocation request for a packet for an InCommand has failed (see CrFwInFactoryMakeInCmd).
A framework function was called with an illegal type/sub-type/discriminant triplet for an InReport...
signed char CrFwCounterS1_t
Type used for signed integers with a "short" range.
An OutComponent allocation request has failed (see CrFwOutFactoryMakeOutCmp).
An InStream has encountered a sequence counter error (see CrFwInStream.h)
unsigned short int CrFwTypeId_t
Type used for the identifier of a component type.
A framework function has been called with a destination attribute which is not associated to any OutS...
unsigned int CrFwTimeStamp_t
Type used for the time stamp of a command or report.
unsigned int CrFwCmdRepKindKey_t
Type for the component kind key in CrFwInFactory.c and CrFwOutFactory.c.
A packet release request has encountered an error (see CrFwPcktRelease).
CrFwAppErrCode_t
Application error code for the framework components.
An InCommand release request has encountered an error (see CrFwInFactoryReleaseInCmd).
An InReport or InCommand has failed its acceptance check.
A framework function has been called with an illegal InManager identifier.
unsigned char CrFwServType_t
Type used for the service type of a command or report.
An incoming command or report has an illegal group.
unsigned char CrFwServSubType_t
Type used for the command or report sub-type.
Allocation request for an InReport has failed (see CrFwInFactoryMakeInRep).
A packet allocation request has failed (see CrFwPcktMake).
float CrFwTime_t
Type used for the application time.
An InStream function was called on an object which is not an InStream.
An OutStream cannot buffer an out-going packet because no more packets are available (see CrFwOutStre...
unsigned short CrFwDiscriminant_t
Type used for the discriminant of a command or report.
A framework function was called with an illegal service sub-type.
The Pending Command/Report List (PCRL) of an InManager is full (see CrFwInManager.h)
A framework function was called with an illegal type/sub-type/discriminant triplet for an InCommand...
The packet queue of an OutStream is full (see CrFwOutStream.h)
An InReport release request has encountered an error (see CrFwInFactoryReleaseInRep).
A framework function has been called with an illegal InStream identifier.
An OutComponent has an invalid destination (see CrFwOutCmp.h)
unsigned int CrFwTimeCyc_t
Type used for the number of elapsed cycles.
unsigned short CrFwTrackingIndex_t
Type for the index used to track the state of a component.
An OutComponent function was called on an object which is not an OutComponent.
A framework function has been called with a source attribute which is not associated to any InStream...
The Pending OutComponent List (POCL) of an OutManager is full (see CrFwOutManager.h)
unsigned char CrFwGroup_t
Type used for the destination or source group of a packet.
A framework function was called with an illegal type/sub-type/discriminant triplet for an OutComponen...
unsigned char CrFwOutcome_t
Type used for the outcome of a check (see CrFwCmpData).
unsigned short CrFwCmdRepKindIndex_t
Type for the index of a command or report kind.
unsigned char CrFwInFactoryPoolIndex_t
Type for the index in the pool of pre-allocated incoming components in the InFactory (see CrFwInFacto...
A framework function has been called with an illegal OutStream identifier.
A framework function has been called with an illegal OutManager identifier.
unsigned char CrFwCounterU1_t
Type used for unsigned integers with a "short" range.
The InLoader has retrieved a packet with an invalid destination (see CrFwInLoader.h)
An InReport could not be created due to insufficient resources or illegal type/sub-type/discriminant...
The packet queue of an InStream is full (see CrFwInStream.h)
unsigned char CrFwOutFactoryPoolIndex_t
Type for the index in the pool of pre-allocated OutComponents in the OutFactory (see CrFwOutFactory...
CrFwRepErrCode_t
Identifier for the errors reported through the error reporting interface of CrFwRepErr.h.
unsigned int CrFwSeqCnt_t
Type used for the sequence counter of commands or reports.
P&P Software GmbH, Copyright 2012-2013, All Rights Reserved