comp::Simulation Class Referenceabstract
#include <Simulation.hpp>
Public Member Functions | |
Simulation (iv::Instance *inst, SimulationState *sim, iv::TimeId time_id) | |
virtual void | simulation_reset ()=0 |
Called before first simulation_step, so we do not need to initialize members in the constructor as well. More... | |
virtual void | simulation_step (int step_ms)=0 |
Not called when the simulation is paused. More... | |
Public Attributes | |
iv::ClientMarker | cm |
Additional Inherited Members | |
![]() | |
FixedUpdateClient (Instance *inst, TimeId time) | |
~FixedUpdateClient () | |
Instance * | instance () const |
void | fixed_update_pause () |
void | fixed_update_resume () |
![]() | |
ClientMarker | cm |
Detailed Description
Definition at line 12 of file Simulation.hpp.
Constructor & Destructor Documentation
◆ Simulation()
comp::Simulation::Simulation | ( | iv::Instance * | inst, |
SimulationState * | sim, | ||
iv::TimeId | time_id | ||
) |
Definition at line 7 of file Simulation.cpp.
Member Function Documentation
◆ simulation_reset()
|
pure virtual |
Called before first simulation_step, so we do not need to initialize members in the constructor as well.
◆ simulation_step()
|
pure virtual |
Not called when the simulation is paused.
Member Data Documentation
◆ cm
iv::ClientMarker comp::Simulation::cm |
Definition at line 15 of file Simulation.hpp.
The documentation for this class was generated from the following files:
- iv_components/Simulation/Simulation.hpp
- iv_components/Simulation/Simulation.cpp