CORDET Framework - C2 Implementation
CrPsLptCreate.h
Go to the documentation of this file.
1 
36 #ifndef CRPSLPT_H_
37 #define CRPSLPT_H_
38 
40 #include "FwSmConstants.h"
41 
43 #define CrPsLpt_DOWN_TRANSFER (1) /* The identifier of state DOWN_TRANSFER in State Machine CrPsLpt */
44 #define CrPsLpt_INACTIVE (2) /* The identifier of state INACTIVE in State Machine CrPsLpt */
45 #define CrPsLpt_UP_TRANSFER (3) /* The identifier of state UP_TRANSFER in State Machine CrPsLpt */
46 
48 #define Execute (0)
49 #define Abort (18)
50 #define StartDownTransfer (19)
51 #define StartUpTransfer (20)
52 #define EndUpTransfer (21)
53 
62 FwSmDesc_t CrPsLptCreate(void* smData);
63 
73 void CrPsLptDownTransferEntryAction(FwSmDesc_t smDesc);
74 
83 void CrPsLptDownTransferExitAction(FwSmDesc_t smDesc);
84 
97 void CrPsLptDownTransferDoAction(FwSmDesc_t smDesc);
98 
107 void CrPsLptUpTransferEntryAction(FwSmDesc_t smDesc);
108 
114 void CrPsLptUpTransferExitAction(FwSmDesc_t smDesc);
115 
121 void CrPsLptUpTransferDoAction(FwSmDesc_t smDesc);
122 
131 void CrPsLptGenerateAbortEvent(FwSmDesc_t smDesc);
132 
139 FwSmBool_t CrPsLptIsTransferFinished(FwSmDesc_t smDesc);
140 
146 void CrPsLptLoadReport(FwSmDesc_t smDesc);
147 
154 FwSmBool_t CrPsLptIsFailed(FwSmDesc_t smDesc);
155 
161 void CrPsLptInitialization(FwSmDesc_t smDesc);
162 
163 #endif /* CrPsLptCreate_H_ */
FwSmBool_t CrPsLptIsTransferFinished(FwSmDesc_t smDesc)
Guard on the transition from DOWN_TRANSFER to INACTIVE.
Definition: CrPsLptFunc.c:238
void CrPsLptDownTransferExitAction(FwSmDesc_t smDesc)
Exit Action for the state DOWN_TRANSFER.
Definition: CrPsLptFunc.c:83
FwSmBool_t CrPsLptIsFailed(FwSmDesc_t smDesc)
Guard on the transition from UP_TRANSFER to INACTIVE.
Definition: CrPsLptFunc.c:281
void CrPsLptUpTransferDoAction(FwSmDesc_t smDesc)
Do Action for the state UP_TRANSFER.
Definition: CrPsLptFunc.c:179
void CrPsLptDownTransferEntryAction(FwSmDesc_t smDesc)
Entry Action for the state DOWN_TRANSFER.
Definition: CrPsLptFunc.c:58
void CrPsLptUpTransferExitAction(FwSmDesc_t smDesc)
Exit Action for the state UP_TRANSFER.
Definition: CrPsLptFunc.c:216
void CrPsLptLoadReport(FwSmDesc_t smDesc)
Action on the transition from UP_TRANSFER to INACTIVE.
Definition: CrPsLptFunc.c:257
FwSmDesc_t CrPsLptCreate(void *smData)
Create a new state machine descriptor.
Definition: CrPsLptCreate.c:34
void CrPsLptInitialization(FwSmDesc_t smDesc)
Action on the transition from Initial State to INACTIVE.
Definition: CrPsLptFunc.c:295
void CrPsLptGenerateAbortEvent(FwSmDesc_t smDesc)
Action on the transition from DOWN_TRANSFER to INACTIVE.
Definition: CrPsLptFunc.c:227
void CrPsLptDownTransferDoAction(FwSmDesc_t smDesc)
Do Action for the state DOWN_TRANSFER.
Definition: CrPsLptFunc.c:99
void CrPsLptUpTransferEntryAction(FwSmDesc_t smDesc)
Entry Action for the state UP_TRANSFER.
Definition: CrPsLptFunc.c:163
P&P Software GmbH, Copyright 2012-2013, All Rights Reserved