CORDET Framework - C2 Implementation

Create one instance of the CrPsCmd3s1Start procedure. More...

Go to the source code of this file.

Macros

#define CrPsCmd3s1Start_N1   (1) /* The identifier of action node N1 in procedure CrPsCmd3s1Start */
 Make sure to include this header file only once. More...
 
#define CrPsCmd3s1Start_N2   (2) /* The identifier of action node N2 in procedure CrPsCmd3s1Start */
 
#define CrPsCmd3s1Start_N3   (3) /* The identifier of action node N3 in procedure CrPsCmd3s1Start */
 
#define CrPsCmd3s1Start_N4   (4) /* The identifier of action node N4 in procedure CrPsCmd3s1Start */
 
#define CrPsCmd3s1Start_N6   (5) /* The identifier of action node N6 in procedure CrPsCmd3s1Start */
 
#define CrPsCmd3s1Start_N7   (6) /* The identifier of action node N7 in procedure CrPsCmd3s1Start */
 
#define CrPsCmd3s1Start_N8   (7) /* The identifier of action node N8 in procedure CrPsCmd3s1Start */
 
#define CrPsCmd3s1Start_N9   (8) /* The identifier of action node N9 in procedure CrPsCmd3s1Start */
 
#define CrPsCmd3s1Start_N10   (9) /* The identifier of action node N10 in procedure CrPsCmd3s1Start */
 
#define CrPsCmd3s1Start_N11   (10) /* The identifier of action node N11 in procedure CrPsCmd3s1Start */
 

Functions

FwPrDesc_t CrPsCmd3s1StartCreate (void *prData)
 Create a new procedure descriptor. More...
 
void CrPsCmd3s1StartN1 (FwPrDesc_t prDesc)
 Action for node N1. More...
 
void CrPsCmd3s1StartN2 (FwPrDesc_t prDesc)
 Action for node N2. More...
 
void CrPsCmd3s1StartN3 (FwPrDesc_t prDesc)
 Action for node N3. More...
 
void CrPsCmd3s1StartN4 (FwPrDesc_t prDesc)
 Action for node N4. More...
 
void CrPsCmd3s1StartN6 (FwPrDesc_t prDesc)
 Action for node N6. More...
 
void CrPsCmd3s1StartN7 (FwPrDesc_t prDesc)
 Action for node N7. More...
 
void CrPsCmd3s1StartN8 (FwPrDesc_t prDesc)
 Action for node N8. More...
 
void CrPsCmd3s1StartN9 (FwPrDesc_t prDesc)
 Action for node N9. More...
 
void CrPsCmd3s1StartN10 (FwPrDesc_t prDesc)
 Action for node N10. More...
 
void CrPsCmd3s1StartN11 (FwPrDesc_t prDesc)
 Action for node N11. More...
 
FwPrBool_t CrPsCmd3s1StartG1 (FwPrDesc_t prDesc)
 Guard on the Control Flow from DECISION1 to N1. More...
 
FwPrBool_t CrPsCmd3s1StartG1E (FwPrDesc_t prDesc)
 Guard on the Control Flow from DECISION1 to DECISION2. More...
 
FwPrBool_t CrPsCmd3s1StartG2 (FwPrDesc_t prDesc)
 Guard on the Control Flow from DECISION2 to N8. More...
 
FwPrBool_t CrPsCmd3s1StartG2E (FwPrDesc_t prDesc)
 Guard on the Control Flow from DECISION2 to DECISION3. More...
 
FwPrBool_t CrPsCmd3s1StartG3 (FwPrDesc_t prDesc)
 Guard on the Control Flow from DECISION3 to N7. More...
 
FwPrBool_t CrPsCmd3s1StartG3E (FwPrDesc_t prDesc)
 Guard on the Control Flow from DECISION3 to DECISION4. More...
 
FwPrBool_t CrPsCmd3s1StartG4 (FwPrDesc_t prDesc)
 Guard on the Control Flow from DECISION4 to N9. More...
 
FwPrBool_t CrPsCmd3s1StartG4E (FwPrDesc_t prDesc)
 Guard on the Control Flow from DECISION4 to N2. More...
 
FwPrBool_t CrPsCmd3s1StartG5 (FwPrDesc_t prDesc)
 Guard on the Control Flow from DECISION5 to N3. More...
 
FwPrBool_t CrPsCmd3s1StartG5E (FwPrDesc_t prDesc)
 Guard on the Control Flow from DECISION5 to N4. More...
 
FwPrBool_t CrPsCmd3s1StartG6 (FwPrDesc_t prDesc)
 Guard on the Control Flow from DECISION6 to N6. More...
 
