CORDET Framework - C2 Implementation
|
Create one instance of the CrPsPcktAccFail procedure. More...
Go to the source code of this file.
Macros | |
#define | CrPsPcktAccFail_N1 (1) /* The identifier of action node N1 in procedure CrPsPcktAccFail */ |
Make sure to include this header file only once. More... | |
#define | CrPsPcktAccFail_N2 (2) /* The identifier of action node N2 in procedure CrPsPcktAccFail */ |
#define | CrPsPcktAccFail_N3 (3) /* The identifier of action node N3 in procedure CrPsPcktAccFail */ |
#define | CrPsPcktAccFail_N4 (4) /* The identifier of action node N4 in procedure CrPsPcktAccFail */ |
#define | CrPsPcktAccFail_N5 (5) /* The identifier of action node N5 in procedure CrPsPcktAccFail */ |
#define | CrPsPcktAccFail_N6 (6) /* The identifier of action node N6 in procedure CrPsPcktAccFail */ |
Functions | |
FwPrDesc_t | CrPsPcktAccFailCreate (void *prData) |
Create a new procedure descriptor. More... | |
void | CrPsPcktAccFailN1 (FwPrDesc_t prDesc) |
Action for node N1. More... | |
void | CrPsPcktAccFailN2 (FwPrDesc_t prDesc) |
Action for node N2. More... | |
void | CrPsPcktAccFailN3 (FwPrDesc_t prDesc) |
Action for node N3. More... | |
void | CrPsPcktAccFailN4 (FwPrDesc_t prDesc) |
Action for node N4. More... | |
void | CrPsPcktAccFailN5 (FwPrDesc_t prDesc) |
Action for node N5. More... | |
void | CrPsPcktAccFailN6 (FwPrDesc_t prDesc) |
Action for node N6. More... | |
FwPrBool_t | CrPsPcktAccFailG1 (FwPrDesc_t prDesc) |
Guard on the Control Flow from DECISION1 to N1. More... | |
FwPrBool_t | CrPsPcktAccFailG1E (FwPrDesc_t prDesc) |
Guard on the Control Flow from DECISION1 to N2. More... | |
FwPrBool_t | CrPsPcktAccFailG2 (FwPrDesc_t prDesc) |
Guard on the Control Flow from DECISION2 to N3. More... | |
Create one instance of the CrPsPcktAccFail procedure.
This header file declares the function to create one instance of the CrPsPcktAccFail procedure. The procedure is configured with a set of function pointers representing the non-default actions and guards of the procedure. Some of these functions may also be declared in this header file in accordance with the configuration of the procedure in the FW Profile Editor. In the latter case, the user has to provide an implementation for these functions in a user-supplied body file.
This header file has been automatically generated by the FW Profile Editor. The procedure created by this file is shown in the figure below.
last modification: 22.01.2018
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
Definition in file CrPsPcktAccFailCreate.h.
#define CrPsPcktAccFail_N1 (1) /* The identifier of action node N1 in procedure CrPsPcktAccFail */ |
Make sure to include this header file only once.
FW Profile function definitions Action node identifiers
Definition at line 43 of file CrPsPcktAccFailCreate.h.
FwPrDesc_t CrPsPcktAccFailCreate | ( | void * | prData | ) |
Create a new procedure descriptor.
This interface creates the procedure descriptor dynamically.
prData | the pointer to the procedure data. A value of NULL is legal (note that the default value of the pointer to the procedure data when the procedure is created is NULL). |
Create the procedure
Configure the procedure
Definition at line 44 of file CrPsPcktAccFailCreate.c.
FwPrBool_t CrPsPcktAccFailG1 | ( | FwPrDesc_t | prDesc | ) |
Guard on the Control Flow from DECISION1 to N1.
Packet encapsulates a report
smDesc | the procedure descriptor |
Definition at line 220 of file CrPsPcktAccFailFunc.c.
FwPrBool_t CrPsPcktAccFailG1E | ( | FwPrDesc_t | prDesc | ) |
Guard on the Control Flow from DECISION1 to N2.
Packet encapsulates a command
smDesc | the procedure descriptor |
Definition at line 243 of file CrPsPcktAccFailFunc.c.
FwPrBool_t CrPsPcktAccFailG2 | ( | FwPrDesc_t | prDesc | ) |
Guard on the Control Flow from DECISION2 to N3.
OutFactory fails to generate OutComponent
smDesc | the procedure descriptor |
Definition at line 266 of file CrPsPcktAccFailFunc.c.
void CrPsPcktAccFailN1 | ( | FwPrDesc_t | prDesc | ) |
Action for node N1.
Generate error report INLOADER_ACC_FAIL
smDesc | the procedure descriptor |
Definition at line 58 of file CrPsPcktAccFailFunc.c.
void CrPsPcktAccFailN2 | ( | FwPrDesc_t | prDesc | ) |
Action for node N2.
Retrieve an OutComponent of type (1,2) from the OutFactory
smDesc | the procedure descriptor |
Definition at line 86 of file CrPsPcktAccFailFunc.c.
void CrPsPcktAccFailN3 | ( | FwPrDesc_t | prDesc | ) |
Action for node N3.
Generate error report OUTFACTORY_FAIL
smDesc | the procedure descriptor |
Definition at line 99 of file CrPsPcktAccFailFunc.c.
void CrPsPcktAccFailN4 | ( | FwPrDesc_t | prDesc | ) |
Action for node N4.
Configure report (1,2) and load it in the OutLoader
smDesc | the procedure descriptor |
Definition at line 115 of file CrPsPcktAccFailFunc.c.
void CrPsPcktAccFailN5 | ( | FwPrDesc_t | prDesc | ) |
Action for node N5.
Increment data pool variable nOfAccFailed
smDesc | the procedure descriptor |
Definition at line 167 of file CrPsPcktAccFailFunc.c.
void CrPsPcktAccFailN6 | ( | FwPrDesc_t | prDesc | ) |
Action for node N6.
Update data pool variables pcktIdAccFailed, failCodeAccFailed
smDesc | the procedure descriptor |
Definition at line 184 of file CrPsPcktAccFailFunc.c.