CORDET Framework - C2 Implementation
CrFwOutFactory.h
Go to the documentation of this file.
1 
58 #ifndef CRFW_OUTFACTORY_H_
59 #define CRFW_OUTFACTORY_H_
60 
61 /* Include Framework files */
62 #include "CrFwConstants.h"
63 /* Include FW Profile files */
64 #include "FwSmConstants.h"
65 #include "FwSmCore.h"
66 
74 FwSmDesc_t CrFwOutFactoryMake();
75 
166  CrFwDiscriminant_t discriminant, CrFwPcktLength_t length);
167 
184 void CrFwOutFactoryReleaseOutCmp(FwSmDesc_t outCmpInstance);
185 
194 
200 
208 
209 #endif /* CRFW_OUTFACTORY_H_ */
Header file to define all invariant publicly available constants and types for the CORDET Framework.
CrFwInstanceId_t CrFwOutFactoryGetNOfInstanceId()
Return the number of distinct instance identifiers supported by the OutFactory.
CrFwOutFactoryPoolIndex_t CrFwOutFactoryGetNOfAllocatedOutCmp()
Return the number of OutComponents which are currently allocated.
FwSmDesc_t CrFwOutFactoryMakeOutCmp(CrFwServType_t type, CrFwServSubType_t subType, CrFwDiscriminant_t discriminant, CrFwPcktLength_t length)
Make function for an OutComponent.
FwSmDesc_t CrFwOutFactoryMake()
Factory function for the singleton instance of the OutFactory.
void CrFwOutFactoryReleaseOutCmp(FwSmDesc_t outCmpInstance)
Release function for an OutComponent.
CrFwOutFactoryPoolIndex_t CrFwOutFactoryGetMaxNOfOutCmp()
Return the maximum number of OutComponents which may be allocated at any one time.
unsigned char CrFwServType_t
Type used for the service type of a command or report.
unsigned short CrFwDiscriminant_t
Type used for the discriminant of a command or report.
unsigned short int CrFwPcktLength_t
Type for the packet length.
unsigned char CrFwOutFactoryPoolIndex_t
Type for the index in the pool of pre-allocated OutComponents in the OutFactory (see CrFwOutFactory....
unsigned short CrFwInstanceId_t
Type used for instance identifiers.
unsigned char CrFwServSubType_t
Type used for the command or report sub-type.
P&P Software GmbH, Copyright 2012-2013, All Rights Reserved