28 #include "FwPrConstants.h" 29 #include "FwPrDCreate.h" 30 #include "FwPrConfig.h" 32 #include "FwSmConfig.h" 35 #include <CrFwCmpData.h> 49 static FwSmDesc_t
rep;
101 pckt = cmpSpecificData->
pckt;
106 prData = FwPrGetData(prDesc);
108 smDesc = prData->smDesc;
113 inPckt = inSpecificData->
pckt;
Type for the Framework Component Data (FCD).
CrFwDestSrc_t CrFwPcktGetSrc(CrFwPckt_t pckt)
Return the source of the command or report encapsulated in a packet.
#define CRFW_UNUSED(x)
A macro that can be used to specify that a function parameter is not used.
void CrPsCmdPrgrSuccN2(FwPrDesc_t prDesc)
Action for node N2.
static FwSmDesc_t rep
CrPsCmdPrgrSucc function definitions.
Definition of the OutFactory component.
Type for the data describing an OutComponent.
CrFwPckt_t pckt
Packet holding the InCommand.
unsigned char CrFwDestSrc_t
Type used for the command or report destination and source.
Header file to define all service and packet identifiers.
CrFwPckt_t pckt
Packet to which the out-going command or report is serialized.
Interface for creating and accessing a report or command packet.
Create one instance of the CrPsCmdPrgrSucc procedure.
static void setVerSuccessPrgrRepStepId(void *p, CrPsStepId_t StepId)
Set "StepId" in "VerSuccessPrgrRep" packet.
#define CRPS_REQVERIF_PROG_SUCC
Subtype identifier of the Request Verification Progress Successful out-going report packet...
uint32_t CrPsStepId_t
Type used for the Step ID of a packet.
void CrPsCmdPrgrSuccN4(FwPrDesc_t prDesc)
Action for node N4.
void CrFwOutLoaderLoad(FwSmDesc_t outCmp)
Load an OutComponent into its OutManager.
Interface for accessing fields in packets of service "ServReqVerif".
The Outfactory failed to make the component (see CrPsRepErr.h)
CrPsRepErrCode_t
Identifier for the errors reported through the error reporting interface of CrFwRepErr.h.
generic Interface for accessing fields in packets.
void * cmpSpecificData
Derived data which are specific to each type of framework component.
void CrPsCmdPrgrSuccN3(FwPrDesc_t prDesc)
Action for node N3.
FwPrBool_t CrPsCmdPrgrSuccG1(FwPrDesc_t prDesc)
Guard on the Control Flow from DECISION2 to N3.
void CrPsRepErr(CrPsRepErrCode_t errCode, CrFwServType_t repType, CrFwServSubType_t repSubType, CrFwDiscriminant_t repDiscriminant)
Report an error which has no parameters attached to it.
Interface for reporting an error detected by a PUS Extension component.
void setVerSuccessPrgrRepRid(void *p, CrPsRid_t Rid)
Set "RequestId" in a "VerSuccessPrgrRep" packet.
auxiliary Interface for accessing fields in packets of service "ServReqVerif".
char * CrFwPckt_t
Type for packets (see CrFwPckt.h).
Definition of the OutComponent Component of the framework.
static CrPsRid_t getPcktRid(void *p)
Getter for the RequestId from a packet.
void CrFwOutCmpSetDest(FwSmDesc_t smDesc, CrFwDestSrc_t dest)
Set the destination of the OutComponent.
Type for the data describing an InCommand.
Definition of the OutLoader component.
FwSmDesc_t CrFwOutFactoryMakeOutCmp(CrFwServType_t type, CrFwServSubType_t subType, CrFwDiscriminant_t discriminant, CrFwPcktLength_t length)
Make function for an OutComponent.
#define CRPS_REQVERIF
Type identifier of the Request Verification Service.