FwPrBool_t CrPsCmd3s1StartG6E (FwPrDesc_t prDesc)
 Guard on the Control Flow from DECISION6 to N11. More...
 

Detailed Description

Create one instance of the CrPsCmd3s1Start procedure.

Author
FW Profile code generator version 5.01
Date
Created on: Sep 6 2017 17:15:26
Author
Christian Reimers chris.nosp@m.tian.nosp@m..reim.nosp@m.ers@.nosp@m.univi.nosp@m.e.ac.nosp@m..at
Markus Rockenbauer marku.nosp@m.s.ro.nosp@m.ckenb.nosp@m.auer.nosp@m.@univ.nosp@m.ie.a.nosp@m.c.at

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 CrPsCmd3s1StartCreate.h.

Macro Definition Documentation

#define CrPsCmd3s1Start_N1   (1) /* The identifier of action node N1 in procedure CrPsCmd3s1Start */

Make sure to include this header file only once.

FW Profile function definitions Action node identifiers

Definition at line 32 of file CrPsCmd3s1StartCreate.h.

Function Documentation

FwPrDesc_t CrPsCmd3s1StartCreate ( void *  prData)

Create a new procedure descriptor.

This interface creates the procedure descriptor dynamically.

Parameters
prDatathe 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).
Returns
the pointer to the procedure descriptor

Create the procedure

Configure the procedure

Definition at line 79 of file CrPsCmd3s1StartCreate.c.

FwPrBool_t CrPsCmd3s1StartG1 ( FwPrDesc_t  prDesc)

Guard on the Control Flow from DECISION1 to N1.

There is no free slot in the RDL

Parameters
smDescthe procedure descriptor
Returns
1 if the guard is fulfilled, otherwise 0.

Definition at line 296 of file CrPsCmd3s1StartFunc.c.

FwPrBool_t CrPsCmd3s1StartG1E ( FwPrDesc_t  prDesc)

Guard on the Control Flow from DECISION1 to DECISION2.

Else

Parameters
smDescthe procedure descriptor
Returns
1 if the guard is fulfilled, otherwise 0.

Guard on the Control Flow from DECISION1 to DECISION2.

FW Profile function definitions CrPsCmd3s1Start function definitions Guard on the Control Flow from DECISION1 to DECISION2.

Definition at line 37 of file CrPsCmd3s1StartCreate.c.

FwPrBool_t CrPsCmd3s1StartG2 ( FwPrDesc_t  prDesc)

Guard on the Control Flow from DECISION2 to N8.

 One or more constraints listed 
in table 9.1 are not satisfied 
Parameters
smDescthe procedure descriptor
Returns
1 if the guard is fulfilled, otherwise 0.

Definition at line 323 of file CrPsCmd3s1StartFunc.c.

FwPrBool_t CrPsCmd3s1StartG2E ( FwPrDesc_t  prDesc)

Guard on the Control Flow from DECISION2 to DECISION3.

Else

Parameters
smDescthe procedure descriptor
Returns
1 if the guard is fulfilled, otherwise 0.

Definition at line 44 of file CrPsCmd3s1StartCreate.c.

FwPrBool_t CrPsCmd3s1StartG3 ( FwPrDesc_t  prDesc)

Guard on the Control Flow from DECISION3 to N7.

 The SID in the command
is laready in use 
Parameters
smDescthe procedure descriptor
Returns
1 if the guard is fulfilled, otherwise 0.

Definition at line 356 of file CrPsCmd3s1StartFunc.c.

FwPrBool_t CrPsCmd3s1StartG3E ( FwPrDesc_t  prDesc)

Guard on the Control Flow from DECISION3 to DECISION4.

Else

Parameters
smDescthe procedure descriptor
Returns
1 if the guard is fulfilled, otherwise 0.

Definition at line 51 of file CrPsCmd3s1StartCreate.c.

FwPrBool_t CrPsCmd3s1StartG4 ( FwPrDesc_t  prDesc)

Guard on the Control Flow from DECISION4 to N9.

 The same data item identifier
appears twice in the definition
of the new report 
Parameters
smDescthe procedure descriptor
Returns
1 if the guard is fulfilled, otherwise 0.

Definition at line 397 of file CrPsCmd3s1StartFunc.c.

FwPrBool_t CrPsCmd3s1StartG4E ( FwPrDesc_t  prDesc)

Guard on the Control Flow from DECISION4 to N2.

Else

Parameters
smDescthe procedure descriptor
Returns
1 if the guard is fulfilled, otherwise 0.

