CORDET Framework - C2 Implementation
CrFwInRegistry.h
Go to the documentation of this file.
1 
61 #ifndef CRFW_INREGISTRY_H_
62 #define CRFW_INREGISTRY_H_
63 
64 /* Include configuration files */
65 #include "CrFwInRegistryUserPar.h"
66 #include "CrFwUserConstants.h"
67 /* Include FW Profile files */
68 #include "FwSmConstants.h"
69 #include "FwPrConstants.h"
70 /* Include framework files */
71 #include "CrFwConstants.h"
72 
74 typedef enum {
88 
100 FwSmDesc_t CrFwInRegistryMake();
101 
114 void CrFwInRegistryStartTracking(FwSmDesc_t inCmp);
115 
127 void CrFwInRegistryUpdateState(FwSmDesc_t inCmp, CrFwInRegistryCmdRepState_t newState);
128 
141 
142 #endif /* CRFW_INREGISTRY_H_ */
unsigned short CrFwInstanceId_t
Type used for instance identifiers.
Incoming command or report is not tracked.
Header file to define all invariant publicly available constants and types for the CORDET Framework...
CrFwInRegistryCmdRepState_t
Enumerated type for the state of a command or report tracked by the InRegistry.
No entry yet in InRegistry.
Incoming command has been aborted.
Incoming command has been executed but has not yet completed execution.
User-modifiable parameters for the InRegistry component (see CrFwInRegistry.h).
static CrFwInstanceId_t cmdRepId
Command or Report Identifier.
FwSmDesc_t CrFwInRegistryMake()
Factory function for the singleton instance of the InRegistry.
Header file to define all user-configurable constants and types for the CORDET Framework (the non-con...
void CrFwInRegistryUpdateState(FwSmDesc_t inCmp, CrFwInRegistryCmdRepState_t newState)
Ask the InRegistry to update the state of an incoming command or report.
CrFwInRegistryCmdRepState_t CrFwInRegistryGetState(CrFwInstanceId_t cmdRepId)
Query the InRegistry for the state of an incoming command or report.
void CrFwInRegistryStartTracking(FwSmDesc_t inCmp)
Ask the InRegistry to start tracking an incoming command or report.
Incoming command or report is pending (waiting to be sent)
Incoming command or report has completed execution.
P&P Software GmbH, Copyright 2012-2013, All Rights Reserved