![]() |
F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
|
Auto-generated base for ChronoTime component. More...
#include <Svc/ChronoTime/ChronoTimeComponentAc.hpp>
Public Member Functions | |
void | init (FwEnumStoreType instance=0) |
Initialize ChronoTimeComponentBase object. More... | |
Fw::InputTimePort * | get_timeGetPort_InputPort (FwIndexType portNum) |
![]() | |
void | setIdBase (const U32) |
Set the ID base. More... | |
U32 | getIdBase () const |
Protected Types | |
enum | { NUM_TIMEGETPORT_INPUT_PORTS = 1 } |
Enumerations for numbers of typed input ports. More... | |
Protected Member Functions | |
ChronoTimeComponentBase (const char *compName="") | |
Construct ChronoTimeComponentBase object. More... | |
virtual | ~ChronoTimeComponentBase () |
Destroy ChronoTimeComponentBase object. More... | |
FwIndexType | getNum_timeGetPort_InputPorts () const |
virtual void | timeGetPort_handler (FwIndexType portNum, Fw::Time &time)=0 |
Handler for input port timeGetPort. More... | |
void | timeGetPort_handlerBase (FwIndexType portNum, Fw::Time &time) |
Handler base-class function for input port timeGetPort. 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 | ChronoTimeTesterBase |
Friend class tester to support autocoded test harness. More... | |
class | ChronoTimeTester |
Friend class tester implementation to support white-box testing. More... | |
Auto-generated base for ChronoTime component.
A time component using C++11 chrono library
Definition at line 22 of file ChronoTimeComponentAc.hpp.
|
protected |
Enumerations for numbers of typed input ports.
Enumerator | |
---|---|
NUM_TIMEGETPORT_INPUT_PORTS |
Definition at line 42 of file ChronoTimeComponentAc.hpp.
|
protected |
Construct ChronoTimeComponentBase object.
compName | The component name |
Definition at line 71 of file ChronoTimeComponentAc.cpp.
|
protectedvirtual |
Destroy ChronoTimeComponentBase object.
Definition at line 78 of file ChronoTimeComponentAc.cpp.
Fw::InputTimePort * Svc::ChronoTimeComponentBase::get_timeGetPort_InputPort | ( | FwIndexType | portNum | ) |
Get typed input port at index
portNum | The port number |
Definition at line 56 of file ChronoTimeComponentAc.cpp.
|
protected |
Get the number of timeGetPort input ports
Definition at line 88 of file ChronoTimeComponentAc.cpp.
void Svc::ChronoTimeComponentBase::init | ( | FwEnumStoreType | instance = 0 | ) |
Initialize ChronoTimeComponentBase object.
instance | The instance number |
Definition at line 21 of file ChronoTimeComponentAc.cpp.
|
protectedpure virtual |
Handler for input port timeGetPort.
portNum | The port number |
time | Reference to Time object |
|
protected |
Handler base-class function for input port timeGetPort.
portNum | The port number |
time | Reference to Time object |
Definition at line 100 of file ChronoTimeComponentAc.cpp.
|
friend |
Friend class tester implementation to support white-box testing.
Definition at line 33 of file ChronoTimeComponentAc.hpp.
|
friend |
Friend class tester to support autocoded test harness.
Definition at line 31 of file ChronoTimeComponentAc.hpp.