Simbody
Classes | Public Member Functions

SimTK::Measure_< T >::Constant Class Reference

This creates a Measure whose value is a Topology-stage constant of any type T. More...

#include <Measure.h>

Inheritance diagram for SimTK::Measure_< T >::Constant:

List of all members.

Classes

class  Implementation

Public Member Functions

 SimTK_MEASURE_HANDLE_PREAMBLE (Constant, Measure_< T >)
 Constant (const T &value)
 Constant (Subsystem &sub, const T &value)
ConstantsetValue (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 >)

Detailed Description

template<class T>
class SimTK::Measure_< T >::Constant

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.


Constructor & Destructor Documentation

template<class T>
SimTK::Measure_< T >::Constant::Constant ( const T &  value) [inline, explicit]
template<class T>
SimTK::Measure_< T >::Constant::Constant ( Subsystem sub,
const T &  value 
) [inline]

Member Function Documentation

template<class T>
SimTK::Measure_< T >::Constant::SimTK_MEASURE_HANDLE_PREAMBLE ( Constant  ,
Measure_< T >   
)
template<class 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.

template<class T>
SimTK::Measure_< T >::Constant::SimTK_MEASURE_HANDLE_POSTSCRIPT ( Constant  ,
Measure_< T >   
)

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines