CORDET Framework - C2 Implementation
CrFwInFactory.h
Go to the documentation of this file.
1 
67 #ifndef CRFW_INFACTORY_H_
68 #define CRFW_INFACTORY_H_
69 
70 /* Include Framework files */
71 #include "CrFwConstants.h"
72 /* Include FW Profile files */
73 #include "FwSmConstants.h"
74 #include "FwSmCore.h"
75 
83 FwSmDesc_t CrFwInFactoryMake();
84 
120 FwSmDesc_t CrFwInFactoryMakeInRep(CrFwPckt_t pckt);
121 
160 FwSmDesc_t CrFwInFactoryMakeInCmd(CrFwPckt_t pckt);
161 
178 void CrFwInFactoryReleaseInRep(FwSmDesc_t inRepInstance);
179 
196 void CrFwInFactoryReleaseInCmd(FwSmDesc_t inCmdInstance);
197 
206 
212 
221 
227 
228 #endif /* CRFW_INFACTORY_H_ */
Header file to define all invariant publicly available constants and types for the CORDET Framework.
unsigned char * CrFwPckt_t
Type for packets (see CrFwPckt.h).
Definition: CrFwConstants.h:38
CrFwInFactoryPoolIndex_t CrFwInFactoryGetNOfAllocatedInCmd()
Return the number of InCommands which are currently allocated.
FwSmDesc_t CrFwInFactoryMakeInCmd(CrFwPckt_t pckt)
Make function for a component encapsulating an incoming command (InCommand).
CrFwInFactoryPoolIndex_t CrFwInFactoryGetMaxNOfInCmd()
Return the maximum number of InCommands which may be allocated at any one time.
CrFwInFactoryPoolIndex_t CrFwInFactoryGetMaxNOfInRep()
Return the maximum number of InReports which may be allocated at any one time.
CrFwInFactoryPoolIndex_t CrFwInFactoryGetNOfAllocatedInRep()
Return the number of InReports which are currently allocated.
void CrFwInFactoryReleaseInCmd(FwSmDesc_t inCmdInstance)
Release function for an InCommand.
void CrFwInFactoryReleaseInRep(FwSmDesc_t inRepInstance)
Release function for an InReport.
FwSmDesc_t CrFwInFactoryMakeInRep(CrFwPckt_t pckt)
Make function for a component encapsulating an incoming report (InReport).
FwSmDesc_t CrFwInFactoryMake()
Factory function for the singleton instance of the InFactory.
unsigned char CrFwInFactoryPoolIndex_t
Type for the index in the pool of pre-allocated incoming components in the InFactory (see CrFwInFacto...
P&P Software GmbH, Copyright 2012-2013, All Rights Reserved