![]() |
F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
|
#include <Svc/PolyIf/PolyPortAc.hpp>
Public Types | |
| enum | { SERIALIZED_SIZE } |
| typedef void(* | CompFuncPtr) (Fw::PassiveComponentBase *callComp, FwIndexType portNum, const Svc::PolyDbCfg::PolyDbEntry &entry, Svc::MeasurementStatus &status, Fw::Time &time, Fw::PolyType &val) |
| The port callback function type. More... | |
Public Member Functions | |
| InputPolyPort () | |
| Constructor. More... | |
| void | init () |
| Initialization function. More... | |
| void | addCallComp (Fw::PassiveComponentBase *callComp, CompFuncPtr funcPtr) |
| Register a component. More... | |
| void | invoke (const Svc::PolyDbCfg::PolyDbEntry &entry, Svc::MeasurementStatus &status, Fw::Time &time, Fw::PolyType &val) |
| Invoke a port interface. More... | |
Public Member Functions inherited from Fw::InputPortBase | |
| void | setPortNum (FwIndexType portNum) |
Public Member Functions inherited from Fw::PortBase | |
| bool | isConnected () const |
Additional Inherited Members | |
Protected Member Functions inherited from Fw::InputPortBase | |
| InputPortBase () | |
| virtual | ~InputPortBase () |
| void | init () override |
Protected Member Functions inherited from Fw::PortBase | |
| PortBase () | |
| virtual | ~PortBase () |
Protected Member Functions inherited from Fw::ObjBase | |
| ObjBase (const char *name) | |
| ObjBase constructor. More... | |
| virtual | ~ObjBase () |
| Destructor. More... | |
| void | init () |
| Object initializer. More... | |
Protected Attributes inherited from Fw::InputPortBase | |
| PassiveComponentBase * | m_comp |
| FwIndexType | m_portNum |
Protected Attributes inherited from Fw::PortBase | |
| Fw::ObjBase * | m_connObj |
Input Poly port Port for setting and getting PolyType values
Definition at line 28 of file PolyPortAc.hpp.
| typedef void(* Svc::InputPolyPort::CompFuncPtr) (Fw::PassiveComponentBase *callComp, FwIndexType portNum, const Svc::PolyDbCfg::PolyDbEntry &entry, Svc::MeasurementStatus &status, Fw::Time &time, Fw::PolyType &val) |
The port callback function type.
Definition at line 54 of file PolyPortAc.hpp.
| anonymous enum |
| Enumerator | |
|---|---|
| SERIALIZED_SIZE | The size of the serial representations of the port arguments. |
Definition at line 38 of file PolyPortAc.hpp.
| Svc::InputPolyPort::InputPolyPort | ( | ) |
Constructor.
Definition at line 48 of file PolyPortAc.cpp.
| void Svc::InputPolyPort::addCallComp | ( | Fw::PassiveComponentBase * | callComp, |
| CompFuncPtr | funcPtr | ||
| ) |
Register a component.
| callComp | The containing component |
| funcPtr | The port callback function |
Definition at line 62 of file PolyPortAc.cpp.
|
virtual |
Initialization function.
Reimplemented from Fw::PortBase.
Definition at line 56 of file PolyPortAc.cpp.
| void Svc::InputPolyPort::invoke | ( | const Svc::PolyDbCfg::PolyDbEntry & | entry, |
| Svc::MeasurementStatus & | status, | ||
| Fw::Time & | time, | ||
| Fw::PolyType & | val | ||
| ) |
Invoke a port interface.
| entry | The entry to access |
| status | The command response argument |
| time | The time of the measurement |
| val | The value to be passed |
Definition at line 76 of file PolyPortAc.cpp.