26 #include <boost/property_tree/ptree.hpp> 28 #include <spdlog/spdlog.h> 49 explicit ControlHelper(
const boost::property_tree::ptree& config, std::string name);
void RegisterViewers(std::shared_ptr< SimRunner > runner)
Register the viewers of the SimRunner.
~ControlHelper()
Simple destructor.
boost::property_tree::ptree m_config
Main configuration for run and sim.
std::string m_output_prefix
Prefix to output (name prefix or prefix dir)
void CheckEnv()
Check install environment.
bool m_use_install_dirs
Working dir or install dir mode.
std::shared_ptr< spdlog::logger > m_stride_logger
General logger.
void LogStartup()
Logs info on setup for cli environment to stride_logger.
ControlHelper()
Empty controller: used as target for delegation.
Provides a stopwatch interface to time: it accumulates time between start/stop pairs.
util::Stopwatch m_run_clock
Stopwatch for timing the computation.
std::string m_name
Contoller's name.
void Shutdown()
Logs info on setup for cli environment to stride_logger.
Controls a simulation run initiated with the command line interface (cli).
Namespace for the simulator and related classes.
void InstallLogger()
Make the appropriate logger for cli environment and register as stride_logger.