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
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
>
5
#include <
Fw/Types/Serializable.hpp
>
6
#include <
FpConfig.hpp
>
7
8
namespace
Fw
{
9
10
class
PassiveComponentBase
:
public
Fw::ObjBase
{
11
public
:
13
void
setIdBase
(
14
const
U32
//< The new ID base
15
);
18
U32
getIdBase
()
const
;
19
20
PROTECTED:
21
PassiveComponentBase
(
const
char
* name);
22
virtual
~PassiveComponentBase
();
23
void
init
(
NATIVE_INT_TYPE
instance);
24
NATIVE_INT_TYPE
getInstance
()
const
;
25
#if FW_OBJECT_TO_STRING == 1
26
virtual
void
toString(
char
* str,
NATIVE_INT_TYPE
size);
27
#endif
28
PRIVATE:
29
U32 m_idBase;
30
NATIVE_INT_TYPE
m_instance;
31
32
33
};
34
35
}
36
37
#endif
NATIVE_INT_TYPE
PlatformIntType NATIVE_INT_TYPE
Definition
BasicTypes.h:51
FpConfig.hpp
C++-compatible configuration header for fprime configuration.
ObjBase.hpp
Declarations for Fw::ObjBase and Fw::ObjRegistry.
Serializable.hpp
Fw::ObjBase
Brief class description.
Definition
ObjBase.hpp:32
Fw::ObjBase::init
void init()
Object initializer.
Definition
ObjBase.cpp:27
Fw::PassiveComponentBase
Definition
PassiveComponentBase.hpp:10
Fw::PassiveComponentBase::getIdBase
U32 getIdBase() const
Definition
PassiveComponentBase.cpp:41
Fw::PassiveComponentBase::getInstance
NATIVE_INT_TYPE getInstance() const
Definition
PassiveComponentBase.cpp:30
Fw::PassiveComponentBase::~PassiveComponentBase
virtual ~PassiveComponentBase()
Destructor.
Definition
PassiveComponentBase.cpp:22
Fw::PassiveComponentBase::setIdBase
void setIdBase(const U32)
Set the ID base.
Definition
PassiveComponentBase.cpp:35
Fw
Definition
Buffer.cpp:21
Fw
Comp
PassiveComponentBase.hpp
Generated by
1.9.7