37 #include "FwSmConstants.h" 38 #include "FwSmDCreate.h" 39 #include "FwSmConfig.h" 41 #include "FwPrConstants.h" 42 #include "FwPrDCreate.h" 43 #include "FwPrConfig.h" 76 FwPrDesc_t resetPr, execPr, initPr;
111 FwPrSetData(outLoaderData.
initProc, &outLoaderData);
112 FwPrSetData(outLoaderData.
resetProc, &outLoaderData);
122 FwSmDesc_t selectedOutManager;
void(* CrFwOutManagerActivate_t)(FwSmDesc_t outManager)
Type for a pointer to a function implementing the OutManager Activation Operation.
Type for the Framework Component Data (FCD).
Interface through which framework components access the current time.
CrFwOutcome_t outcome
The outcome of an action or check executed by a state machine or by one of its procedures.
static FwPrAction_t initCheck
The function implementing the Initialization Check.
FwPrDesc_t CrFwCmpGetResetProc()
Retrieve the singleton instance of the CRP.
Definition of the Framework Component Data (FCD) Type.
#define CR_FW_OUTLOADER_OUTMANAGER_SELECT
The function implementing the OutManager Selection Operation for the OutLoader.
static FwSmAction_t shutdownAction
The function implementing the Shutdown Action.
static FwSmDesc_t outCmp[CR_FW_OUTFACTORY_MAX_NOF_OUTCMP]
The pre-allocated OutComponent instances.
#define CRFW_UNUSED(x)
A macro that can be used to specify that a function parameter is not used.
static CrFwCmpData_t outLoaderData
The data structure for the OutLoader Singleton.
static FwPrAction_t initAction
The function implementing the Initialization Action.
FwSmDesc_t(* CrFwOutManagerSelect_t)(FwSmDesc_t outCmp)
Type for a pointer to a function implementing the OutManager Selection Operation. ...
void CrFwBaseCmpDefConfigCheck(FwPrDesc_t prDesc)
Function which performs the default Configuration Check of the CRP.
#define CR_FW_OUTLOADER_SHUTDOWNACTION
The function implementing the Shutdown Action of the OutLoader component.
static FwSmDesc_t outLoader
Descriptor of the OutLoader Singleton.
FwSmDesc_t CrFwOutManagerMake(CrFwInstanceId_t i)
Factory function to retrieve the i-th OutManager State Machine instance.
Interface for creating and accessing a report or command packet.
void CrFwBaseCmpDefShutdownAction(FwSmDesc_t smDesc)
Function which performs the Shutdown Action for the Base State Machine.
int CrFwBool_t
Type used for boolean values (1 represent "true" and 0 represents "false").
FwPrDesc_t resetProc
The Component Reset Procedure (CRP) (see CrFwResetProc.h).
Dummy Component Execution Procedure (CEP) for the Base Component.
void CrFwOutLoadDefOutManagerActivate(FwSmDesc_t outManager)
Default implementation of the OutManager Activation Operation.
Header file to define all invariant publicly available constants and types for the CORDET Framework...
void CrFwBaseCmpDefInitCheck(FwPrDesc_t prDesc)
Function which performs the default Initialization Check of the CIP.
#define CR_FW_OUTLOADER_TYPE
Type identifier for the OutLoader component.
CrFwInstanceId_t instanceId
The instance identifier of the framework component.
void CrFwBaseCmpDefInitAction(FwPrDesc_t prDesc)
Function which performs the default Initialization Action of the CIP.
Interface for reporting an error detected by a framework component.
static CrFwOutManagerActivate_t outManagerActivate
The function implementing the OutManager Activation Operation.
static CrFwOutManagerSelect_t outManagerSelect
The function implementing the OutManager Selection Operation.
Definition and management of packet queues.
FwSmDesc_t CrFwOutLoaderMake()
Factory function to retrieve the OutLoader State Machine instance.
void CrFwBaseCmpDefConfigAction(FwPrDesc_t prDesc)
Function which performs the default Configuration Action of the CRP.
User-modifiable parameters for the OutLoader component (see CrFwOutLoader.h).
Definition of the utility functions for the CORDET Framework.
static FwPrAction_t configAction
The function implementing the Configuration Action.
FwPrDesc_t execProc
The Component Execution Procedure (CEP) (see CrFwBaseCmp.h).
FwSmDesc_t CrFwBaseCmpMake()
Retrieve the singleton instance of the Base State Machine.
FwPrDesc_t CrFwBaseCmpGetDummyExecProc()
Retrieve the singleton instance of the Dummy CEP.
static FwPrAction_t configCheck
The function implementing the Configuration Check.
#define CR_FW_OUTLOADER_INITCHECK
The function implementing the Initialization Check of the OutLoader component.
#define CR_FW_OUTLOADER_CONFIGACTION
The function implementing the Configuration Action of the OutLoader component.
Definition of Base Component.
Component Initialization Procedure (CIP) for the Base Component.
FwSmDesc_t CrFwOutLoaderDefOutManagerSelect(FwSmDesc_t outCmp)
Default implementation of the OutManager Selection Operation.
Definition of the OutManager component.
CrFwTypeId_t typeId
The type identifier of the framework component.
#define CR_FW_OUTLOADER_INITACTION
The function implementing the Initialization Action of the OutLoader component.
#define CR_FW_OUTLOADER_OUTMANAGER_ACTIVATE
The function implementing the OutManager Activation Operation for the OutLoader.
CrFwBool_t CrFwOutLoaderLoad(FwSmDesc_t outCmp)
Load an OutComponent into its OutManager.
Definition of the OutLoader component.
FwPrDesc_t CrFwCmpGetInitProc()
Retrieve the singleton instance of the CIP.
CrFwBool_t CrFwOutManagerLoad(FwSmDesc_t smDesc, FwSmDesc_t outCmp)
Load a new OutComponent into the OutManager.
Component Reset Procedure (CRP) for the Base Component.
FwPrDesc_t initProc
The Component Initialization Procedure (CIP) (see CrFwInitProc.h).
#define CR_FW_OUTLOADER_CONFIGCHECK
The function implementing the Configuration Check of the OutLoader component.