F´ Flight Software - C/C++ Documentation  NASA-v1.5.0
A framework for building embedded system applications to NASA flight quality standards.
PassiveComponentBase.hpp
Go to the documentation of this file.
1 #ifndef FW_COMP_BASE_HPP
2 #define FW_COMP_BASE_HPP
3 
4 #include <Fw/Obj/ObjBase.hpp>
6 #include <FpConfig.hpp>
7 
8 namespace Fw {
9 
11  public:
13  void setIdBase(
14  const U32 //< The new ID base
15  );
18  U32 getIdBase(void) const;
19 
21  PassiveComponentBase(const char* name);
22  virtual ~PassiveComponentBase();
23  void init(NATIVE_INT_TYPE instance);
24  NATIVE_INT_TYPE getInstance(void) const;
25 #if FW_OBJECT_TO_STRING == 1
26  virtual void toString(char* str, NATIVE_INT_TYPE size);
27 #endif
29  U32 m_idBase;
31 
32 
33  };
34 
35 }
36 
37 #endif
Fw::PassiveComponentBase::getIdBase
U32 getIdBase(void) const
Definition: PassiveComponentBase.cpp:40
Fw::ObjBase
Brief class description.
Definition: ObjBase.hpp:33
PRIVATE
#define PRIVATE
overridable private for unit testing
Definition: BasicTypes.hpp:118
Fw::PassiveComponentBase::getInstance
NATIVE_INT_TYPE getInstance(void) const
Definition: PassiveComponentBase.cpp:29
Serializable.hpp
PROTECTED
#define PROTECTED
overridable protected for unit testing
Definition: BasicTypes.hpp:114
Fw::PassiveComponentBase::setIdBase
void setIdBase(const U32)
Set the ID base.
Definition: PassiveComponentBase.cpp:34
Fw::PassiveComponentBase
Definition: PassiveComponentBase.hpp:10
Fw::ObjBase::init
void init(void)
Object initializer.
Definition: ObjBase.cpp:26
Fw::PassiveComponentBase::~PassiveComponentBase
virtual ~PassiveComponentBase()
Destructor.
Definition: PassiveComponentBase.cpp:21
FpConfig.hpp
ISF configuration file.
Fw::PassiveComponentBase::m_instance
NATIVE_INT_TYPE m_instance
instance of component object
Definition: PassiveComponentBase.hpp:30
ObjBase.hpp
Declarations for Fw::ObjBase and Fw::ObjRegistry.
NATIVE_INT_TYPE
int NATIVE_INT_TYPE
native integer type declaration
Definition: BasicTypes.hpp:29
Fw
Definition: BufferGetPortAc.cpp:6