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