$darkmode
#include <simulation_context.hpp>
Public Member Functions | |
| std::string | version () const |
| std::shared_ptr< cloe::Registrar > | simulation_registrar () |
| std::vector< std::string > | model_ids () const |
| std::vector< std::string > | simulator_ids () const |
| std::vector< std::string > | controller_ids () const |
| std::vector< std::string > | vehicle_ids () const |
| std::vector< std::string > | plugin_ids () const |
| bool | foreach_model (std::function< bool(cloe::Model &, const char *type)> f) |
| bool | foreach_model (std::function< bool(const cloe::Model &, const char *type)> f) const |
| bool | foreach_simulator (std::function< bool(cloe::Simulator &)> f) |
| bool | foreach_simulator (std::function< bool(const cloe::Simulator &)> f) const |
| bool | foreach_controller (std::function< bool(cloe::Controller &)> f) |
| bool | foreach_controller (std::function< bool(const cloe::Controller &)> f) const |
| bool | foreach_vehicle (std::function< bool(cloe::Vehicle &)> f) |
| bool | foreach_vehicle (std::function< bool(const cloe::Vehicle &)> f) const |
Public Attributes | |
| std::unique_ptr< Server > | server |
| std::shared_ptr< Coordinator > | coordinator |
| std::shared_ptr< Registrar > | registrar |
| std::unique_ptr< CommandExecuter > | commander |
| cloe::Stack | config |
| std::string | uuid {} |
| bool | report_progress {false} |
| SimulationSync | sync |
| SimulationProgress | progress |
| SimulationStatistics | statistics |
| cloe::Model * | now_initializing {nullptr} |
| std::map< std::string, std::unique_ptr< cloe::Simulator > > | simulators |
| std::map< std::string, std::shared_ptr< cloe::Vehicle > > | vehicles |
| std::map< std::string, std::unique_ptr< cloe::Controller > > | controllers |
| boost::optional< SimulationOutcome > | outcome |
| timer::DurationTimer< cloe::Duration > | cycle_duration |
| bool | pause_execution {false} |
| std::shared_ptr< events::LoopCallback > | callback_loop |
| std::shared_ptr< events::PauseCallback > | callback_pause |
| std::shared_ptr< events::ResumeCallback > | callback_resume |
| std::shared_ptr< events::StartCallback > | callback_start |
| std::shared_ptr< events::StopCallback > | callback_stop |
| std::shared_ptr< events::SuccessCallback > | callback_success |
| std::shared_ptr< events::FailureCallback > | callback_failure |
| std::shared_ptr< events::ResetCallback > | callback_reset |
| std::shared_ptr< events::TimeCallback > | callback_time |
SimulationContext represents the entire context of a running simulation.
This clearly separates data from functionality.