CORDET Framework - C2 Implementation
|
Create one instance of the CrPsCmd3s9Prgr procedure. More...
Go to the source code of this file.
Macros | |
#define | CrPsCmd3s9Prgr_N1 (1) /* The identifier of action node N1 in procedure CrPsCmd3s9Prgr */ |
Make sure to include this header file only once. More... | |
#define | CrPsCmd3s9Prgr_N2 (2) /* The identifier of action node N2 in procedure CrPsCmd3s9Prgr */ |
#define | CrPsCmd3s9Prgr_N3 (3) /* The identifier of action node N3 in procedure CrPsCmd3s9Prgr */ |
#define | CrPsCmd3s9Prgr_N4 (4) /* The identifier of action node N4 in procedure CrPsCmd3s9Prgr */ |
#define | CrPsCmd3s9Prgr_N5 (5) /* The identifier of action node N5 in procedure CrPsCmd3s9Prgr */ |
#define | CrPsCmd3s9Prgr_N6 (6) /* The identifier of action node N6 in procedure CrPsCmd3s9Prgr */ |
#define | CrPsCmd3s9Prgr_N7 (7) /* The identifier of action node N7 in procedure CrPsCmd3s9Prgr */ |
#define | CrPsCmd3s9Prgr_N8 (8) /* The identifier of action node N8 in procedure CrPsCmd3s9Prgr */ |
#define | CrPsCmd3s9Prgr_N9 (9) /* The identifier of action node N9 in procedure CrPsCmd3s9Prgr */ |
Functions | |
FwPrDesc_t | CrPsCmd3s9PrgrCreate (void *prData) |
Create a new procedure descriptor. More... | |
void | CrPsCmd3s9PrgrN1 (FwPrDesc_t prDesc) |
Action for node N1. More... | |
void | CrPsCmd3s9PrgrN2 (FwPrDesc_t prDesc) |
Action for node N2. More... | |
void | CrPsCmd3s9PrgrN3 (FwPrDesc_t prDesc) |
Action for node N3. More... | |
void | CrPsCmd3s9PrgrN4 (FwPrDesc_t prDesc) |
Action for node N4. More... | |
void | CrPsCmd3s9PrgrN5 (FwPrDesc_t prDesc) |
Action for node N5. More... | |
void | CrPsCmd3s9PrgrN6 (FwPrDesc_t prDesc) |
Action for node N6. More... | |
void | CrPsCmd3s9PrgrN7 (FwPrDesc_t prDesc) |
Action for node N7. More... | |
void | CrPsCmd3s9PrgrN8 (FwPrDesc_t prDesc) |
Action for node N8. More... | |
void | CrPsCmd3s9PrgrN9 (FwPrDesc_t prDesc) |
Action for node N9. More... | |
FwPrBool_t | CrPsCmd3s9PrgrG1 (FwPrDesc_t prDesc) |
Guard on the Control Flow from DECISION1 to N2. More... | |
FwPrBool_t | CrPsCmd3s9PrgrG1E (FwPrDesc_t prDesc) |
Guard on the Control Flow from DECISION1 to N5. More... | |
FwPrBool_t | CrPsCmd3s9PrgrG2 (FwPrDesc_t prDesc) |
Guard on the Control Flow from DECISION2 to N6. More... | |
FwPrBool_t | CrPsCmd3s9PrgrG2E (FwPrDesc_t prDesc) |
Guard on the Control Flow from DECISION2 to N7. More... | |
FwPrBool_t | CrPsCmd3s9PrgrG3 (FwPrDesc_t prDesc) |
Guard on the Control Flow from N7 to N9. More... | |
Create one instance of the CrPsCmd3s9Prgr procedure.
This header file declares the function to create one instance of the CrPsCmd3s9Prgr 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 CrPsCmd3s9PrgrCreate.h.
#define CrPsCmd3s9Prgr_N1 (1) /* The identifier of action node N1 in procedure CrPsCmd3s9Prgr */ |
Make sure to include this header file only once.
FW Profile function definitions Action node identifiers
Definition at line 43 of file CrPsCmd3s9PrgrCreate.h.
FwPrDesc_t CrPsCmd3s9PrgrCreate | ( | 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 52 of file CrPsCmd3s9PrgrCreate.c.
FwPrBool_t CrPsCmd3s9PrgrG1 | ( | FwPrDesc_t | prDesc | ) |
Guard on the Control Flow from DECISION1 to N2.
OutFactory fails to return a report
smDesc | the procedure descriptor |
Definition at line 276 of file CrPsCmd3s9PrgrFunc.c.
FwPrBool_t CrPsCmd3s9PrgrG1E | ( | FwPrDesc_t | prDesc | ) |
Guard on the Control Flow from DECISION1 to N5.
Else
smDesc | the procedure descriptor |
Guard on the Control Flow from DECISION1 to N5.
FW Profile function definitions CrPsCmd3s9Prgr function definitions Guard on the Control Flow from DECISION1 to N5.
Definition at line 38 of file CrPsCmd3s9PrgrCreate.c.
FwPrBool_t CrPsCmd3s9PrgrG2 | ( | FwPrDesc_t | prDesc | ) |
Guard on the Control Flow from DECISION2 to N6.
This SID was the last valid SID in the (3,9) or (3,11)
smDesc | the procedure descriptor |
Definition at line 293 of file CrPsCmd3s9PrgrFunc.c.
FwPrBool_t CrPsCmd3s9PrgrG2E | ( | FwPrDesc_t | prDesc | ) |
Guard on the Control Flow from DECISION2 to N7.
Else
smDesc | the procedure descriptor |
Definition at line 45 of file CrPsCmd3s9PrgrCreate.c.
FwPrBool_t CrPsCmd3s9PrgrG3 | ( | FwPrDesc_t | prDesc | ) |
Guard on the Control Flow from N7 to N9.
Next Execution
smDesc | the procedure descriptor |
Definition at line 316 of file CrPsCmd3s9PrgrFunc.c.
void CrPsCmd3s9PrgrN1 | ( | FwPrDesc_t | prDesc | ) |
Action for node N1.
Retrieve a (3,10) or (3,12) report from the OutFactory to hold the structurereport for the SID which is being processed
smDesc | the procedure descriptor |
Definition at line 65 of file CrPsCmd3s9PrgrFunc.c.
void CrPsCmd3s9PrgrN2 | ( | FwPrDesc_t | prDesc | ) |
Action for node N2.
Load the SID which is being processed in data pool item verFailData
smDesc | the procedure descriptor |
Definition at line 103 of file CrPsCmd3s9PrgrFunc.c.
void CrPsCmd3s9PrgrN3 | ( | FwPrDesc_t | prDesc | ) |
Action for node N3.
Run the Command Progress Failure Procedure
smDesc | the procedure descriptor |
Definition at line 114 of file CrPsCmd3s9PrgrFunc.c.
void CrPsCmd3s9PrgrN4 | ( | FwPrDesc_t | prDesc | ) |
Action for node N4.
Generate error report OUTFACTORY_FAIL
smDesc | the procedure descriptor |
Definition at line 141 of file CrPsCmd3s9PrgrFunc.c.
void CrPsCmd3s9PrgrN5 | ( | FwPrDesc_t | prDesc | ) |
Action for node N5.
Configure the (3,10) or (3,12) report with the SID being processed and load it in the OutLoader
smDesc | the procedure descriptor |
Definition at line 155 of file CrPsCmd3s9PrgrFunc.c.
void CrPsCmd3s9PrgrN6 | ( | FwPrDesc_t | prDesc | ) |
Action for node N6.
Set action outcome to: 'completed'
smDesc | the procedure descriptor |
Definition at line 184 of file CrPsCmd3s9PrgrFunc.c.
void CrPsCmd3s9PrgrN7 | ( | FwPrDesc_t | prDesc | ) |
Action for node N7.
Set action outcome to 'continue'
smDesc | the procedure descriptor |
Definition at line 209 of file CrPsCmd3s9PrgrFunc.c.
void CrPsCmd3s9PrgrN8 | ( | FwPrDesc_t | prDesc | ) |
Action for node N8.
Start processing the first valid SID in the command
smDesc | the procedure descriptor |
Definition at line 234 of file CrPsCmd3s9PrgrFunc.c.
void CrPsCmd3s9PrgrN9 | ( | FwPrDesc_t | prDesc | ) |
Action for node N9.
Process the next valid SID in the command
smDesc | the procedure descriptor |
Definition at line 253 of file CrPsCmd3s9PrgrFunc.c.