SOFA API  014b24ea
Open source framework for multi-physics simuation
sofa::component::controller::StateTester< DataTypes > Class Template Reference

#include <SleepController.h>

Inheritance diagram for sofa::component::controller::StateTester< DataTypes >:

Public Member Functions

virtual ~StateTester ()
 
bool canConvert (core::behavior::BaseMechanicalState *baseState) override
 
bool wantsToSleep (core::behavior::BaseMechanicalState *baseState, SReal speedThreshold, SReal rotationThreshold) override
 
template<>
bool wantsToSleep (core::behavior::BaseMechanicalState *baseState, SReal speedThreshold, SReal rotationThreshold)
 
template<>
bool wantsToSleep (core::behavior::BaseMechanicalState *baseState, SReal speedThreshold, SReal rotationThreshold)
 

Constructor details

template<class DataTypes >
sofa::component::controller::StateTester< DataTypes >::~StateTester ( )
virtual

Function details

template<class DataTypes >
bool sofa::component::controller::StateTester< DataTypes >::canConvert ( core::behavior::BaseMechanicalState baseState)
overridevirtual
template<class DataTypes >
bool sofa::component::controller::StateTester< DataTypes >::wantsToSleep ( core::behavior::BaseMechanicalState baseState,
SReal  speedThreshold,
SReal  rotationThreshold 
)
overridevirtual
template<>
bool sofa::component::controller::StateTester< defaulttype::Rigid2Types >::wantsToSleep ( core::behavior::BaseMechanicalState baseState,
SReal  speedThreshold,
SReal  rotationThreshold 
)
virtual
template<>
bool sofa::component::controller::StateTester< defaulttype::Rigid3Types >::wantsToSleep ( core::behavior::BaseMechanicalState baseState,
SReal  speedThreshold,
SReal  rotationThreshold 
)
virtual