![]() |
F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
|
#include <Fw/Ports/CompletionStatus/CompletionStatusPortAc.hpp>
Public Types | |
| enum | { SERIALIZED_SIZE } |
| typedef void(* | CompFuncPtr) (Fw::PassiveComponentBase *callComp, FwIndexType portNum, const Fw::Completed &completed) |
| The port callback function type. More... | |
Public Member Functions | |
| InputCompletionStatusPort () | |
| Constructor. More... | |
| void | init () |
| Initialization function. More... | |
| void | addCallComp (Fw::PassiveComponentBase *callComp, CompFuncPtr funcPtr) |
| Register a component. More... | |
| void | invoke (const Fw::Completed &completed) |
| 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 CompletionStatus port Port communicating completion status
Definition at line 25 of file CompletionStatusPortAc.hpp.
| typedef void(* Fw::InputCompletionStatusPort::CompFuncPtr) (Fw::PassiveComponentBase *callComp, FwIndexType portNum, const Fw::Completed &completed) |
The port callback function type.
Definition at line 48 of file CompletionStatusPortAc.hpp.
| anonymous enum |
| Enumerator | |
|---|---|
| SERIALIZED_SIZE | The size of the serial representations of the port arguments. |
Definition at line 35 of file CompletionStatusPortAc.hpp.
| Fw::InputCompletionStatusPort::InputCompletionStatusPort | ( | ) |
Constructor.
Definition at line 48 of file CompletionStatusPortAc.cpp.
| void Fw::InputCompletionStatusPort::addCallComp | ( | Fw::PassiveComponentBase * | callComp, |
| CompFuncPtr | funcPtr | ||
| ) |
Register a component.
| callComp | The containing component |
| funcPtr | The port callback function |
Definition at line 62 of file CompletionStatusPortAc.cpp.
|
virtual |
Initialization function.
Reimplemented from Fw::PortBase.
Definition at line 56 of file CompletionStatusPortAc.cpp.
| void Fw::InputCompletionStatusPort::invoke | ( | const Fw::Completed & | completed | ) |
Invoke a port interface.
| completed | Completion status |
Definition at line 76 of file CompletionStatusPortAc.cpp.