61 #ifndef CRFW_INSTREAM_H_ 62 #define CRFW_INSTREAM_H_ 65 #include "FwSmConstants.h" 66 #include "FwPrConstants.h" unsigned char CrFwCounterU1_t
Type used for unsigned integers with a "short" range.
unsigned short CrFwInstanceId_t
Type used for instance identifiers.
CrFwDestSrc_t CrFwInStreamGetSrc(FwSmDesc_t smDesc)
Get the currently defined packet source of an InStream.
void CrFwInStreamDefShutdownAction(FwSmDesc_t smDesc)
Default shutdown action for an InStream.
CrFwBool_t CrFwInStreamIsInPcktAvail(FwSmDesc_t smDesc)
Return true if the argument InStream is in state PCKT_AVAIL.
unsigned char * CrFwPckt_t
Type for packets (see CrFwPckt.h).
CrFwCounterU1_t CrFwInStreamGetPcktQueueSize(FwSmDesc_t smDesc)
Return the size of the packet queue of the InStream.
void CrFwInStreamSetSeqCnt(FwSmDesc_t smDesc, CrFwGroup_t group, CrFwSeqCnt_t seqCnt)
Overwrites the sequence counter value of the last packet for a group.
int CrFwBool_t
Type used for boolean values (1 represent "true" and 0 represents "false").
unsigned char CrFwGroup_t
Type used for the destination or source group of a packet.
Header file to define all invariant publicly available constants and types for the CORDET Framework...
CrFwGroup_t CrFwInStreamGetNOfGroups(FwSmDesc_t smDesc)
Return the number of groups associated to the InStream.
unsigned char CrFwDestSrc_t
Type used for the command or report destination and source.
void CrFwInStreamDefConfigAction(FwPrDesc_t prDesc)
Default configuration action for an InStream.
CrFwSeqCnt_t CrFwInStreamGetSeqCnt(FwSmDesc_t smDesc, CrFwGroup_t group)
Return the value of the sequence counter of the last packet successfully collected by the InStream fo...
CrFwPckt_t CrFwInStreamGetPckt(FwSmDesc_t smDesc)
Retrieve a packet from the InStream.
CrFwCounterU1_t CrFwInStreamGetNOfPendingPckts(FwSmDesc_t smDesc)
Return the number of packets currently in the packet queue of an InStream.
Definition and management of packet queues.
FwSmDesc_t CrFwInStreamMake(CrFwInstanceId_t inStreamId)
Factory function to retrieve the i-th InStream State Machine instance.
void CrFwInStreamDefInitAction(FwPrDesc_t prDesc)
Default initialization action for an InStream.
Header file to define all user-configurable constants and types for the CORDET Framework (the non-con...
void CrFwInStreamPcktAvail(FwSmDesc_t smDesc)
Query the middleware for available packets and collect them if they are available.
CrFwBool_t CrFwInStreamIsInWaiting(FwSmDesc_t smDesc)
Return true if the argument InStream is in state WAITING.
FwSmDesc_t CrFwInStreamGet(CrFwDestSrc_t src)
Getter function for the InStream corresponding to the argument source.
unsigned int CrFwSeqCnt_t
Type used for the sequence counter of commands or reports.