CORDET Framework - C2 Implementation
pustests/CrFwInStreamStub.h
1 
27 #ifndef CRFW_INSTREAMSTUB_H_
28 #define CRFW_INSTREAMSTUB_H_
29 
30 /* Include Framework Files */
31 #include "CrFwConstants.h"
32 /* Include Configuration Files */
33 #include "CrFwUserConstants.h"
34 /* Include FW Profile files */
35 #include "FwSmConstants.h"
36 #include "FwSmConfig.h"
37 #include "FwSmCore.h"
38 #include "FwPrConfig.h"
39 #include "FwPrCore.h"
40 #include "FwPrConstants.h"
41 
68 
78 
88 void CrFwInStreamStubShutdown(FwSmDesc_t smDesc);
89 
97 void CrFwInStreamStubDummyCheck(FwPrDesc_t prDesc);
98 
105 
122 void CrFwInStreamStubInitAction(FwPrDesc_t prDesc);
123 
135 void CrFwInStreamStubConfigAction(FwPrDesc_t prDesc);
136 
143 
150 
157 
164 
174 
180 
187 
194 
204 
211 
212 #endif /* CRFW_INSTREAMSTUB_H_ */
void CrFwInStreamStubSetPcktAckLevel(CrFwBool_t acc, CrFwBool_t str, CrFwBool_t prg, CrFwBool_t trm)
Set the value of the acknowledge level of the next packet collected (see CrFwInStreamStubPcktCollect)...
void CrFwInStreamStubShutdown(FwSmDesc_t smDesc)
Stub function implementing the shutdown operation for an InStream (see CrFwInStream.h).
static CrFwServSubType_t servSubType
Service sub-type.
void CrFwInStreamStubConfigAction(FwPrDesc_t prDesc)
Dummy implementation of a configuration action.
unsigned char CrFwServSubType_t
Type used for the command or report sub-type.
unsigned char CrFwGroup_t
Type used for the destination or source group of a packet.
void CrFwInStreamStubSetCheckFlag(CrFwBool_t flag)
Set the value of the check flag which determines the outcome of the dummy check of CrFwInStreamStubDu...
unsigned short CrFwInstanceId_t
Type used for instance identifiers.
unsigned char CrFwDestSrc_t
Type used for the command or report destination and source.
CrFwCmdRepType_t
Enumerated type for command and reports.
Definition: CrFwConstants.h:39
int CrFwBool_t
Type used for boolean values (1 represent "true" and 0 represents "false").
Definition: CrFwConstants.h:30
unsigned char CrFwServType_t
Type used for the service type of a command or report.
void CrFwInStreamStubInitAction(FwPrDesc_t prDesc)
Dummy implementation of an initialization action.
Header file to define all invariant publicly available constants and types for the CORDET Framework...
CrFwPckt_t CrFwInStreamStubPcktCollect(CrFwDestSrc_t src)
Stub function implementing the packet collect operation for the InStream (see CrFwInStream.h).
void CrFwInStreamStubSetPcktCmdRepType(CrFwCmdRepType_t type)
Set the type (command or report) of the next packet collected (see CrFwInStreamStubPcktCollect).
static CrFwDiscriminant_t disc
Discriminant.
CrFwBool_t CrFwInStreamStubIsPcktAvail(CrFwDestSrc_t src)
Stub function implementing the packet available check operation for the InStream (see CrFwInStream...
CrFwCounterU1_t CrFwInStreamStubGetShutdownCnt()
Get the value of the shutdown counter (see CrFwInStreamStubShutdown).
unsigned short CrFwDiscriminant_t
Type used for the discriminant of a command or report.
static CrFwServType_t servType
Service type.
static CrFwDestSrc_t dest
Destination.
void CrFwInStreamStubSetPcktType(CrFwServType_t sType, CrFwServSubType_t sSubType, CrFwDiscriminant_t d)
Set the value of the service type, sub-type and discriminant of the next packet collected (see CrFwIn...
void CrFwInStreamStubSetPcktCollectionCnt(CrFwCounterU1_t cnt)
Set the value of the packet collection counter which defines the number of packets available at the m...
void CrFwInStreamStubSetPcktSeqCnt(CrFwSeqCnt_t cnt)
Set the value of the sequence counter of the next packet collected (see CrFwInStreamStubPcktCollect)...
void CrFwInStreamStubSetPcktDest(CrFwDestSrc_t d)
Set the value of the destination of the next packet collected (see CrFwInStreamStubPcktCollect).
char * CrFwPckt_t
Type for packets (see CrFwPckt.h).
Definition: CrFwConstants.h:36
void CrFwInStreamStubSetPcktCmdRepId(CrFwInstanceId_t id)
Set the value of the command or report identifier of the next packet collected (see CrFwInStreamStubP...
void CrFwInStreamStubSetActionFlag(CrFwBool_t flag)
Set the value of the action flag which determines the outcome of the initialization or configuration ...
void CrFwInStreamStubSetPcktGroup(CrFwGroup_t group)
Set the value of the group of the next packet collected (see CrFwInStreamStubPcktCollect).
void CrFwInStreamStubDummyCheck(FwPrDesc_t prDesc)
Dummy implementation of an initialization or configuration check.
unsigned char CrFwCounterU1_t
Type used for unsigned integers with a "short" range.
unsigned int CrFwSeqCnt_t
Type used for the sequence counter of commands or reports.
static CrFwCmdRepType_t cmdRepType
Destination.
P&P Software GmbH, Copyright 2012-2013, All Rights Reserved