Simbody  3.4 (development)
SimTK::Measure_< T >::Constant::Implementation Class Reference

#include <MeasureImplementation.h>

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

List of all members.

Public Member Functions

 Implementation ()
 This default constructor is for use by concrete measure implementation classes.
 Implementation (const T &value)
void setValue (const T &v)
 Changing the value of a Constant measure is a topological change; if this is a Vector measure you can change the size here too.
const T & getUncachedValueVirtual (const State &, int derivOrder) const override
 This is only called when derivOrder >= the number of cache entries we have, but still <= the number of derivatives the Measure says it can deliver.
ImplementationcloneVirtual () const override
Stage getDependsOnStageVirtual (int derivOrder) const override
int getNumTimeDerivativesVirtual () const override

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


Constructor & Destructor Documentation

template<class T>
SimTK::Measure_< T >::Constant::Implementation::Implementation ( ) [inline]

This default constructor is for use by concrete measure implementation classes.

Reimplemented from SimTK::AbstractMeasure::Implementation.

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

Member Function Documentation

template<class T>
void SimTK::Measure_< T >::Constant::Implementation::setValue ( const T &  v) [inline]

Changing the value of a Constant measure is a topological change; if this is a Vector measure you can change the size here too.

template<class T>
const T& SimTK::Measure_< T >::Constant::Implementation::getUncachedValueVirtual ( const State ,
int  derivOrder 
) const [inline, override, virtual]

This is only called when derivOrder >= the number of cache entries we have, but still <= the number of derivatives the Measure says it can deliver.

You don't need to override this if that condition can't occur. This is commonly used for functions whose derivatives above a certain order are zero.

Reimplemented from SimTK::Measure_< T >::Implementation.

template<class T>
Implementation* SimTK::Measure_< T >::Constant::Implementation::cloneVirtual ( ) const [inline, override, virtual]
template<class T>
Stage SimTK::Measure_< T >::Constant::Implementation::getDependsOnStageVirtual ( int  derivOrder) const [inline, override, virtual]
template<class T>
int SimTK::Measure_< T >::Constant::Implementation::getNumTimeDerivativesVirtual ( ) const [inline, override, virtual]

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