F´ Flight Software - C/C++ Documentation
devel
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
l
m
n
o
p
r
s
t
u
v
w
z
Functions
a
b
c
d
g
h
i
m
o
p
r
s
t
v
w
Variables
Typedefs
a
b
c
d
e
f
g
h
l
o
p
r
s
t
u
w
Enumerations
Enumerator
a
b
c
f
h
i
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
l
m
n
o
p
q
r
s
t
u
v
w
z
~
Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
z
~
Variables
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
w
Typedefs
c
e
s
t
u
w
Enumerations
b
c
d
g
h
m
o
q
s
t
u
w
Enumerator
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
Related Symbols
a
b
c
d
f
g
h
l
p
r
s
t
u
Files
File List
File Members
All
_
a
b
c
d
f
g
h
i
l
m
n
p
r
s
t
u
v
Functions
c
i
m
p
s
u
Variables
_
b
c
f
i
l
p
r
s
Typedefs
b
c
f
i
n
p
s
u
Enumerations
Enumerator
a
b
c
d
f
g
h
p
r
s
t
Macros
_
a
c
d
f
g
h
i
l
m
p
r
s
t
u
v
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
InputPortBase.hpp
Go to the documentation of this file.
1
#ifndef FW_INPUT_PORT_BASE_HPP
2
#define FW_INPUT_PORT_BASE_HPP
3
4
#include <
FpConfig.hpp
>
5
#include <
Fw/Obj/ObjBase.hpp
>
6
#include <
Fw/Types/Serializable.hpp
>
7
#include <
Fw/Comp/PassiveComponentBase.hpp
>
8
#include <
Fw/Port/PortBase.hpp
>
9
10
namespace
Fw
{
11
12
class
InputPortBase
:
public
PortBase
{
13
public
:
14
void
setPortNum
(
NATIVE_INT_TYPE
portNum);
// !< set the port number
15
16
#if FW_PORT_SERIALIZATION
17
virtual
SerializeStatus
invokeSerial(
SerializeBufferBase
&buffer) = 0;
// !< invoke the port with a serialized version of the call
18
#endif
19
20
protected
:
21
22
InputPortBase
();
// Constructor
23
virtual
~InputPortBase
();
// Destructor
24
virtual
void
init
();
25
26
PassiveComponentBase
*
m_comp
;
// !< pointer to containing component
27
NATIVE_INT_TYPE
m_portNum
;
// !< port number in containing object
28
#if FW_OBJECT_TO_STRING == 1
29
virtual
void
toString(
char
* str,
NATIVE_INT_TYPE
size);
30
#endif
31
32
private
:
33
34
// Disable constructors since we don't want to instantiate directly
35
InputPortBase
(
InputPortBase
*);
36
InputPortBase
(
InputPortBase
&);
37
InputPortBase
& operator=(
InputPortBase
&);
38
39
};
12
class
InputPortBase
:
public
PortBase
{
…
};
40
41
}
42
43
#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.
PassiveComponentBase.hpp
PortBase.hpp
Serializable.hpp
Fw::InputPortBase
Definition
InputPortBase.hpp:12
Fw::InputPortBase::~InputPortBase
virtual ~InputPortBase()
Definition
InputPortBase.cpp:14
Fw::InputPortBase::m_portNum
NATIVE_INT_TYPE m_portNum
Definition
InputPortBase.hpp:27
Fw::InputPortBase::init
virtual void init()
Definition
InputPortBase.cpp:18
Fw::InputPortBase::setPortNum
void setPortNum(NATIVE_INT_TYPE portNum)
Definition
InputPortBase.cpp:23
Fw::InputPortBase::m_comp
PassiveComponentBase * m_comp
Definition
InputPortBase.hpp:26
Fw::InputPortBase::InputPortBase
InputPortBase()
Definition
InputPortBase.cpp:8
Fw::PassiveComponentBase
Definition
PassiveComponentBase.hpp:10
Fw::PortBase
Definition
PortBase.hpp:16
Fw::SerializeBufferBase
Definition
Serializable.hpp:41
Fw
Definition
FppConstantsAc.hpp:98
Fw::SerializeStatus
SerializeStatus
forward declaration for string
Definition
Serializable.hpp:13
Fw
Port
InputPortBase.hpp
Generated by
1.10.0