34 #include "FwPrConfig.h" 35 #include "FwPrDCreate.h" 36 #include "FwSmConfig.h" 37 #include "FwSmDCreate.h" 107 if (cmpSpecificData->
isValid(prDesc) == 1)
117 return cmpSpecificData->
pckt;
124 return cmpSpecificData->
pckt;
CrFwPcktLength_t CrFwInRepGetParLength(FwSmDesc_t smDesc)
Return the length in bytes of the parameter area of the InReport.
Type for the Framework Component Data (FCD).
CrFwOutcome_t outcome
The outcome of an action or check executed by a state machine or by one of its procedures.
Definition of the Framework Component Data (FCD) Type.
unsigned char * CrFwPckt_t
Type for packets (see CrFwPckt.h).
CrFwPckt_t CrFwPcktGetParStart(CrFwPckt_t pckt)
Return the start address of the packet's parameter area.
CrFwServType_t CrFwPcktGetServType(CrFwPckt_t pckt)
Return the service type of the command or report encapsulated in a packet.
CrFwDestSrc_t CrFwPcktGetSrc(CrFwPckt_t pckt)
Return the source of the command or report encapsulated in a packet.
CrFwSeqCnt_t CrFwPcktGetSeqCnt(CrFwPckt_t pckt)
Return the sequence counter of the command or report encapsulated in a packet.
Definition of the OutFactory component.
CrFwSeqCnt_t CrFwInRepGetSeqCnt(FwSmDesc_t smDesc)
Return the sequence counter of the InReport.
CrFwServType_t CrFwInRepGetServSubType(FwSmDesc_t smDesc)
Return the sub-type of the InReport.
void CrFwInRepConfigCheck(FwPrDesc_t prDesc)
Configuration check for an InReport.
Type for the data describing an InReport.
Interface for creating and accessing a report or command packet.
CrFwCrc_t CrFwPcktGetCrc(CrFwPckt_t pckt)
Return the CRC of the command or report encapsulated in a packet.
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 pckt
Packet holding the InReport.
unsigned char CrFwGroup_t
Type used for the destination or source group of a packet.
CrFwGroup_t CrFwInRepGetGroup(FwSmDesc_t smDesc)
Return the group of the InReport.
CrFwCrc_t CrFwPcktComputeCrc(CrFwPckt_t pckt)
Compute the CRC in the command or report encapsulated in a packet.
Header file to define all invariant publicly available constants and types for the CORDET Framework...
unsigned short CrFwDiscriminant_t
Type used for the discriminant of a command or report.
unsigned char CrFwDestSrc_t
Type used for the command or report destination and source.
Interface for reporting an error detected by a framework component.
static CrFwCmpData_t inRepData[CR_FW_INFACTORY_MAX_NOF_INREP]
The base data for the pre-allocated InReport instances.
Definition of the InReport Component of the framework.
CrFwPckt_t CrFwInRepGetParStart(FwSmDesc_t smDesc)
Return the start address of the parameter area of the InReport.
CrFwDiscriminant_t CrFwPcktGetDiscriminant(CrFwPckt_t pckt)
Return the discriminant of the command or report encapsulated in a packet.
void * cmpSpecificData
Derived data which are specific to each type of framework component.
CrFwPckt_t CrFwInRepGetPckt(FwSmDesc_t smDesc)
Return the pointer to the packet which holds the InReport.
CrFwBool_t CrFwInRepDefValidityCheck(FwPrDesc_t prDesc)
Default implementation of the validity check of an InReport.
Definition of the utility functions for the CORDET Framework.
CrFwServSubType_t CrFwPcktGetServSubType(CrFwPckt_t pckt)
Return the service sub-type of the command or report encapsulated in a packet.
CrFwServType_t CrFwInRepGetServType(FwSmDesc_t smDesc)
Return the type of the InReport.
Definition of Base Component.
Component Initialization Procedure (CIP) for the Base Component.
CrFwDestSrc_t CrFwInRepGetSrc(FwSmDesc_t smDesc)
Return the source of the InReport.
CrFwGroup_t CrFwPcktGetGroup(CrFwPckt_t pckt)
Return the group of the command/report encapsulated in a packet.
unsigned short int CrFwPcktLength_t
Type for the packet length.
CrFwPcktLength_t CrFwPcktGetParLength(CrFwPckt_t pckt)
Return the length in bytes of the packet's parameter area.
CrFwInRepValidityCheck_t isValid
Function which implements the Validity Check for the InReport.
unsigned char CrFwServType_t
Type used for the service type of a command or report.
CrFwDiscriminant_t CrFwInRepGetDiscriminant(FwSmDesc_t smDesc)
Return the discriminant of the InReport.
unsigned int CrFwSeqCnt_t
Type used for the sequence counter of commands or reports.
Component Reset Procedure (CRP) for the Base Component.
CrFwPckt_t CrFwInRepGetPcktFromPrDesc(FwPrDesc_t prDesc)
Convenience function to extract the InReport's packet from the descriptor of the InReport's execution...