CORDET Framework - C2 Implementation
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_ */
unsigned char CrFwCounterU1_t
Type used for unsigned integers with a "short" range.
unsigned short CrFwInstanceId_t
Type used for instance identifiers.
An InReport has failed its validity check.
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 InCommand...
An OutComponent has an invalid destination (see CrFwOutCmp.h)
A framework function was called with an illegal type/sub-type/discriminant triplet for an OutComponen...
unsigned char CrFwInFactoryPoolIndex_t
Type for the index in the pool of pre-allocated incoming components in the InFactory (see CrFwInFacto...
The Pending Command/Report List (PCRL) of an InManager is full (see CrFwInManager.h)
A packet release request has encountered an error (see CrFwPcktRelease).
An InStream function was called on an object which is not an InStream.
An OutStream function was called on an object which is not an OutStream.
A framework function was called with an illegal service type.
A framework function was called with an illegal type/sub-type/discriminant triplet for an InReport...
Allocation request for an InReport has failed (see CrFwInFactoryMakeInRep).
A packet allocation request has failed (see CrFwPcktMake).
unsigned char CrFwGroup_t
Type used for the destination or source group of a packet.
unsigned char CrFwOutcome_t
Type used for the outcome of a check (see CrFwCmpData).
CrFwAppErrCode_t
Application error code for the framework components.
unsigned short CrFwDiscriminant_t
Type used for the discriminant of a command or report.
The Pending OutComponent List (POCL) of an OutManager is full (see CrFwOutManager.h)
A framework function has been called with an illegal OutStream identifier.
unsigned char CrFwDestSrc_t
Type used for the command or report destination and source.
An OutComponent has an illegal group.
An OutStream cannot buffer an out-going packet because no more packets are available (see CrFwOutStre...
unsigned int CrFwCmdRepKindKey_t
Type for the component kind key in CrFwInFactory.c and CrFwOutFactory.c.
An InReport release request has encountered an error (see CrFwInFactoryReleaseInRep).
An OutComponent allocation request has failed (see CrFwOutFactoryMakeOutCmp).
unsigned short CrFwCmdRepKindIndex_t
Type for the index of a command or report kind.
An OutComponent function was called on an object which is not an OutComponent.
float CrFwTime_t
Type used for the application time.
The packet queue of an OutStream is full (see CrFwOutStream.h)
signed char CrFwCounterS1_t
Type used for signed integers with a "short" range.
unsigned short CrFwCounterU2_t
Type used for unsigned integers with a "medium" range.
unsigned short CrFwExecStepId_t
Type for the counter of execution progress steps.
A framework function has been called with an illegal InManager identifier.
A framework function was called with an illegal service sub-type.
An InStream has encountered a sequence counter error (see CrFwInStream.h)
unsigned short CrFwProgressStepId_t
Type for the Progress Step Identifier of an InCommand.
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 InStream identifier.
An InReport could not be loaded in its InManager.
An InReport could not be created due to insufficient resources or illegal type/sub-type/discriminant...
The InLoader has retrieved a packet with an invalid destination (see CrFwInLoader.h)
unsigned int CrFwTimeStamp_t
Type used for the time stamp of a command or report.
The packet queue of an InStream is full (see CrFwInStream.h)
unsigned short CrFwCrc_t
Type used for the CRC field in a packet.
unsigned short int CrFwTypeId_t
Type used for the identifier of a component type.
unsigned short int CrFwPcktLength_t
Type for the packet length.
An OutComponent release request has encountered an error (see CrFwOutFactoryReleaseOutCmp).
A framework function was called with an illegal type/sub-type pair for an OutComponent.
unsigned int CrFwTimeCyc_t
Type used for the number of elapsed cycles.
CrFwRepErrCode_t
Identifier for the errors reported through the error reporting interface of CrFwRepErr.h.
A framework function has been called with a source attribute which is not associated to any InStream...
unsigned short CrFwTrackingIndex_t
Type for the index used to track the state of a component.
No application errors have been detected.
A framework function was called with an illegal discriminant.
Allocation request for a packet for an InCommand has failed (see CrFwInFactoryMakeInCmd).
unsigned char CrFwServType_t
Type used for the service type of a command or report.
A framework function has been called with an illegal OutManager identifier.
unsigned int CrFwSeqCnt_t
Type used for the sequence counter of commands or reports.
An InCommand release request has encountered an error (see CrFwInFactoryReleaseInCmd).
An incoming command or report has an illegal group.
unsigned char CrFwServSubType_t
Type used for the command or report sub-type.
P&P Software GmbH, Copyright 2012-2013, All Rights Reserved