Simbody
3.4 (development)
|
#include <MeasureImplementation.h>
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. | |
Implementation * | cloneVirtual () const override |
Stage | getDependsOnStageVirtual (int derivOrder) const override |
int | getNumTimeDerivativesVirtual () const override |
SimTK::Measure_< T >::Constant::Implementation::Implementation | ( | ) | [inline] |
This default constructor is for use by concrete measure implementation classes.
Reimplemented from SimTK::AbstractMeasure::Implementation.
SimTK::Measure_< T >::Constant::Implementation::Implementation | ( | const T & | value | ) | [inline, explicit] |
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.
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.
Implementation* SimTK::Measure_< T >::Constant::Implementation::cloneVirtual | ( | ) | const [inline, override, virtual] |
Implements SimTK::AbstractMeasure::Implementation.
Stage SimTK::Measure_< T >::Constant::Implementation::getDependsOnStageVirtual | ( | int | derivOrder | ) | const [inline, override, virtual] |
Implements SimTK::AbstractMeasure::Implementation.
int SimTK::Measure_< T >::Constant::Implementation::getNumTimeDerivativesVirtual | ( | ) | const [inline, override, virtual] |
Reimplemented from SimTK::AbstractMeasure::Implementation.