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, CrPsPcktAccFail_N2, DECISION2, NULL);
77 FwPrAddFlowActToFin(prDesc, CrPsPcktAccFail_N3, NULL);
78 FwPrAddFlowActToAct(prDesc, CrPsPcktAccFail_N4, CrPsPcktAccFail_N5, NULL);
79 FwPrAddFlowActToAct(prDesc, CrPsPcktAccFail_N5, CrPsPcktAccFail_N6, NULL);
80 FwPrAddFlowActToFin(prDesc, CrPsPcktAccFail_N6, NULL);
void CrPsPcktAccFailN6(FwPrDesc_t prDesc)
Action for node N6.
FwPrBool_t CrPsPcktAccFailG2E(FwPrDesc_t prDesc)
FW Profile function definitions.
#define CRFW_UNUSED(x)
A macro that can be used to specify that a function parameter is not used.
FwPrDesc_t CrPsPcktAccFailCreate(void *prData)
Create a new procedure descriptor.
Create one instance of the CrPsPcktAccFail procedure.
void CrPsPcktAccFailN3(FwPrDesc_t prDesc)
Action for node N3.
void CrPsPcktAccFailN1(FwPrDesc_t prDesc)
Action for node N1.
FwPrBool_t CrPsPcktAccFailG1(FwPrDesc_t prDesc)
Guard on the Control Flow from DECISION1 to N1.
Header file to define all invariant publicly available constants and types for the CORDET Framework...
FwPrBool_t CrPsPcktAccFailG2(FwPrDesc_t prDesc)
Guard on the Control Flow from DECISION2 to N3.
void CrPsPcktAccFailN5(FwPrDesc_t prDesc)
Action for node N5.
void CrPsPcktAccFailN2(FwPrDesc_t prDesc)
Action for node N2.
void CrPsPcktAccFailN4(FwPrDesc_t prDesc)
Action for node N4.
FwPrBool_t CrPsPcktAccFailG1E(FwPrDesc_t prDesc)
Guard on the Control Flow from DECISION1 to N2.
#define CrPsPcktAccFail_N1
Make sure to include this header file only once.