8#include <unordered_map>
10namespace opyn {
class Model; }
11namespace SimTK {
class State; }
Definition model_state.h:19
SimTK::State & upd_simbody_state()
Returns the underlying SimTK::State (internal method: be careful with this).
ModelState()
Constructs an empty model state.
ModelState(SimTK::State &&)
ModelStateStage stage() const
Returns the ModelStateStage that this state has been realized to.
std::unordered_map< Symbol, double > attrs_type
Definition model_state.h:21
void set_attrs(attrs_type new_attrs)
Sets the attrs of this ModelState to new_attrs.
double time() const
Returns the time point, in seconds, that this state represents.
const SimTK::State & simbody_state() const
Returns the underlying SimTK::State (internal method: be careful with this).
const attrs_type & attrs() const
Returns this ModelState's metadata (e.g. integrator stats, performance counters).
Definition copy_on_upd_ptr.h:22
Definition custom_decoration_generator.h:6
Definition component_registry.h:14
ModelStateStage
Definition model_state_stage.h:11