0.2.0
Loading...
Searching...
No Matches
TimeBase.hpp File Reference

Keeps track of the current real/simulation time. More...

Go to the source code of this file.

Enumerations

enum class  NAV::util::time::Mode {
  REAL_TIME ,
  POST_PROCESSING
}
 Different Modes the Time Base class can work in. More...
 

Functions

void NAV::util::time::ClearCurrentTime ()
 Clears the current time object.
 
InsTime NAV::util::time::GetCurrentInsTime ()
 Get the current time.
 
Mode NAV::util::time::GetMode ()
 Get the time mode.
 
void NAV::util::time::SetCurrentTime (const InsTime &insTime)
 Set the current time object.
 
void NAV::util::time::SetCurrentTimeToComputerTime ()
 Set the current time object to the computer time.
 
void NAV::util::time::SetMode (Mode mode)
 Set the time mode.
 

Detailed Description

Keeps track of the current real/simulation time.

Author
T. Topp (topp@.nosp@m.ins..nosp@m.uni-s.nosp@m.tutt.nosp@m.gart..nosp@m.de)
Date
2021-01-28

Enumeration Type Documentation

◆ Mode

enum class NAV::util::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.

Function Documentation

◆ GetCurrentInsTime()

InsTime NAV::util::time::GetCurrentInsTime ( )

Get the current time.

Returns
Pointer to the current time or nullptr if it is not known yet.

◆ SetCurrentTime()

void NAV::util::time::SetCurrentTime ( const InsTime & insTime)

Set the current time object.

Parameters
[in]insTimeThe new current time

◆ SetMode()

void NAV::util::time::SetMode ( Mode mode)

Set the time mode.

Parameters
[in]modeReal time or postprocessing