27 #include "FwPrDCreate.h" 28 #include "FwPrConfig.h" 46 const FwPrCounterU2_t DECISION1 = 1;
47 const FwPrCounterU2_t N_OUT_OF_DECISION1 = 2;
48 const FwPrCounterU2_t DECISION2 = 2;
49 const FwPrCounterU2_t N_OUT_OF_DECISION2 = 2;
52 FwPrDesc_t prDesc = FwPrCreate(
61 FwPrSetData(prDesc, prData);
63 FwPrAddDecisionNode(prDesc, DECISION1, N_OUT_OF_DECISION1);
65 FwPrAddDecisionNode(prDesc, DECISION2, N_OUT_OF_DECISION2);
70 FwPrAddFlowIniToDec(prDesc, DECISION1, NULL);
74 FwPrAddFlowActToDec(prDesc, CrPsPcktReroutingFail_N2, DECISION2, NULL);
77 FwPrAddFlowActToFin(prDesc, CrPsPcktReroutingFail_N3, NULL);
78 FwPrAddFlowActToAct(prDesc, CrPsPcktReroutingFail_N4, CrPsPcktReroutingFail_N5, NULL);
79 FwPrAddFlowActToAct(prDesc, CrPsPcktReroutingFail_N5, CrPsPcktReroutingFail_N6, NULL);
80 FwPrAddFlowActToFin(prDesc, CrPsPcktReroutingFail_N6, NULL);
#define CrPsPcktReroutingFail_N1
Make sure to include this header file only once.
#define CRFW_UNUSED(x)
A macro that can be used to specify that a function parameter is not used.
void CrPsPcktReroutingFailN6(FwPrDesc_t prDesc)
Action for node N6.
FwPrBool_t CrPsPcktReroutingFailG1E(FwPrDesc_t prDesc)
Guard on the Control Flow from DECISION1 to N2.
void CrPsPcktReroutingFailN4(FwPrDesc_t prDesc)
Action for node N4.
Header file to define all invariant publicly available constants and types for the CORDET Framework...
FwPrDesc_t CrPsPcktReroutingFailCreate(void *prData)
Create a new procedure descriptor.
FwPrBool_t CrPsPcktReroutingFailG2(FwPrDesc_t prDesc)
Guard on the Control Flow from DECISION2 to N3.
FwPrBool_t CrPsPcktReroutingFailG2E(FwPrDesc_t prDesc)
FW Profile function definitions.
void CrPsPcktReroutingFailN1(FwPrDesc_t prDesc)
Action for node N1.
FwPrBool_t CrPsPcktReroutingFailG1(FwPrDesc_t prDesc)
Guard on the Control Flow from DECISION1 to N1.
void CrPsPcktReroutingFailN5(FwPrDesc_t prDesc)
Action for node N5.
void CrPsPcktReroutingFailN3(FwPrDesc_t prDesc)
Action for node N3.
void CrPsPcktReroutingFailN2(FwPrDesc_t prDesc)
Action for node N2.
Create one instance of the CrPsPcktReroutingFail procedure.