![]() |
F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
|
#include <Svc/OsTime/OsTime.hpp>
Public Member Functions | |
OsTime (const char *const compName) | |
Construct OsTime object. More... | |
~OsTime () | |
Destroy OsTime object. More... | |
void | set_epoch (const Fw::Time &fw_time, const Os::RawTime &os_time) |
![]() | |
void | init (FwEnumStoreType instance=0) |
Initialize OsTimeComponentBase object. More... | |
Fw::InputCmdPort * | get_CmdDisp_InputPort (FwIndexType portNum) |
Svc::InputOsTimeEpochPort * | get_setEpoch_InputPort (FwIndexType portNum) |
Fw::InputTimePort * | get_timeGetPort_InputPort (FwIndexType portNum) |
void | set_CmdReg_OutputPort (FwIndexType portNum, Fw::InputCmdRegPort *port) |
Connect port to CmdReg[portNum]. More... | |
void | set_CmdStatus_OutputPort (FwIndexType portNum, Fw::InputCmdResponsePort *port) |
Connect port to CmdStatus[portNum]. More... | |
void | set_EventOut_OutputPort (FwIndexType portNum, Fw::InputLogPort *port) |
Connect port to EventOut[portNum]. More... | |
void | set_timeCaller_OutputPort (FwIndexType portNum, Fw::InputTimePort *port) |
Connect port to timeCaller[portNum]. More... | |
void | regCommands () |
Register commands with the Command Dispatcher. More... | |
![]() | |
void | setIdBase (const FwIdType) |
Set the ID base. More... | |
FwIdType | getIdBase () const |
Definition at line 18 of file OsTime.hpp.
Svc::OsTime::OsTime | ( | const char *const | compName | ) |
Construct OsTime object.
compName | The component name |
Definition at line 18 of file OsTime.cpp.
Svc::OsTime::~OsTime | ( | ) |
Destroy OsTime object.
Definition at line 26 of file OsTime.cpp.
void Svc::OsTime::set_epoch | ( | const Fw::Time & | fw_time, |
const Os::RawTime & | os_time | ||
) |
Set an epoch time that is used to offset future Os::RawTime readings
Definition at line 29 of file OsTime.cpp.