F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
OutputPortBase.hpp
Go to the documentation of this file.
1
#ifndef FW_OUTPUT_PORT_BASE_HPP
2
#define FW_OUTPUT_PORT_BASE_HPP
3
4
#include <
Fw/FPrimeBasicTypes.hpp
>
5
#include <
Fw/Obj/ObjBase.hpp
>
6
#include <
Fw/Port/InputPortBase.hpp
>
7
#include <
Fw/Types/Serializable.hpp
>
8
9
namespace
Fw
{
10
11
class
OutputPortBase
:
public
PortBase
{
12
public
:
13
#if FW_PORT_SERIALIZATION == 1
14
void
registerSerialPort(
InputPortBase
* port);
// !< register a port for serialized calls
15
SerializeStatus
invokeSerial(
LinearBufferBase
& buffer);
// !< invoke the port with a serialized version of the call
16
#endif
17
18
protected
:
19
OutputPortBase
();
// constructor
20
virtual
~OutputPortBase
();
// destructor
21
void
init
()
override
;
22
23
#if FW_OBJECT_TO_STRING == 1
24
const
char
* getToStringFormatString()
override
;
25
#endif
26
27
#if FW_PORT_SERIALIZATION == 1
28
Fw::InputPortBase
* m_serPort;
// !< pointer to port for serialized calls
29
#endif
30
private
:
31
// Disable constructors
32
OutputPortBase
(
OutputPortBase
*);
33
OutputPortBase
(
OutputPortBase
&);
34
OutputPortBase
& operator=(
OutputPortBase
&);
35
};
36
37
}
// namespace Fw
38
39
#endif
FPrimeBasicTypes.hpp
InputPortBase.hpp
Fw::SerializeStatus
SerializeStatus
forward declaration for string
Definition:
Serializable.hpp:14
Fw::OutputPortBase::init
void init() override
Definition:
OutputPortBase.cpp:20
Fw::OutputPortBase::OutputPortBase
OutputPortBase()
Definition:
OutputPortBase.cpp:9
Fw::LinearBufferBase
Definition:
Serializable.hpp:667
ObjBase.hpp
Declarations for Fw::ObjBase and Fw::ObjRegistry.
Fw::OutputPortBase
Definition:
OutputPortBase.hpp:11
Fw::PortBase
Definition:
PortBase.hpp:16
Fw::OutputPortBase::~OutputPortBase
virtual ~OutputPortBase()
Definition:
OutputPortBase.cpp:18
Fw
Implementation of malloc based allocator.
Definition:
MemoryAllocation.hpp:14
Fw::InputPortBase
Definition:
InputPortBase.hpp:12
Serializable.hpp
Fw
Port
OutputPortBase.hpp
Generated by
1.8.14