F´ Flight Software - C/C++ Documentation
NASA-v1.6.0
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 <
FpConfig.hpp
>
23
#include <
Fw/Obj/ObjBase.hpp
>
24
#include <
Fw/Types/BasicTypes.hpp
>
25
26
#if FW_OBJECT_REGISTRATION == 1
27
28
namespace
Fw
{
29
30
class
SimpleObjRegistry :
public
ObjRegistry {
31
public
:
32
SimpleObjRegistry();
33
~SimpleObjRegistry();
34
void
dump();
35
void
clear();
36
#if FW_OBJECT_NAMES == 1
37
void
dump(
const
char
* objName);
38
#endif
39
private
:
40
void
regObject(ObjBase* obj);
41
ObjBase* m_objPtrArray[
FW_OBJ_SIMPLE_REG_ENTRIES
];
42
NATIVE_INT_TYPE
m_numEntries;
43
};
44
45
}
46
47
#endif // FW_OBJECT_REGISTRATION
48
49
#endif // FW_OBJ_SIMPLE_OBJ_REGISTRY_HPP
FpConfig.hpp
ISF configuration file.
FW_OBJ_SIMPLE_REG_ENTRIES
#define FW_OBJ_SIMPLE_REG_ENTRIES
Number of objects stored in simple object registry.
Definition:
FpConfig.hpp:193
ObjBase.hpp
Declarations for Fw::ObjBase and Fw::ObjRegistry.
BasicTypes.hpp
Declares ISF basic types.
NATIVE_INT_TYPE
int NATIVE_INT_TYPE
native integer type declaration
Definition:
BasicTypes.hpp:29
Fw
Definition:
Buffer.cpp:21
Fw
Obj
SimpleObjRegistry.hpp
Generated by
1.8.17