CORDET Framework - C2 Implementation
|
Create one instance of the CrPsCmdVerSucc procedure. More...
Go to the source code of this file.
Macros | |
#define | CrPsCmdVerSucc_N2 (1) /* The identifier of action node N2 in procedure CrPsCmdVerSucc */ |
Make sure to include this header file only once. More... | |
#define | CrPsCmdVerSucc_N3 (2) /* The identifier of action node N3 in procedure CrPsCmdVerSucc */ |
#define | CrPsCmdVerSucc_N4 (3) /* The identifier of action node N4 in procedure CrPsCmdVerSucc */ |
Functions | |
FwPrDesc_t | CrPsCmdVerSuccCreate (void *prData) |
Create a new procedure descriptor. More... | |
void | CrPsCmdVerSuccN2 (FwPrDesc_t prDesc) |
Action for node N2. More... | |
void | CrPsCmdVerSuccN3 (FwPrDesc_t prDesc) |
Action for node N3. More... | |
void | CrPsCmdVerSuccN4 (FwPrDesc_t prDesc) |
Action for node N4. More... | |
FwPrBool_t | CrPsCmdVerSuccG1 (FwPrDesc_t prDesc) |
Guard on the Control Flow from DECISION2 to N3. More... | |
Create one instance of the CrPsCmdVerSucc procedure.
This header file declares the function to create one instance of the CrPsCmdVerSucc 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 CrPsCmdVerSuccCreate.h.
#define CrPsCmdVerSucc_N2 (1) /* The identifier of action node N2 in procedure CrPsCmdVerSucc */ |
Make sure to include this header file only once.
FW Profile function definitions Action node identifiers
Definition at line 43 of file CrPsCmdVerSuccCreate.h.
FwPrDesc_t CrPsCmdVerSuccCreate | ( | 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 45 of file CrPsCmdVerSuccCreate.c.
FwPrBool_t CrPsCmdVerSuccG1 | ( | FwPrDesc_t | prDesc | ) |
Guard on the Control Flow from DECISION2 to N3.
OutFactory fails to generate OutComponent
smDesc | the procedure descriptor |
Definition at line 158 of file CrPsCmdVerSuccFunc.c.
void CrPsCmdVerSuccN2 | ( | FwPrDesc_t | prDesc | ) |
Action for node N2.
Retrieve an OutComponent of type (1,1), (1,3), or (1,7) from OutFactory
smDesc | the procedure descriptor |
Definition at line 55 of file CrPsCmdVerSuccFunc.c.
void CrPsCmdVerSuccN3 | ( | FwPrDesc_t | prDesc | ) |
Action for node N3.
Generate error report OUTFACTORY_FAIL
smDesc | the procedure descriptor |
Definition at line 73 of file CrPsCmdVerSuccFunc.c.
void CrPsCmdVerSuccN4 | ( | FwPrDesc_t | prDesc | ) |
Action for node N4.
Configure report and load it in the OutLoader
smDesc | the procedure descriptor |
Definition at line 89 of file CrPsCmdVerSuccFunc.c.