![]() |
F´ Flight Software - C/C++ Documentation
devel
A framework for building embedded system applications to NASA flight quality standards.
|
#include <Fw/Dp/DpRequestPortAc.hpp>
Public Types | |
enum | { SERIALIZED_SIZE } |
typedef void(* | CompFuncPtr) (Fw::PassiveComponentBase *callComp, NATIVE_INT_TYPE portNum, FwDpIdType id, FwSizeType dataSize) |
The port callback function type. More... | |
Public Member Functions | |
InputDpRequestPort () | |
Constructor. More... | |
void | init () |
Initialization function. More... | |
void | addCallComp (Fw::PassiveComponentBase *callComp, CompFuncPtr funcPtr) |
Register a component. More... | |
void | invoke (FwDpIdType id, FwSizeType dataSize) |
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 DpRequest port Port for sending a request for a data product buffer to back a data product container. The request is for a buffer large enough to hold a data product packet with the requested data size.
Definition at line 27 of file DpRequestPortAc.hpp.
typedef void(* Fw::InputDpRequestPort::CompFuncPtr) (Fw::PassiveComponentBase *callComp, NATIVE_INT_TYPE portNum, FwDpIdType id, FwSizeType dataSize) |
The port callback function type.
Definition at line 51 of file DpRequestPortAc.hpp.
anonymous enum |
Enumerator | |
---|---|
SERIALIZED_SIZE | The size of the serial representations of the port arguments. |
Definition at line 37 of file DpRequestPortAc.hpp.
Fw::InputDpRequestPort::InputDpRequestPort | ( | ) |
Constructor.
Definition at line 47 of file DpRequestPortAc.cpp.
void Fw::InputDpRequestPort::addCallComp | ( | Fw::PassiveComponentBase * | callComp, |
CompFuncPtr | funcPtr | ||
) |
Register a component.
callComp | The containing component |
funcPtr | The port callback function |
Definition at line 61 of file DpRequestPortAc.cpp.
|
virtual |
Initialization function.
Reimplemented from Fw::InputPortBase.
Definition at line 55 of file DpRequestPortAc.cpp.
void Fw::InputDpRequestPort::invoke | ( | FwDpIdType | id, |
FwSizeType | dataSize | ||
) |
Invoke a port interface.
id | The container ID |
dataSize | The data size of the requested buffer |
Definition at line 75 of file DpRequestPortAc.cpp.