F´ Flight Software - C/C++ Documentation NASA-v1.6.0
A framework for building embedded system applications to NASA flight quality standards.
Loading...
Searching...
No Matches
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
25#if FW_OBJECT_REGISTRATION == 1
26
27namespace 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 NATIVE_INT_TYPE m_numEntries;
42 };
43
44}
45
46#endif // FW_OBJECT_REGISTRATION
47
48#endif // FW_OBJ_SIMPLE_OBJ_REGISTRY_HPP
PlatformIntType NATIVE_INT_TYPE
Definition BasicTypes.h:51
C++-compatible configuration header for fprime configuration.
Declarations for Fw::ObjBase and Fw::ObjRegistry.
Definition Buffer.cpp:21