30 #include "FwPrDCreate.h" 31 #include "FwPrConfig.h" 60 const FwPrCounterU2_t DECISION1 = 1;
61 const FwPrCounterU2_t N_OUT_OF_DECISION1 = 2;
62 const FwPrCounterU2_t DECISION3 = 2;
63 const FwPrCounterU2_t N_OUT_OF_DECISION3 = 2;
64 const FwPrCounterU2_t DECISION4 = 3;
65 const FwPrCounterU2_t N_OUT_OF_DECISION4 = 2;
68 FwPrDesc_t prDesc = FwPrCreate(
77 FwPrSetData(prDesc, prData);
80 FwPrAddDecisionNode(prDesc, DECISION1, N_OUT_OF_DECISION1);
83 FwPrAddDecisionNode(prDesc, DECISION3, N_OUT_OF_DECISION3);
84 FwPrAddDecisionNode(prDesc, DECISION4, N_OUT_OF_DECISION4);
88 FwPrAddFlowActToDec(prDesc, CrPsCmd3SidStart_N4, DECISION1, NULL);
92 FwPrAddFlowActToAct(prDesc, CrPsCmd3SidStart_N2, CrPsCmd3SidStart_N3, NULL);
93 FwPrAddFlowActToDec(prDesc, CrPsCmd3SidStart_N3, DECISION3, NULL);
98 FwPrAddFlowActToFin(prDesc, CrPsCmd3SidStart_N7, NULL);
99 FwPrAddFlowActToFin(prDesc, CrPsCmd3SidStart_N8, NULL);
void CrPsCmd3SidStartN1(FwPrDesc_t prDesc)
Action for node N1.
#define CRFW_UNUSED(x)
A macro that can be used to specify that a function parameter is not used.
Create one instance of the CrPsCmd3SidStart procedure.
FwPrBool_t CrPsCmd3SidStartG3E(FwPrDesc_t prDesc)
Guard on the Control Flow from DECISION4 to N7.
Header file to define all invariant publicly available constants and types for the CORDET Framework...
FwPrBool_t CrPsCmd3SidStartG2E(FwPrDesc_t prDesc)
Guard on the Control Flow from DECISION3 to N4.
void CrPsCmd3SidStartN7(FwPrDesc_t prDesc)
Action for node N7.
FwPrBool_t CrPsCmd3SidStartG1(FwPrDesc_t prDesc)
Guard on the Control Flow from DECISION1 to N2.
FwPrBool_t CrPsCmd3SidStartG3(FwPrDesc_t prDesc)
Guard on the Control Flow from DECISION4 to N8.
FwPrBool_t CrPsCmd3SidStartG2(FwPrDesc_t prDesc)
Guard on the Control Flow from DECISION3 to DECISION4.
void CrPsCmd3SidStartN4(FwPrDesc_t prDesc)
Action for node N4.
void CrPsCmd3SidStartN2(FwPrDesc_t prDesc)
Action for node N2.
void CrPsCmd3SidStartN3(FwPrDesc_t prDesc)
Action for node N3.
FwPrDesc_t CrPsCmd3SidStartCreate(void *prData)
Create a new procedure descriptor.
#define CrPsCmd3SidStart_N1
Make sure to include this header file only once.
FwPrBool_t CrPsCmd3SidStartG1E(FwPrDesc_t prDesc)
CR Framework function definitions.
void CrPsCmd3SidStartN8(FwPrDesc_t prDesc)
Action for node N8.