17#ifndef AGX_SIMULATIONPARAMETER_H
18#define AGX_SIMULATIONPARAMETER_H
73 virtual void set(
const T& value);
74 virtual const T&
get()
const;
105 template <
typename T>
108 return m_value->get();
111 template <
typename T>
117 template <
typename T>
120 return m_value.
get();
123 template <
typename T>
126 set(value->
get<T>());
129 template <
typename T>
134 template <
typename T>
139 template <
typename T>
142 return m_value->getFormat();
#define AGX_DECLARE_POINTER_TYPES(type)
#define AGXPHYSICS_EXPORT
#define AGX_DECLARE_VECTOR_TYPES(type)
Templated value-reference.
Abstract representation of a value.
virtual const agxData::Value * getValue() const override
virtual void setValue(agxData::Value *value) override
virtual const agxData::Format * getFormat() const override
SimulationParameterT(const agx::Name &name, const T &initialValue=T())
virtual bool hasGetter() const override
virtual void set(const T &value)
virtual ~SimulationParameterT()
virtual const T & get() const
virtual bool hasSetter() const override
void setDescription(const agx::String &description)
agxSDK::Simulation * getSimulation()
virtual const agxData::Format * getFormat() const =0
virtual bool hasGetter() const =0
virtual bool hasSetter() const =0
virtual void removeNotification(agxSDK::Simulation *simulation)
void setName(const agx::Name &name)
virtual ~SimulationParameter()
const agx::String & getDescription() const
virtual void addNotification(agxSDK::Simulation *simulation)
virtual const agxData::Value * getValue() const =0
SimulationParameter(const agx::Name &name)
const agx::Name & getName() const
virtual void setValue(agxData::Value *value)=0
Simulation is a class that bridges the collision space agxCollide::Space and the dynamic simulation s...
Representation of a name string.
Base class providing referencing counted objects.
The agxSDK namespace contain classes to bridge the collision detection system and the dynamical simul...