![]() |
F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
|
Auto-generated base for LinuxTimer component. More...
#include <Svc/LinuxTimer/LinuxTimerComponentAc.hpp>
Public Member Functions | |
void | init (FwEnumStoreType instance=0) |
Initialize LinuxTimerComponentBase object. More... | |
void | set_CycleOut_OutputPort (FwIndexType portNum, Svc::InputCyclePort *port) |
Connect port to CycleOut[portNum]. More... | |
![]() | |
void | setIdBase (const FwIdType) |
Set the ID base. More... | |
FwIdType | getIdBase () const |
Protected Types | |
enum | { NUM_CYCLEOUT_OUTPUT_PORTS = 1 } |
Enumerations for numbers of typed output ports. More... | |
Protected Member Functions | |
LinuxTimerComponentBase (const char *compName="") | |
Construct LinuxTimerComponentBase object. More... | |
virtual | ~LinuxTimerComponentBase () |
Destroy LinuxTimerComponentBase object. More... | |
FwIndexType | getNum_CycleOut_OutputPorts () const |
bool | isConnected_CycleOut_OutputPort (FwIndexType portNum) |
void | CycleOut_out (FwIndexType portNum, Os::RawTime &cycleStart) |
Invoke output port CycleOut. More... | |
![]() | |
PassiveComponentBase (const char *name) | |
Named constructor. More... | |
virtual | ~PassiveComponentBase () |
Destructor. More... | |
void | init (FwEnumStoreType instance) |
Initialization function. More... | |
FwEnumStoreType | getInstance () const |
![]() | |
ObjBase (const char *name) | |
ObjBase constructor. More... | |
virtual | ~ObjBase () |
Destructor. More... | |
void | init () |
Object initializer. More... | |
Friends | |
class | LinuxTimerTesterBase |
Friend class tester to support autocoded test harness. More... | |
class | LinuxTimerTester |
Friend class tester implementation to support white-box testing. More... | |
Auto-generated base for LinuxTimer component.
A Linux interval timer
Definition at line 22 of file LinuxTimerComponentAc.hpp.
|
protected |
Enumerations for numbers of typed output ports.
Enumerator | |
---|---|
NUM_CYCLEOUT_OUTPUT_PORTS |
Definition at line 42 of file LinuxTimerComponentAc.hpp.
|
protected |
Construct LinuxTimerComponentBase object.
compName | The component name |
Definition at line 91 of file LinuxTimerComponentAc.cpp.
|
protectedvirtual |
Destroy LinuxTimerComponentBase object.
Definition at line 98 of file LinuxTimerComponentAc.cpp.
|
protected |
Invoke output port CycleOut.
portNum | The port number |
cycleStart | Cycle start timestamp |
Definition at line 133 of file LinuxTimerComponentAc.cpp.
|
protected |
Get the number of CycleOut output ports
Definition at line 108 of file LinuxTimerComponentAc.cpp.
void Svc::LinuxTimerComponentBase::init | ( | FwEnumStoreType | instance = 0 | ) |
Initialize LinuxTimerComponentBase object.
instance | The instance number |
Definition at line 21 of file LinuxTimerComponentAc.cpp.
|
protected |
Check whether port CycleOut is connected
portNum | The port number |
Definition at line 118 of file LinuxTimerComponentAc.cpp.
void Svc::LinuxTimerComponentBase::set_CycleOut_OutputPort | ( | FwIndexType | portNum, |
Svc::InputCyclePort * | port | ||
) |
Connect port to CycleOut[portNum].
portNum | The port number |
port | The input port |
Definition at line 51 of file LinuxTimerComponentAc.cpp.
|
friend |
Friend class tester implementation to support white-box testing.
Definition at line 33 of file LinuxTimerComponentAc.hpp.
|
friend |
Friend class tester to support autocoded test harness.
Definition at line 31 of file LinuxTimerComponentAc.hpp.