24#ifndef GOBY_MIDDLEWARE_APPLICATION_DETAIL_SIMULATION_TIME_H
25#define GOBY_MIDDLEWARE_APPLICATION_DETAIL_SIMULATION_TIME_H
bool use_sim_time() const
int32_t warp_factor() const
bool has_reference_microtime() const
int64_t reference_microtime() const
const ::goby::middleware::protobuf::AppConfig_SimulatorSettings_Time & time() const
const ::goby::middleware::protobuf::AppConfig_SimulatorSettings & simulation() const
detail namespace with internal helper functions
void configure_simulation_time(const protobuf::AppConfig &app_cfg)
Applies the simulation time settings from an application configuration to goby::time::SimulatorSettin...
The global namespace for the Goby project.
static bool using_sim_time
Enables simulation time if true (if false, none of the remaining parameters are used)
static std::chrono::system_clock::time_point reference_time
Reference time when calculating SystemClock::now(). If this is unset, the default is 1 January of the...
static int warp_factor
Warp factor to speed up (or slow time) the time values returned by SteadyClock::now() and SystemClock...