![]() |
F´ Flight Software - C/C++ Documentation
devel
A framework for building embedded system applications to NASA flight quality standards.
|
#include <Fw/Dp/DpResponsePortAc.hpp>
Public Types | |
enum | { SERIALIZED_SIZE } |
typedef void(* | CompFuncPtr) (Fw::PassiveComponentBase *callComp, NATIVE_INT_TYPE portNum, FwDpIdType id, const Fw::Buffer &buffer, const Fw::Success &status) |
The port callback function type. More... | |
Public Member Functions | |
InputDpResponsePort () | |
Constructor. More... | |
void | init () |
Initialization function. More... | |
void | addCallComp (Fw::PassiveComponentBase *callComp, CompFuncPtr funcPtr) |
Register a component. More... | |
void | invoke (FwDpIdType id, const Fw::Buffer &buffer, const Fw::Success &status) |
Invoke a port interface. More... | |
![]() | |
void | setPortNum (NATIVE_INT_TYPE portNum) |
![]() | |
bool | isConnected () |
Additional Inherited Members | |
![]() | |
InputPortBase () | |
virtual | ~InputPortBase () |
![]() | |
PortBase () | |
virtual | ~PortBase () |
![]() | |
ObjBase (const char *name) | |
ObjBase constructor. More... | |
virtual | ~ObjBase () |
Destructor. More... | |
void | init () |
Object initializer. More... | |
![]() | |
PassiveComponentBase * | m_comp |
NATIVE_INT_TYPE | m_portNum |
![]() | |
Fw::ObjBase * | m_connObj |
Input DpResponse port Port for receiving a response to a buffer request
Definition at line 26 of file DpResponsePortAc.hpp.
typedef void(* Fw::InputDpResponsePort::CompFuncPtr) (Fw::PassiveComponentBase *callComp, NATIVE_INT_TYPE portNum, FwDpIdType id, const Fw::Buffer &buffer, const Fw::Success &status) |
The port callback function type.
Definition at line 51 of file DpResponsePortAc.hpp.
anonymous enum |
Enumerator | |
---|---|
SERIALIZED_SIZE | The size of the serial representations of the port arguments. |
Definition at line 36 of file DpResponsePortAc.hpp.
Fw::InputDpResponsePort::InputDpResponsePort | ( | ) |
Constructor.
Definition at line 47 of file DpResponsePortAc.cpp.
void Fw::InputDpResponsePort::addCallComp | ( | Fw::PassiveComponentBase * | callComp, |
CompFuncPtr | funcPtr | ||
) |
Register a component.
callComp | The containing component |
funcPtr | The port callback function |
Definition at line 61 of file DpResponsePortAc.cpp.
|
virtual |
Initialization function.
Reimplemented from Fw::InputPortBase.
Definition at line 55 of file DpResponsePortAc.cpp.
void Fw::InputDpResponsePort::invoke | ( | FwDpIdType | id, |
const Fw::Buffer & | buffer, | ||
const Fw::Success & | status | ||
) |
Invoke a port interface.
id | The container ID |
buffer | The buffer |
status | The status |
Definition at line 75 of file DpResponsePortAc.cpp.