F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
SimpleObjRegistry.hpp
Go to the documentation of this file.
1
19
#ifndef FW_OBJ_SIMPLE_OBJ_REGISTRY_HPP
20
#define FW_OBJ_SIMPLE_OBJ_REGISTRY_HPP
21
22
#include <
Fw/FPrimeBasicTypes.hpp
>
23
#include <
Fw/Obj/ObjBase.hpp
>
24
25
#if FW_OBJECT_REGISTRATION == 1
26
27
namespace
Fw
{
28
29
class
SimpleObjRegistry :
public
ObjRegistry {
30
public
:
31
SimpleObjRegistry();
32
~SimpleObjRegistry();
33
void
dump();
34
void
clear();
35
#if FW_OBJECT_NAMES == 1
36
void
dump(
const
char
* objName);
37
#endif
38
private
:
39
void
regObject(ObjBase* obj);
40
ObjBase* m_objPtrArray[
FW_OBJ_SIMPLE_REG_ENTRIES
];
41
FwSizeType
m_numEntries;
42
};
43
44
}
45
46
#endif // FW_OBJECT_REGISTRATION
47
48
#endif // FW_OBJ_SIMPLE_OBJ_REGISTRY_HPP
FwSizeType
PlatformSizeType FwSizeType
Definition:
FwSizeTypeAliasAc.h:15
FPrimeBasicTypes.hpp
FW_OBJ_SIMPLE_REG_ENTRIES
#define FW_OBJ_SIMPLE_REG_ENTRIES
Number of objects stored in simple object registry.
Definition:
FpConfig.h:154
ObjBase.hpp
Declarations for Fw::ObjBase and Fw::ObjRegistry.
Fw
Definition:
FppConstantsAc.hpp:121
Fw
Obj
SimpleObjRegistry.hpp
Generated by
1.8.14