![]() |
F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
|
#include <Svc/Ping/PingPortAc.hpp>
Public Types | |
| enum | { SERIALIZED_SIZE } |
| typedef void(* | CompFuncPtr) (Fw::PassiveComponentBase *callComp, FwIndexType portNum, U32 key) |
| The port callback function type. | |
Public Member Functions | |
| InputPingPort () | |
| Constructor. | |
| void | init () |
| Initialization function. | |
| void | addCallComp (Fw::PassiveComponentBase *callComp, CompFuncPtr funcPtr) |
| Register a component. | |
| void | invoke (U32 key) |
| Invoke a port interface. | |
Public Member Functions inherited from Fw::InputPortBase | |
| void | setPortNum (NATIVE_INT_TYPE portNum) |
Public Member Functions inherited from Fw::PortBase | |
| bool | isConnected () const |
Additional Inherited Members | |
Protected Member Functions inherited from Fw::InputPortBase | |
| InputPortBase () | |
| virtual | ~InputPortBase () |
Protected Member Functions inherited from Fw::PortBase | |
| PortBase () | |
| virtual | ~PortBase () |
Protected Member Functions inherited from Fw::ObjBase | |
| ObjBase (const char *name) | |
| ObjBase constructor. | |
| virtual | ~ObjBase () |
| Destructor. | |
| void | init () |
| Object initializer. | |
Protected Attributes inherited from Fw::InputPortBase | |
| PassiveComponentBase * | m_comp |
| NATIVE_INT_TYPE | m_portNum |
Protected Attributes inherited from Fw::PortBase | |
| Fw::ObjBase * | m_connObj |
Input Ping port Port for pinging active components
Definition at line 24 of file PingPortAc.hpp.
| typedef void(* Svc::InputPingPort::CompFuncPtr) (Fw::PassiveComponentBase *callComp, FwIndexType portNum, U32 key) |
The port callback function type.
Definition at line 47 of file PingPortAc.hpp.
| anonymous enum |
| Enumerator | |
|---|---|
| SERIALIZED_SIZE | The size of the serial representations of the port arguments. |
Definition at line 34 of file PingPortAc.hpp.
| Svc::InputPingPort::InputPingPort | ( | ) |
Constructor.
Definition at line 47 of file PingPortAc.cpp.
| void Svc::InputPingPort::addCallComp | ( | Fw::PassiveComponentBase * | callComp, |
| CompFuncPtr | funcPtr | ||
| ) |
Register a component.
| callComp | The containing component |
| funcPtr | The port callback function |
Definition at line 61 of file PingPortAc.cpp.
|
virtual |
Initialization function.
Reimplemented from Fw::InputPortBase.
Definition at line 55 of file PingPortAc.cpp.
| void Svc::InputPingPort::invoke | ( | U32 | key | ) |
Invoke a port interface.
| key | Value to return to pinger |
Definition at line 75 of file PingPortAc.cpp.