Simbody
|
This creates a Measure whose value is a Topology-stage constant of any type T. More...
#include <Measure.h>
Classes | |
class | Implementation |
Public Member Functions | |
SimTK_MEASURE_HANDLE_PREAMBLE (Constant, Measure_< T >) | |
Constant (const T &value) | |
Constant (Subsystem &sub, const T &value) | |
Constant & | setValue (const T &value) |
Note that this does not require a State since it is a Topology-stage change. | |
SimTK_MEASURE_HANDLE_POSTSCRIPT (Constant, Measure_< T >) |
This creates a Measure whose value is a Topology-stage constant of any type T.
This does not have to be part of a Subsystem, but if it is then changing the constant's value invalidates the containing Subsystem's Topology.
SimTK::Measure_< T >::Constant::Constant | ( | const T & | value | ) | [inline, explicit] |
SimTK::Measure_< T >::Constant::Constant | ( | Subsystem & | sub, |
const T & | value | ||
) | [inline] |
SimTK::Measure_< T >::Constant::SimTK_MEASURE_HANDLE_PREAMBLE | ( | Constant | , |
Measure_< T > | |||
) |
Constant& SimTK::Measure_< T >::Constant::setValue | ( | const T & | value | ) | [inline] |
Note that this does not require a State since it is a Topology-stage change.
SimTK::Measure_< T >::Constant::SimTK_MEASURE_HANDLE_POSTSCRIPT | ( | Constant | , |
Measure_< T > | |||
) |