30 #include "FwPrDCreate.h" 31 #include "FwPrConfig.h" 67 const FwPrCounterU2_t DECISION1 = 1;
68 const FwPrCounterU2_t N_OUT_OF_DECISION1 = 2;
69 const FwPrCounterU2_t DECISION2 = 2;
70 const FwPrCounterU2_t N_OUT_OF_DECISION2 = 2;
71 const FwPrCounterU2_t DECISION3 = 3;
72 const FwPrCounterU2_t N_OUT_OF_DECISION3 = 2;
73 const FwPrCounterU2_t DECISION4 = 4;
74 const FwPrCounterU2_t N_OUT_OF_DECISION4 = 2;
77 FwPrDesc_t prDesc = FwPrCreate(
86 FwPrSetData(prDesc, prData);
89 FwPrAddDecisionNode(prDesc, DECISION1, N_OUT_OF_DECISION1);
92 FwPrAddDecisionNode(prDesc, DECISION2, N_OUT_OF_DECISION2);
95 FwPrAddDecisionNode(prDesc, DECISION3, N_OUT_OF_DECISION3);
96 FwPrAddDecisionNode(prDesc, DECISION4, N_OUT_OF_DECISION4);
100 FwPrAddFlowActToDec(prDesc, CrPsCmd3s3Start_N4, DECISION1, NULL);
104 FwPrAddFlowActToAct(prDesc, CrPsCmd3s3Start_N2, CrPsCmd3s3Start_N3, NULL);
105 FwPrAddFlowActToDec(prDesc, CrPsCmd3s3Start_N3, DECISION2, NULL);
108 FwPrAddFlowActToAct(prDesc, CrPsCmd3s3Start_N5, CrPsCmd3s3Start_N6, NULL);
109 FwPrAddFlowActToDec(prDesc, CrPsCmd3s3Start_N6, DECISION3, NULL);
114 FwPrAddFlowActToFin(prDesc, CrPsCmd3s3Start_N7, NULL);
115 FwPrAddFlowActToFin(prDesc, CrPsCmd3s3Start_N8, NULL);
void CrPsCmd3s3StartN3(FwPrDesc_t prDesc)
Action for node N3.
void CrPsCmd3s3StartN7(FwPrDesc_t prDesc)
Action for node N7.
#define CRFW_UNUSED(x)
A macro that can be used to specify that a function parameter is not used.
Create one instance of the CrPsCmd3s3Start procedure.
FwPrBool_t CrPsCmd3s3StartG3(FwPrDesc_t prDesc)
Guard on the Control Flow from DECISION3 to DECISION4.
void CrPsCmd3s3StartN4(FwPrDesc_t prDesc)
Action for node N4.
void CrPsCmd3s3StartN2(FwPrDesc_t prDesc)
Action for node N2.
void CrPsCmd3s3StartN6(FwPrDesc_t prDesc)
Action for node N6.
FwPrBool_t CrPsCmd3s3StartG2(FwPrDesc_t prDesc)
Guard on the Control Flow from DECISION2 to N5.
Header file to define all invariant publicly available constants and types for the CORDET Framework...
FwPrBool_t CrPsCmd3s3StartG4E(FwPrDesc_t prDesc)
Guard on the Control Flow from DECISION4 to N7.
#define CrPsCmd3s3Start_N1
Make sure to include this header file only once.
void CrPsCmd3s3StartN8(FwPrDesc_t prDesc)
Action for node N8.
FwPrBool_t CrPsCmd3s3StartG3E(FwPrDesc_t prDesc)
Guard on the Control Flow from DECISION3 to N4.
void CrPsCmd3s3StartN1(FwPrDesc_t prDesc)
Action for node N1.
FwPrDesc_t CrPsCmd3s3StartCreate(void *prData)
Create a new procedure descriptor.
FwPrBool_t CrPsCmd3s3StartG1(FwPrDesc_t prDesc)
Guard on the Control Flow from DECISION1 to N2.
FwPrBool_t CrPsCmd3s3StartG2E(FwPrDesc_t prDesc)
Guard on the Control Flow from DECISION2 to DECISION3.
FwPrBool_t CrPsCmd3s3StartG1E(FwPrDesc_t prDesc)
CR Framework function definitions.
FwPrBool_t CrPsCmd3s3StartG4(FwPrDesc_t prDesc)
Guard on the Control Flow from DECISION4 to N8.
void CrPsCmd3s3StartN5(FwPrDesc_t prDesc)
Action for node N5.