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
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 <
FpConfig.hpp
>
5
#include <
Fw/Obj/ObjBase.hpp
>
6
#include <
Fw/Types/Serializable.hpp
>
7
#include <
Fw/Port/InputPortBase.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(
SerializeBufferBase
&buffer);
// !< invoke the port with a serialized version of the call
16
#endif
17
18
protected
:
19
20
OutputPortBase
();
// constructor
21
virtual
~OutputPortBase
();
// destructor
22
virtual
void
init
();
23
24
#if FW_OBJECT_TO_STRING == 1
25
virtual
void
toString(
char
* str,
NATIVE_INT_TYPE
size);
26
#endif
27
28
#if FW_PORT_SERIALIZATION == 1
29
Fw::InputPortBase
* m_serPort;
// !< pointer to port for serialized calls
30
#endif
31
private
:
32
33
// Disable constructors
34
OutputPortBase
(
OutputPortBase
*);
35
OutputPortBase
(
OutputPortBase
&);
36
OutputPortBase
& operator=(
OutputPortBase
&);
37
};
38
39
}
40
41
#endif
NATIVE_INT_TYPE
PlatformIntType NATIVE_INT_TYPE
Definition
BasicTypes.h:51
FpConfig.hpp
C++-compatible configuration header for fprime configuration.
InputPortBase.hpp
ObjBase.hpp
Declarations for Fw::ObjBase and Fw::ObjRegistry.
Serializable.hpp
Fw::InputPortBase
Definition
InputPortBase.hpp:12
Fw::OutputPortBase
Definition
OutputPortBase.hpp:11
Fw::OutputPortBase::~OutputPortBase
virtual ~OutputPortBase()
Definition
OutputPortBase.cpp:18
Fw::OutputPortBase::OutputPortBase
OutputPortBase()
Definition
OutputPortBase.cpp:10
Fw::OutputPortBase::init
virtual void init()
Definition
OutputPortBase.cpp:21
Fw::PortBase
Definition
PortBase.hpp:16
Fw::SerializeBufferBase
Definition
Serializable.hpp:41
Fw
Definition
Buffer.cpp:21
Fw::SerializeStatus
SerializeStatus
forward declaration for string
Definition
Serializable.hpp:13
Fw
Port
OutputPortBase.hpp
Generated by
1.9.7