Simbody
|
This creates a Measure whose value is a discrete State variable of any type T. More...
#include <Measure.h>
Classes | |
class | Implementation |
Public Member Functions | |
SimTK_MEASURE_HANDLE_PREAMBLE (Variable, Measure_< T >) | |
Variable (Subsystem &sub, Stage invalidates, const T &defaultValue) | |
Variable & | setDefaultValue (const T &defaultValue) |
Note that this does not require a State since it is a Topology-stage change. | |
const T & | getDefaultValue () const |
void | setValue (State &state, const T &value) const |
SimTK_MEASURE_HANDLE_POSTSCRIPT (Variable, Measure_< T >) |
This creates a Measure whose value is a discrete State variable of any type T.
SimTK::Measure_< T >::Variable::Variable | ( | Subsystem & | sub, |
Stage | invalidates, | ||
const T & | defaultValue | ||
) | [inline] |
SimTK::Measure_< T >::Variable::SimTK_MEASURE_HANDLE_PREAMBLE | ( | Variable | , |
Measure_< T > | |||
) |
Variable& SimTK::Measure_< T >::Variable::setDefaultValue | ( | const T & | defaultValue | ) | [inline] |
Note that this does not require a State since it is a Topology-stage change.
const T& SimTK::Measure_< T >::Variable::getDefaultValue | ( | ) | const [inline] |
void SimTK::Measure_< T >::Variable::setValue | ( | State & | state, |
const T & | value | ||
) | const [inline] |
SimTK::Measure_< T >::Variable::SimTK_MEASURE_HANDLE_POSTSCRIPT | ( | Variable | , |
Measure_< T > | |||
) |