33 #include "FwPrConfig.h"
34 #include "FwPrDCreate.h"
35 #include "FwSmConfig.h"
36 #include "FwSmDCreate.h"
Definition of Base Component.
Definition of the Framework Component Data (FCD) Type.
Header file to define all invariant publicly available constants and types for the CORDET Framework.
unsigned char * CrFwPckt_t
Type for packets (see CrFwPckt.h).
int CrFwBool_t
Type used for boolean values (1 represent "true" and 0 represents "false").
Dummy Component Execution Procedure (CEP) for the Base Component.
CrFwPckt_t CrFwInCmdGetPcktFromPrDesc(FwPrDesc_t prDesc)
Convenience function to extract the InCommand's packet from the descriptor of the InCommand's reset p...
void CrFwInCmdSetProgressActionCompleted(FwSmDesc_t smDesc, CrFwBool_t progressActionCompleted)
Set the Completion Outcome of the progress action.
void CrFwInCmdSetProgressStepId(FwSmDesc_t smDesc, CrFwProgressStepId_t stepId)
Set the progress step identifier of the InCommand.
CrFwProgressStepId_t CrFwInCmdGetProgressStepId(FwSmDesc_t smDesc)
Return the progress step identifier of the InCommand.
Definition of the InCommand Component of the framework.
static CrFwOutcome_t progressCompletionOutcome
The Progress Action Completion Outcome.
static CrFwOutcome_t startOutcome
The Start Action Outcome.
void CrFwInCmdSample1SetReadyFlag(CrFwBool_t flag)
Set the value of the Ready Flag (see CrFwInCmdSample1ReadyCheck).
static CrFwCounterU1_t progressCounter
The Progress Action Counter.
CrFwCounterU1_t CrFwInCmdSample1GetStartActionCounter()
Get the value of the Start Action Counter (see CrFwInCmdSample1StartAction).
CrFwCounterU1_t CrFwInCmdSample1GetAbortActionCounter()
Get the value of the Abort Action Counter (see CrFwInCmdSample1AbortAction).
static CrFwOutcome_t terminationOutcome
The Termination Action Outcome.
static CrFwCounterU1_t terminationCounter
The Termination Action Counter.
static CrFwBool_t readyFlag
The Ready Flag.
void CrFwInCmdSample1ProgressAction(FwSmDesc_t smDesc)
Implementation of the Progress Action Operation for the Sample 1 InCommand.
CrFwBool_t CrFwInCmdSample1ReadyCheck(FwSmDesc_t smDesc)
Implementation of the Ready Check Operation for the Sample 1 InCommand.
void CrFwInCmdSample1SetProgressActionCompletionOutcome(CrFwOutcome_t outcome)
Set the value of the Progress Action Completion Outcome (see CrFwInCmdSample1ProgressAction).
CrFwBool_t CrFwInCmdSample1ValidityCheck(FwPrDesc_t prDesc)
Implementation of the Validity Check Operation for the Sample 1 InCommand.
static CrFwCounterU1_t abortCounter
The abort Action Counter.
CrFwCounterU1_t CrFwInCmdSample1GetTerminationActionCounter()
Get the value of the Termination Action Counter (see CrFwInCmdSample1TerminationAction).
static CrFwCounterU1_t startCounter
The Start Action Counter.
void CrFwInCmdSample1StartAction(FwSmDesc_t smDesc)
Implementation of the Start Action Operation for the Sample 1 InCommand.
void CrFwInCmdSample1SetProgressActionOutcome(CrFwOutcome_t outcome)
Set the value of the Progress Action Outcome (see CrFwInCmdSample1ProgressAction).
static CrFwOutcome_t abortOutcome
The Abort Action Outcome.
void CrFwInCmdSample1SetStartActionOutcome(CrFwOutcome_t outcome)
Set the value of the Start Action Outcome Counter (see CrFwInCmdSample1StartAction).
static CrFwBool_t progressStepFlag
The Progress Step Flag.
void CrFwInCmdSample1SetTerminationActionOutcome(CrFwOutcome_t outcome)
Set the value of the Termination Action Outcome Counter (see CrFwInCmdSample1TerminationAction).
static CrFwOutcome_t progressOutcome
The Progress Action Outcome.
CrFwServType_t CrFwInCmdSample1GetType()
Set the value of the Validity Flag (see CrFwInCmdSample1ValidityCheck).
void CrFwInCmdSample1TerminationAction(FwSmDesc_t smDesc)
Implementation of the Termination Action Operation for the Sample 1 InCommand.
void CrFwInCmdSample1AbortAction(FwSmDesc_t smDesc)
Implementation of the Abort Action Operation for the Sample 1 InCommand.
static CrFwBool_t validityFlag
The Validity Flag.
static CrFwServType_t servType
The InCommand type as computed in the Validity Check.
CrFwCounterU1_t CrFwInCmdSample1GetProgressActionCounter()
Get the value of the Progress Action Counter (see CrFwInCmdSample1ProgressAction).
void CrFwInCmdSample1SetAbortActionOutcome(CrFwOutcome_t outcome)
Set the value of the Abort Action Outcome Counter (see CrFwInCmdSample1AbortAction).
void CrFwInCmdSample1SetProgressStepFlag(CrFwBool_t flag)
Sets the progress step flag used by the progress action of the sample InCommand (if the flag is set,...
void CrFwInCmdSample1SetValidityFlag(CrFwBool_t flag)
Set the value of the Validity Flag (see CrFwInCmdSample1ValidityCheck).
Component Initialization Procedure (CIP) for the Base Component.
Definition of the OutFactory component.
Interface for creating and accessing a report or command packet.
CrFwServType_t CrFwPcktGetServType(CrFwPckt_t pckt)
Return the service type of the command or report encapsulated in a packet.
Component Reset Procedure (CRP) for the Base Component.
unsigned char CrFwOutcome_t
Type used for the outcome of a check (see CrFwCmpData).
unsigned short CrFwProgressStepId_t
Type for the Progress Step Identifier of an InCommand.
unsigned char CrFwServType_t
Type used for the service type of a command or report.
unsigned char CrFwCounterU1_t
Type used for unsigned integers with a "short" range.
void CrFwSetSmOutcome(FwSmDesc_t smDesc, CrFwOutcome_t outcome)
Convenience function to set the outcome of the last check or action of a state machine.
Definition of the utility functions for the CORDET Framework.