CORDET Framework - C2 Implementation
cordetfw/tests/config/CrFwUserConstants.h
Go to the documentation of this file.
1 
21 #ifndef CRFW_USERCONSTANTS_H_
22 #define CRFW_USERCONSTANTS_H_
23 
24 #include "FwPrConstants.h"
25 
27 typedef unsigned short CrFwInstanceId_t;
28 
30 typedef unsigned short int CrFwTypeId_t;
31 
33 typedef unsigned char CrFwOutcome_t;
34 
36 typedef unsigned int CrFwSeqCnt_t;
37 
39 typedef float CrFwTime_t;
40 
42 typedef unsigned int CrFwTimeStamp_t;
43 
45 typedef unsigned short CrFwProgressStepId_t;
46 
48 typedef unsigned short CrFwExecStepId_t;
49 
53 typedef unsigned int CrFwTimeCyc_t;
54 
56 typedef unsigned char CrFwServType_t;
57 
59 typedef unsigned char CrFwServSubType_t;
60 
62 typedef unsigned char CrFwGroup_t;
63 
65 typedef unsigned char CrFwDestSrc_t;
66 
68 typedef unsigned short CrFwCrc_t;
69 
71 typedef unsigned short CrFwDiscriminant_t;
72 
74 typedef unsigned short CrFwTrackingIndex_t;
75 
77 typedef unsigned short CrFwCmdRepKindIndex_t;
78 
80 typedef unsigned int CrFwCmdRepKindKey_t;
81 
86 typedef unsigned char CrFwOutFactoryPoolIndex_t;
87 
92 typedef unsigned char CrFwInFactoryPoolIndex_t;
93 
95 typedef unsigned char CrFwCounterU1_t;
96 
98 typedef signed char CrFwCounterS1_t;
99 
101 typedef unsigned short CrFwCounterU2_t;
102 
104 typedef unsigned short int CrFwPcktLength_t;
105 
117 typedef enum {
145 
162 typedef enum {
220 
225 #define CR_FW_MAX_NOF_PCKTS 12
226 
228 #define CR_FW_HOST_APP_ID 10
229 
231 #define CR_FW_NBITS_APP_ID 4
232 
234 #define CR_FW_MAX_SERV_TYPE 100
235 
237 #define CR_FW_MAX_SERV_SUBTYPE 20
238 
240 #define CR_FW_MAX_DISCRIMINANT 50
241 
242 #endif /* CRFW_USERCONSTANTS_H_ */
An InReport has failed its validity check.
unsigned short CrFwInstanceId_t
Type used for instance identifiers.
A framework function has been called with a destination attribute which is not associated to any OutS...
A framework function has been called with an illegal OutStream identifier.
Allocation request for a packet for an InCommand has failed (see CrFwInFactoryMakeInCmd).
An OutComponent has an invalid destination (see CrFwOutCmp.h)
An OutComponent release request has encountered an error (see CrFwOutFactoryReleaseOutCmp).
unsigned short CrFwCounterU2_t
Type used for unsigned integers with a "medium" range.
unsigned char CrFwInFactoryPoolIndex_t
Type for the index in the pool of pre-allocated incoming components in the InFactory (see CrFwInFacto...
CrFwAppErrCode_t
Application error code for the framework components.
A framework function has been called with an illegal OutManager identifier.
A framework function was called with an illegal type/sub-type pair for an OutComponent.
signed char CrFwCounterS1_t
Type used for signed integers with a "short" range.
An InStream has encountered a sequence counter error (see CrFwInStream.h)
The packet queue of an InStream is full (see CrFwInStream.h)
unsigned int CrFwSeqCnt_t
Type used for the sequence counter of commands or reports.
A framework function was called with an illegal discriminant.
unsigned char CrFwOutFactoryPoolIndex_t
Type for the index in the pool of pre-allocated OutComponents in the OutFactory (see CrFwOutFactory...
A framework function was called with an illegal type/sub-type/discriminant triplet for an OutComponen...
unsigned short CrFwTrackingIndex_t
Type for the index used to track the state of a component.
The packet queue of an OutStream is full (see CrFwOutStream.h)
unsigned int CrFwTimeCyc_t
Type used for the number of elapsed cycles.
An InReport release request has encountered an error (see CrFwInFactoryReleaseInRep).
unsigned int CrFwTimeStamp_t
Type used for the time stamp of a command or report.
The Pending OutComponent List (POCL) of an OutManager is full (see CrFwOutManager.h)
An InCommand release request has encountered an error (see CrFwInFactoryReleaseInCmd).
An OutComponent has an illegal group.
unsigned int CrFwCmdRepKindKey_t
Type for the component kind key in CrFwInFactory.c and CrFwOutFactory.c.
unsigned short CrFwProgressStepId_t
Type for the Progress Step Identifier of an InCommand.
A framework function was called with an illegal service sub-type.
A framework function has been called with an illegal InManager identifier.
The InLoader has retrieved a packet with an invalid destination (see CrFwInLoader.h)
An incoming command or report has an illegal group.
A packet release request has encountered an error (see CrFwPcktRelease).
unsigned char CrFwCounterU1_t
Type used for unsigned integers with a "short" range.
Allocation request for an InReport has failed (see CrFwInFactoryMakeInRep).
float CrFwTime_t
Type used for the application time.
unsigned short CrFwCmdRepKindIndex_t
Type for the index of a command or report kind.
An InReport could not be loaded in its InManager.
A framework function has been called with an illegal InStream identifier.
CrFwRepErrCode_t
Identifier for the errors reported through the error reporting interface of CrFwRepErr.h.
A framework function was called with an illegal type/sub-type/discriminant triplet for an InCommand...
An InStream function was called on an object which is not an InStream.
unsigned short CrFwCrc_t
Type used for the CRC field in a packet.
unsigned short CrFwDiscriminant_t
Type used for the discriminant of a command or report.
unsigned short CrFwExecStepId_t
Type for the counter of execution progress steps.
The Pending Command/Report List (PCRL) of an InManager is full (see CrFwInManager.h)
An OutComponent allocation request has failed (see CrFwOutFactoryMakeOutCmp).
An InReport could not be created due to insufficient resources or illegal type/sub-type/discriminant...
No application errors have been detected.
unsigned char CrFwServSubType_t
Type used for the command or report sub-type.
An OutStream function was called on an object which is not an OutStream.
unsigned char CrFwGroup_t
Type used for the destination or source group of a packet.
A packet allocation request has failed (see CrFwPcktMake).
A framework function was called with an illegal service type.
unsigned char CrFwOutcome_t
Type used for the outcome of a check (see CrFwCmpData).
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...
An OutStream cannot buffer an out-going packet because no more packets are available (see CrFwOutStre...
unsigned short int CrFwPcktLength_t
Type for the packet length.
unsigned char CrFwDestSrc_t
Type used for the command or report destination and source.
unsigned short int CrFwTypeId_t
Type used for the identifier of a component type.
unsigned char CrFwServType_t
Type used for the service type of a command or report.
A framework function was called with an illegal type/sub-type/discriminant triplet for an InReport...
P&P Software GmbH, Copyright 2012-2013, All Rights Reserved