30 #include "FwPrDCreate.h" 31 #include "FwPrConfig.h" 81 const FwPrCounterU2_t DECISION1 = 1;
82 const FwPrCounterU2_t N_OUT_OF_DECISION1 = 2;
83 const FwPrCounterU2_t DECISION2 = 2;
84 const FwPrCounterU2_t N_OUT_OF_DECISION2 = 2;
85 const FwPrCounterU2_t DECISION3 = 3;
86 const FwPrCounterU2_t N_OUT_OF_DECISION3 = 2;
87 const FwPrCounterU2_t DECISION4 = 4;
88 const FwPrCounterU2_t N_OUT_OF_DECISION4 = 2;
89 const FwPrCounterU2_t DECISION5 = 5;
90 const FwPrCounterU2_t N_OUT_OF_DECISION5 = 2;
91 const FwPrCounterU2_t DECISION6 = 6;
92 const FwPrCounterU2_t N_OUT_OF_DECISION6 = 2;
95 FwPrDesc_t prDesc = FwPrCreate(
104 FwPrSetData(prDesc, prData);
105 FwPrAddDecisionNode(prDesc, DECISION1, N_OUT_OF_DECISION1);
107 FwPrAddDecisionNode(prDesc, DECISION2, N_OUT_OF_DECISION2);
108 FwPrAddDecisionNode(prDesc, DECISION3, N_OUT_OF_DECISION3);
110 FwPrAddDecisionNode(prDesc, DECISION4, N_OUT_OF_DECISION4);
112 FwPrAddDecisionNode(prDesc, DECISION5, N_OUT_OF_DECISION5);
114 FwPrAddDecisionNode(prDesc, DECISION6, N_OUT_OF_DECISION6);
121 FwPrAddFlowIniToDec(prDesc, DECISION1, NULL);
129 FwPrAddFlowActToDec(prDesc, CrPsCmd3s1Start_N4, DECISION6, NULL);
132 FwPrAddFlowActToDec(prDesc, CrPsCmd3s1Start_N2, DECISION5, NULL);
135 FwPrAddFlowActToAct(prDesc, CrPsCmd3s1Start_N3, CrPsCmd3s1Start_N10, NULL);
138 FwPrAddFlowActToFin(prDesc, CrPsCmd3s1Start_N6, NULL);
139 FwPrAddFlowActToFin(prDesc, CrPsCmd3s1Start_N7, NULL);
140 FwPrAddFlowActToFin(prDesc, CrPsCmd3s1Start_N8, NULL);
141 FwPrAddFlowActToFin(prDesc, CrPsCmd3s1Start_N9, NULL);
142 FwPrAddFlowActToFin(prDesc, CrPsCmd3s1Start_N10, NULL);
143 FwPrAddFlowActToFin(prDesc, CrPsCmd3s1Start_N11, NULL);
FwPrBool_t CrPsCmd3s1StartG3(FwPrDesc_t prDesc)
Guard on the Control Flow from DECISION3 to N7.
void CrPsCmd3s1StartN4(FwPrDesc_t prDesc)
Action for node N4.
FwPrBool_t CrPsCmd3s1StartG2(FwPrDesc_t prDesc)
Guard on the Control Flow from DECISION2 to N8.
FwPrBool_t CrPsCmd3s1StartG6E(FwPrDesc_t prDesc)
Guard on the Control Flow from DECISION6 to N11.
#define CRFW_UNUSED(x)
A macro that can be used to specify that a function parameter is not used.
FwPrBool_t CrPsCmd3s1StartG6(FwPrDesc_t prDesc)
Guard on the Control Flow from DECISION6 to N6.
FwPrBool_t CrPsCmd3s1StartG2E(FwPrDesc_t prDesc)
Guard on the Control Flow from DECISION2 to DECISION3.
#define CrPsCmd3s1Start_N1
Make sure to include this header file only once.
void CrPsCmd3s1StartN7(FwPrDesc_t prDesc)
Action for node N7.
FwPrBool_t CrPsCmd3s1StartG5(FwPrDesc_t prDesc)
Guard on the Control Flow from DECISION5 to N3.
Header file to define all invariant publicly available constants and types for the CORDET Framework...
void CrPsCmd3s1StartN2(FwPrDesc_t prDesc)
Action for node N2.
FwPrBool_t CrPsCmd3s1StartG1(FwPrDesc_t prDesc)
Guard on the Control Flow from DECISION1 to N1.
void CrPsCmd3s1StartN10(FwPrDesc_t prDesc)
Action for node N10.
void CrPsCmd3s1StartN3(FwPrDesc_t prDesc)
Action for node N3.
void CrPsCmd3s1StartN11(FwPrDesc_t prDesc)
Action for node N11.
void CrPsCmd3s1StartN6(FwPrDesc_t prDesc)
Action for node N6.
FwPrBool_t CrPsCmd3s1StartG4(FwPrDesc_t prDesc)
Guard on the Control Flow from DECISION4 to N9.
void CrPsCmd3s1StartN8(FwPrDesc_t prDesc)
Action for node N8.
Create one instance of the CrPsCmd3s1Start procedure.
FwPrDesc_t CrPsCmd3s1StartCreate(void *prData)
Create a new procedure descriptor.
FwPrBool_t CrPsCmd3s1StartG3E(FwPrDesc_t prDesc)
Guard on the Control Flow from DECISION3 to DECISION4.
void CrPsCmd3s1StartN1(FwPrDesc_t prDesc)
Action for node N1.
FwPrBool_t CrPsCmd3s1StartG5E(FwPrDesc_t prDesc)
Guard on the Control Flow from DECISION5 to N4.
FwPrBool_t CrPsCmd3s1StartG1E(FwPrDesc_t prDesc)
CR Framework function definitions.
void CrPsCmd3s1StartN9(FwPrDesc_t prDesc)
Action for node N9.
FwPrBool_t CrPsCmd3s1StartG4E(FwPrDesc_t prDesc)
Guard on the Control Flow from DECISION4 to N2.