F´ Flight Software - C/C++ Documentation
NASA-v1.6.0
A framework for building embedded system applications to NASA flight quality standards.
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
z
Functions
a
b
c
d
e
f
g
h
i
j
l
m
o
p
r
s
t
u
v
w
Variables
b
c
f
g
k
l
m
o
p
r
s
t
u
w
z
Typedefs
a
b
c
d
e
f
g
h
i
l
n
o
p
r
s
t
u
v
w
Enumerations
Enumerator
a
b
f
h
i
k
n
o
p
s
v
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Typedefs
a
b
c
e
f
i
m
r
s
t
w
Enumerations
b
c
d
f
g
h
m
o
q
r
s
t
u
w
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Related Symbols
:
a
b
c
d
f
g
h
l
p
q
r
s
t
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
Functions
f
g
i
m
p
r
s
t
u
Variables
_
b
c
f
g
i
l
p
r
s
w
Typedefs
a
b
c
e
f
i
n
p
s
t
u
Enumerations
Enumerator
a
b
c
f
g
h
p
r
s
t
Macros
_
a
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
►
F´ Flight Software - C/C++ Documentation
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
ObjBase.hpp
Go to the documentation of this file.
1
13
#ifndef FW_OBJ_BASE_HPP
14
#define FW_OBJ_BASE_HPP
15
16
#include <
FpConfig.hpp
>
17
18
namespace
Fw
{
19
20
#if FW_OBJECT_REGISTRATION == 1
21
class
ObjRegistry;
22
#endif
23
31
32
class
ObjBase
{
33
public
:
34
#if FW_OBJECT_NAMES == 1
35
41
const
char
* getObjName();
42
49
void
setObjName(
const
char
* name);
50
#if FW_OBJECT_TO_STRING == 1
51
61
virtual
void
toString(
char
* str,
NATIVE_INT_TYPE
size);
62
#endif
// FW_OBJECT_TO_STRING
63
#endif
// FW_OBJECT_NAMES
64
65
#if FW_OBJECT_REGISTRATION == 1
66
76
static
void
setObjRegistry(ObjRegistry* reg);
77
#endif
78
79
protected
:
80
81
#if FW_OBJECT_NAMES == 1
82
char
m_objName[FW_OBJ_NAME_MAX_SIZE];
83
#endif
84
91
ObjBase
(
const
char
* name);
92
97
virtual
~ObjBase
();
98
104
void
init
();
105
private
:
106
#if FW_OBJECT_REGISTRATION == 1
107
static
ObjRegistry* s_objRegistry;
108
#endif
109
};
// ObjBase
32
class
ObjBase
{
…
};
110
111
#if FW_OBJECT_REGISTRATION == 1
117
class
ObjRegistry {
118
public
:
119
129
virtual
void
regObject(
ObjBase
* obj)=0;
130
135
virtual
~ObjRegistry();
136
};
// ObjRegistry
137
#endif
// FW_OBJECT_REGISTRATION
138
}
139
#endif
// FW_OBJ_BASE_HPP
NATIVE_INT_TYPE
PlatformIntType NATIVE_INT_TYPE
Definition
BasicTypes.h:51
FpConfig.hpp
C++-compatible configuration header for fprime configuration.
Fw::ObjBase
Brief class description.
Definition
ObjBase.hpp:32
Fw::ObjBase::init
void init()
Object initializer.
Definition
ObjBase.cpp:27
Fw::ObjBase::~ObjBase
virtual ~ObjBase()
Destructor.
Definition
ObjBase.cpp:35
Fw::ObjBase::ObjBase
ObjBase(const char *name)
ObjBase constructor.
Definition
ObjBase.cpp:22
Fw
Definition
BufferGetPortAc.cpp:11
Fw
Obj
ObjBase.hpp
Generated by
1.10.0