Simbody
3.4 (development)
|
#include <MeasureImplementation.h>
Public Member Functions | |
Implementation () | |
This default constructor is for use by concrete measure implementation classes. | |
Implementation (const Measure_< T > &source, Real delay) | |
void | setSourceMeasure (const Measure_< T > &source) |
void | setDelay (Real delay) |
void | setUseLinearInterpolationOnly (bool linearOnly) |
void | setCanUseCurrentValue (bool canUseCurrentValue) |
const Measure_< T > & | getSourceMeasure () const |
Real | getDelay () const |
bool | getUseLinearInterpolationOnly () const |
bool | getCanUseCurrentValue () const |
Implementation * | cloneVirtual () const override |
int | getNumTimeDerivativesVirtual () const override |
Stage | getDependsOnStageVirtual (int order) const override |
void | calcCachedValueVirtual (const State &s, int derivOrder, T &value) const override |
Concrete measures must override this if the state cache is used for precalculated values or derivatives. | |
void | initializeVirtual (State &s) const override |
void | realizeMeasureTopologyVirtual (State &s) const override |
Concrete measures can override this to allocate Topology-stage resources. | |
void | realizeMeasureAccelerationVirtual (const State &s) const override |
In case no one has updated the value of this measure yet, we have to make sure it gets updated before the integration moves ahead. | |
void | updateBuffer (const State &s) const |
SimTK::Measure_< T >::Delay::Implementation::Implementation | ( | ) | [inline] |
This default constructor is for use by concrete measure implementation classes.
Reimplemented from SimTK::AbstractMeasure::Implementation.
SimTK::Measure_< T >::Delay::Implementation::Implementation | ( | const Measure_< T > & | source, |
Real | delay | ||
) | [inline] |
void SimTK::Measure_< T >::Delay::Implementation::setSourceMeasure | ( | const Measure_< T > & | source | ) | [inline] |
void SimTK::Measure_< T >::Delay::Implementation::setDelay | ( | Real | delay | ) | [inline] |
void SimTK::Measure_< T >::Delay::Implementation::setUseLinearInterpolationOnly | ( | bool | linearOnly | ) | [inline] |
void SimTK::Measure_< T >::Delay::Implementation::setCanUseCurrentValue | ( | bool | canUseCurrentValue | ) | [inline] |
const Measure_<T>& SimTK::Measure_< T >::Delay::Implementation::getSourceMeasure | ( | ) | const [inline] |
Real SimTK::Measure_< T >::Delay::Implementation::getDelay | ( | ) | const [inline] |
bool SimTK::Measure_< T >::Delay::Implementation::getUseLinearInterpolationOnly | ( | ) | const [inline] |
bool SimTK::Measure_< T >::Delay::Implementation::getCanUseCurrentValue | ( | ) | const [inline] |
Implementation* SimTK::Measure_< T >::Delay::Implementation::cloneVirtual | ( | ) | const [inline, override, virtual] |
Implements SimTK::AbstractMeasure::Implementation.
int SimTK::Measure_< T >::Delay::Implementation::getNumTimeDerivativesVirtual | ( | ) | const [inline, override, virtual] |
Reimplemented from SimTK::AbstractMeasure::Implementation.
Stage SimTK::Measure_< T >::Delay::Implementation::getDependsOnStageVirtual | ( | int | order | ) | const [inline, override, virtual] |
Implements SimTK::AbstractMeasure::Implementation.
void SimTK::Measure_< T >::Delay::Implementation::calcCachedValueVirtual | ( | const State & | , |
int | derivOrder, | ||
T & | value | ||
) | const [inline, override, virtual] |
Concrete measures must override this if the state cache is used for precalculated values or derivatives.
Reimplemented from SimTK::Measure_< T >::Implementation.
void SimTK::Measure_< T >::Delay::Implementation::initializeVirtual | ( | State & | s | ) | const [inline, override, virtual] |
Reimplemented from SimTK::AbstractMeasure::Implementation.
void SimTK::Measure_< T >::Delay::Implementation::realizeMeasureTopologyVirtual | ( | State & | ) | const [inline, override, virtual] |
Concrete measures can override this to allocate Topology-stage resources.
Reimplemented from SimTK::Measure_< T >::Implementation.
void SimTK::Measure_< T >::Delay::Implementation::realizeMeasureAccelerationVirtual | ( | const State & | s | ) | const [inline, override, virtual] |
In case no one has updated the value of this measure yet, we have to make sure it gets updated before the integration moves ahead.
Reimplemented from SimTK::AbstractMeasure::Implementation.
void SimTK::Measure_< T >::Delay::Implementation::updateBuffer | ( | const State & | s | ) | const [inline] |