![]() |
F´ Flight Software - C/C++ Documentation
devel
A framework for building embedded system applications to NASA flight quality standards.
|
Auto-generated base for RateGroupDriver component. More...
#include <Svc/RateGroupDriver/RateGroupDriverComponentAc.hpp>
Public Member Functions | |
| void | init (NATIVE_INT_TYPE instance=0) |
| Initialize RateGroupDriverComponentBase object. More... | |
| Svc::InputCyclePort * | get_CycleIn_InputPort (NATIVE_INT_TYPE portNum) |
| void | set_CycleOut_OutputPort (NATIVE_INT_TYPE portNum, Svc::InputCyclePort *port) |
| Connect port to CycleOut[portNum]. More... | |
Public Member Functions inherited from Fw::PassiveComponentBase | |
| void | setIdBase (const U32) |
| Set the ID base. More... | |
| U32 | getIdBase () const |
Protected Types | |
| enum | { NUM_CYCLEIN_INPUT_PORTS = 1 } |
| Enumerations for numbers of typed input ports. More... | |
| enum | { NUM_CYCLEOUT_OUTPUT_PORTS = 3 } |
| Enumerations for numbers of typed output ports. More... | |
Protected Member Functions | |
| RateGroupDriverComponentBase (const char *compName="") | |
| Construct RateGroupDriverComponentBase object. More... | |
| virtual | ~RateGroupDriverComponentBase () |
| Destroy RateGroupDriverComponentBase object. More... | |
| NATIVE_INT_TYPE | getNum_CycleIn_InputPorts () const |
| NATIVE_INT_TYPE | getNum_CycleOut_OutputPorts () const |
| bool | isConnected_CycleOut_OutputPort (NATIVE_INT_TYPE portNum) |
| virtual void | CycleIn_handler (NATIVE_INT_TYPE portNum, Svc::TimerVal &cycleStart)=0 |
| Handler for input port CycleIn. More... | |
| void | CycleIn_handlerBase (NATIVE_INT_TYPE portNum, Svc::TimerVal &cycleStart) |
| Handler base-class function for input port CycleIn. More... | |
| void | CycleOut_out (NATIVE_INT_TYPE portNum, Svc::TimerVal &cycleStart) |
| Invoke output port CycleOut. More... | |
Protected Member Functions inherited from Fw::PassiveComponentBase | |
| PassiveComponentBase (const char *name) | |
| Named constructor. More... | |
| virtual | ~PassiveComponentBase () |
| Destructor. More... | |
| void | init (NATIVE_INT_TYPE instance) |
| Initialization function. More... | |
| NATIVE_INT_TYPE | getInstance () const |
Protected Member Functions inherited from Fw::ObjBase | |
| ObjBase (const char *name) | |
| ObjBase constructor. More... | |
| virtual | ~ObjBase () |
| Destructor. More... | |
| void | init () |
| Object initializer. More... | |
Friends | |
| class | RateGroupDriverComponentBaseFriend |
| Friend class for white-box testing. More... | |
Auto-generated base for RateGroupDriver component.
A rate group driver component with input and output cycle ports
Definition at line 22 of file RateGroupDriverComponentAc.hpp.
|
protected |
Enumerations for numbers of typed input ports.
| Enumerator | |
|---|---|
| NUM_CYCLEIN_INPUT_PORTS | |
Definition at line 40 of file RateGroupDriverComponentAc.hpp.
|
protected |
Enumerations for numbers of typed output ports.
| Enumerator | |
|---|---|
| NUM_CYCLEOUT_OUTPUT_PORTS | |
Definition at line 45 of file RateGroupDriverComponentAc.hpp.
|
protected |
Construct RateGroupDriverComponentBase object.
| compName | The component name |
Definition at line 146 of file RateGroupDriverComponentAc.cpp.
|
protectedvirtual |
Destroy RateGroupDriverComponentBase object.
Definition at line 153 of file RateGroupDriverComponentAc.cpp.
|
protectedpure virtual |
Handler for input port CycleIn.
| portNum | The port number |
| cycleStart | Cycle start timer value |
|
protected |
Handler base-class function for input port CycleIn.
| portNum | The port number |
| cycleStart | Cycle start timer value |
Definition at line 200 of file RateGroupDriverComponentAc.cpp.
|
protected |
Invoke output port CycleOut.
| portNum | The port number |
| cycleStart | Cycle start timer value |
Definition at line 223 of file RateGroupDriverComponentAc.cpp.
| Svc::InputCyclePort * Svc::RateGroupDriverComponentBase::get_CycleIn_InputPort | ( | NATIVE_INT_TYPE | portNum | ) |
Get typed input port at index
| portNum | The port number |
Definition at line 91 of file RateGroupDriverComponentAc.cpp.
|
protected |
Get the number of CycleIn input ports
Definition at line 163 of file RateGroupDriverComponentAc.cpp.
|
protected |
Get the number of CycleOut output ports
Definition at line 173 of file RateGroupDriverComponentAc.cpp.
| void Svc::RateGroupDriverComponentBase::init | ( | NATIVE_INT_TYPE | instance = 0 | ) |
Initialize RateGroupDriverComponentBase object.
| instance | The instance number |
Definition at line 21 of file RateGroupDriverComponentAc.cpp.
|
protected |
Check whether port CycleOut is connected
| portNum | The port number |
Definition at line 183 of file RateGroupDriverComponentAc.cpp.
| void Svc::RateGroupDriverComponentBase::set_CycleOut_OutputPort | ( | NATIVE_INT_TYPE | portNum, |
| Svc::InputCyclePort * | port | ||
| ) |
Connect port to CycleOut[portNum].
| portNum | The port number |
| port | The input port |
Definition at line 106 of file RateGroupDriverComponentAc.cpp.
|
friend |
Friend class for white-box testing.
Definition at line 31 of file RateGroupDriverComponentAc.hpp.