FW Profile - C1 Implementation
FwPrConstants.h
Go to the documentation of this file.
1 
21 #ifndef FWPR_CONSTANTS_H_
22 #define FWPR_CONSTANTS_H_
23 
32 typedef struct FwPrDesc* FwPrDesc_t;
33 
45 typedef void (*FwPrAction_t)(FwPrDesc_t);
46 
48 typedef int FwPrBool_t;
49 
64 
66 typedef unsigned char FwPrCounterU1_t;
67 
69 typedef unsigned short int FwPrCounterU2_t;
70 
72 typedef unsigned int FwPrCounterU3_t;
73 
75 typedef long unsigned int FwPrCounterU4_t;
76 
78 typedef signed char FwPrCounterS1_t;
79 
81 typedef enum {
85  prSuccess = 1,
192  prFlowErr = 25,
214 } FwPrErrCode_t;
215 
216 #endif /* FWPR_CONSTANTS_H_ */
The number of actions added to the procedure is smaller than the number of actions declared when the ...
An action node is added to a procedure with an illegal (out-of-range) identifier. ...
The number of guards in the base procedure is not the same as in the derived procedure.
Definition: FwPrConstants.h:99
The number of guards added to the procedure is smaller than the number of guards declared when the pr...
A decision node is added to a procedure with an illegal (out-of-range) identifier.
The overridden guard in a derived procedure does not exist.
The number of guards added to the procedure exceeds the number of guards declared when the procedure ...
The overridden action in a derived procedure does not exist.
An action node is defined with a null action.
An error was encountered while executing a transition in a procedure (see FwPrExecute).
The number of actions in the base procedure is not the same as in the derived procedure.
Definition: FwPrConstants.h:94
A configuration error has been detected during the procedure configuration process.
An action node is added twice to the same procedure.
A choice pseudo-state is added to a procedure with less than 2 out-going control flows.
The procedure has an action node which is not a destination of any control flow.
A control flow is added to a procedure with an illegal (out-of-range) decision node destination...
unsigned int FwPrCounterU3_t
Type used for unsigned counters with a "long" range.
Definition: FwPrConstants.h:72
A node is added to a procedure which has more out-going transitions than fit into the control flow ar...
unsigned char FwPrCounterU1_t
Type used for unsigned counters with a "short" range.
Definition: FwPrConstants.h:66
int FwPrBool_t
Type used for booleans (0 is "false" and 1 is "true").
Definition: FwPrConstants.h:48
A control flow is added to a SM with a source which has an illegal value.
There is an undefined control flow in a procedure.
The procedure has a decision node which is not a destination of any control flow. ...
void(* FwPrAction_t)(FwPrDesc_t)
Type for a pointer to a procedure action.
Definition: FwPrConstants.h:45
There is an undefined decision node in a procedure.
long unsigned int FwPrCounterU4_t
Type used for unsigned counters with a "long int" range.
Definition: FwPrConstants.h:75
The number of actions added to the procedure exceeds the number of actions declared when the procedur...
FwPrErrCode_t
Error codes and function return codes for the procedure functions.
Definition: FwPrConstants.h:81
The procedure where an action or a guard is overridden or a procedure is embedded is not a derived pr...
A call to malloc has failed (it has returned a NULL pointer).
Definition: FwPrConstants.h:89
Return codes of a function which has completed execution without errors.
Definition: FwPrConstants.h:85
A control flow is added to a procedure with a source (either a state or a source choice pseudo-state)...
signed char FwPrCounterS1_t
Type used for signed counters with a "short" range.
Definition: FwPrConstants.h:78
unsigned short int FwPrCounterU2_t
Type used for unsigned counters with a "medium" range.
Definition: FwPrConstants.h:69
Structure representing a procedure descriptor.
Definition: FwPrPrivate.h:254
A control flow from a certain source is added to a procedure but there isn't space for it in the cont...
A decision node is added twice to the same procedure.
There is an undefined action node in a procedure.
struct FwPrDesc * FwPrDesc_t
Forward declaration for the pointer to a procedure descriptor.
Definition: FwPrConstants.h:32
A control flow is added to a procedure with an illegal (out-of-range) action node destination...
FwPrBool_t(* FwPrGuard_t)(FwPrDesc_t)
Type for a pointer to a procedure guard.
Definition: FwPrConstants.h:63
P&P Software GmbH, Copyright 2011, All Rights Reserved