Definition at line 58 of file CrPsCmd3s1StartCreate.c.

FwPrBool_t CrPsCmd3s1StartG5 ( FwPrDesc_t  prDesc)

Guard on the Control Flow from DECISION5 to N3.

 Factory fails to
return the report 
Parameters
smDescthe procedure descriptor
Returns
1 if the guard is fulfilled, otherwise 0.

Definition at line 469 of file CrPsCmd3s1StartFunc.c.

FwPrBool_t CrPsCmd3s1StartG5E ( FwPrDesc_t  prDesc)

Guard on the Control Flow from DECISION5 to N4.

Esle

Parameters
smDescthe procedure descriptor
Returns
1 if the guard is fulfilled, otherwise 0.

Definition at line 65 of file CrPsCmd3s1StartCreate.c.

FwPrBool_t CrPsCmd3s1StartG6 ( FwPrDesc_t  prDesc)

Guard on the Control Flow from DECISION6 to N6.

Load Operation
is successful  
Parameters
smDescthe procedure descriptor
Returns
1 if the guard is fulfilled, otherwise 0.

Definition at line 486 of file CrPsCmd3s1StartFunc.c.

FwPrBool_t CrPsCmd3s1StartG6E ( FwPrDesc_t  prDesc)

Guard on the Control Flow from DECISION6 to N11.

Else

Parameters
smDescthe procedure descriptor
Returns
1 if the guard is fulfilled, otherwise 0.

Definition at line 72 of file CrPsCmd3s1StartCreate.c.

void CrPsCmd3s1StartN1 ( FwPrDesc_t  prDesc)

Action for node N1.

Set action outcome to 'failure'
with failure code VER_FULL_RDL
Parameters
smDescthe procedure descriptor

Definition at line 61 of file CrPsCmd3s1StartFunc.c.

void CrPsCmd3s1StartN10 ( FwPrDesc_t  prDesc)

Action for node N10.

Set action outcome to 'failure'
with failure code VER_REP_CR_FD
Parameters
smDescthe procedure descriptor

Definition at line 254 of file CrPsCmd3s1StartFunc.c.

void CrPsCmd3s1StartN11 ( FwPrDesc_t  prDesc)

Action for node N11.

Set action outcome to 'failure'
with falure code VER_OUTLOADER_FD
Parameters
smDescthe procedure descriptor

Definition at line 273 of file CrPsCmd3s1StartFunc.c.

void CrPsCmd3s1StartN2 ( FwPrDesc_t  prDesc)

Action for node N2.

Retrieve a report of type (3,25)
or (3,26) from the OutFactory
Parameters
smDescthe procedure descriptor

Definition at line 80 of file CrPsCmd3s1StartFunc.c.

void CrPsCmd3s1StartN3 ( FwPrDesc_t  prDesc)

Action for node N3.

 Generate error report
OUTFACTORY_FAIL
Parameters
smDescthe procedure descriptor

Definition at line 119 of file CrPsCmd3s1StartFunc.c.

void CrPsCmd3s1StartN4 ( FwPrDesc_t  prDesc)

Action for node N4.

Load the report in the OutLoader

Parameters
smDescthe procedure descriptor

Definition at line 133 of file CrPsCmd3s1StartFunc.c.

void CrPsCmd3s1StartN6 ( FwPrDesc_t  prDesc)

Action for node N6.

Set action
outcome to 'success'
Parameters
smDescthe procedure descriptor

Definition at line 159 of file CrPsCmd3s1StartFunc.c.

void CrPsCmd3s1StartN7 ( FwPrDesc_t  prDesc)

Action for node N7.

Set action outcome to 'failure'
with code VER_SID_IN_USE and load
SID in verFailData data pool item
Parameters
smDescthe procedure descriptor

Definition at line 178 of file CrPsCmd3s1StartFunc.c.

void CrPsCmd3s1StartN8 ( FwPrDesc_t  prDesc)

Action for node N8.

Set action outcome to 'failure'
with failure code VER_RDL_CONSTR and
load identifier of constraint in verFailData
Parameters
smDescthe procedure descriptor

Definition at line 210 of file CrPsCmd3s1StartFunc.c.

void CrPsCmd3s1StartN9 ( FwPrDesc_t  prDesc)

Action for node N9.

Set action outcome to 'failure'
with code VER_DUPL_DI and load
identiifer of duplicated DI in verFailData
Parameters
smDescthe procedure descriptor

Definition at line 232 of file CrPsCmd3s1StartFunc.c.

P&P Software GmbH, Copyright 2012-2013, All Rights Reserved