![]() |
0.4.1
|
Enumerations | |
enum class | Mode : uint8_t { REAL_TIME , POST_PROCESSING } |
Different Modes the Time Base class can work in. More... | |
Functions | |
void | ClearCurrentTime () |
Clears the current time object. | |
InsTime | GetCurrentInsTime () |
Get the current time. | |
Mode | GetMode () |
Get the time mode. | |
void | SetCurrentTime (const InsTime &insTime) |
Set the current time object. | |
void | SetCurrentTimeToComputerTime () |
Set the current time object to the computer time. | |
void | SetMode (Mode mode) |
Set the time mode. | |
|
strong |
Different Modes the Time Base class can work in.
Enumerator | |
---|---|
REAL_TIME | Computer clock will be added to last time update. |
POST_PROCESSING | Time will be set by FlowExecutor only. |
Definition at line 21 of file TimeBase.hpp.
void NAV::util::time::ClearCurrentTime | ( | ) |
Clears the current time object.
Definition at line 80 of file TimeBase.cpp.
NAV::InsTime NAV::util::time::GetCurrentInsTime | ( | ) |
Get the current time.
Definition at line 38 of file TimeBase.cpp.
NAV::util::time::Mode NAV::util::time::GetMode | ( | ) |
Get the time mode.
Definition at line 28 of file TimeBase.cpp.
void NAV::util::time::SetCurrentTime | ( | const InsTime & | insTime | ) |
Set the current time object.
[in] | insTime | The new current time |
Definition at line 49 of file TimeBase.cpp.
void NAV::util::time::SetCurrentTimeToComputerTime | ( | ) |
Set the current time object to the computer time.
Definition at line 70 of file TimeBase.cpp.
void NAV::util::time::SetMode | ( | Mode | mode | ) |
Set the time mode.
[in] | mode | Real time or postprocessing |
Definition at line 33 of file TimeBase.cpp.