F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
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
c
d
e
f
g
i
m
p
r
s
t
v
w
Variables
b
c
d
f
l
m
o
p
s
t
z
Typedefs
Enumerations
c
f
o
p
s
Enumerator
a
b
c
e
f
h
i
m
n
o
p
r
s
t
u
v
w
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
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
Typedefs
c
e
p
s
t
u
Enumerations
b
c
d
g
h
l
m
o
p
s
t
u
w
Enumerator
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
Related Functions
a
b
c
d
e
f
g
h
l
o
p
r
s
t
u
v
Files
File List
File Members
All
_
a
b
c
d
f
g
h
i
l
m
p
q
r
s
t
u
v
Functions
c
i
m
s
u
Variables
Typedefs
b
c
d
f
i
m
q
r
s
t
u
Enumerations
Enumerator
a
b
c
d
f
g
h
p
r
s
t
Macros
_
a
c
d
f
h
l
m
p
r
s
u
v
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
InputPortBase.cpp
Go to the documentation of this file.
1
#include <
Fw/FPrimeBasicTypes.hpp
>
2
#include <
Fw/Port/InputPortBase.hpp
>
3
#include <
Fw/Types/Assert.hpp
>
4
#include <cstdio>
5
6
namespace
Fw
{
7
8
InputPortBase::InputPortBase
() :
PortBase
(), m_comp(nullptr), m_portNum(-1) {}
9
10
InputPortBase::~InputPortBase
() {}
11
12
void
InputPortBase::init
() {
13
PortBase::init
();
14
}
15
16
void
InputPortBase::setPortNum
(
FwIndexType
portNum) {
17
FW_ASSERT
(portNum >= 0, static_cast<FwAssertArgType>(portNum));
18
this->
m_portNum
= portNum;
19
}
20
21
#if FW_OBJECT_TO_STRING == 1
22
const
char
* InputPortBase::getToStringFormatString() {
23
return
"Input Port: %s %s->(%s)"
;
24
}
25
#endif
26
27
}
// namespace Fw
Fw::InputPortBase::~InputPortBase
virtual ~InputPortBase()
Definition:
InputPortBase.cpp:10
Fw::InputPortBase::m_portNum
FwIndexType m_portNum
Definition:
InputPortBase.hpp:27
FPrimeBasicTypes.hpp
InputPortBase.hpp
Fw::PortBase::init
virtual void init()
Definition:
PortBase.cpp:34
Fw::InputPortBase::InputPortBase
InputPortBase()
Definition:
InputPortBase.cpp:8
Assert.hpp
Fw::InputPortBase::setPortNum
void setPortNum(FwIndexType portNum)
Definition:
InputPortBase.cpp:16
FwIndexType
PlatformIndexType FwIndexType
Definition:
FwIndexTypeAliasAc.h:15
Fw::InputPortBase::init
void init() override
Definition:
InputPortBase.cpp:12
Fw::PortBase
Definition:
PortBase.hpp:16
Fw
Definition:
FppConstantsAc.hpp:121
FW_ASSERT
#define FW_ASSERT(...)
Definition:
Assert.hpp:14
Fw
Port
InputPortBase.cpp
Generated by
1.8.14