SOFA API  f2f0b108
Open source framework for multi-physics simuation
sofa::component::statecontainer Namespace Reference

Classes

class  MappedObjectInternalData
 This class can be overridden if needed for additional storage within template specializations. More...
 
class  MappedObject
 
class  MechanicalObject
 This class can be overridden if needed for additional storage within template specializations. More...
 
class  MechanicalObjectInternalData
 

Typedefs

typedef std::size_t nat
 

Functions

void registerMechanicalObject (sofa::core::ObjectFactory *factory)
 
void registerMappedObject (sofa::core::ObjectFactory *factory)
 
SOFA_EXPORT_DYNAMIC_LIBRARY void initExternalModule ()
 
SOFA_EXPORT_DYNAMIC_LIBRARY const chargetModuleName ()
 
SOFA_EXPORT_DYNAMIC_LIBRARY const chargetModuleVersion ()
 
SOFA_EXPORT_DYNAMIC_LIBRARY void registerObjects (sofa::core::ObjectFactory *factory)
 
void init ()
 
template<core::VecType vtype, class DataTypes >
bool vOp_vf (MechanicalObject< DataTypes > &self, core::VecId v, Real_t< DataTypes > f)
 
template<core::VecType vtype, core::VecType btype, class DataTypes >
bool vOp_vbf (MechanicalObject< DataTypes > &self, core::VecId v, core::ConstVecId b, Real_t< DataTypes > f)
 
template<core::VecType vtype, core::VecType btype, class DataTypes >
bool vOp_va (MechanicalObject< DataTypes > &self, core::VecId v, core::ConstVecId b, Real_t< DataTypes > f)
 
template<core::VecType vtype, core::VecType btype, class DataTypes >
bool vOp_vb (MechanicalObject< DataTypes > &self, core::VecId v, core::ConstVecId b, Real_t< DataTypes > f)
 
template<core::VecType vtype, core::VecType btype, class DataTypes >
bool vOp_avf (MechanicalObject< DataTypes > &self, core::VecId v, core::ConstVecId b, Real_t< DataTypes > f)
 
template<core::VecType vtype, core::VecType btype, class DataTypes >
bool vOp_v_inc_bf (MechanicalObject< DataTypes > &self, core::VecId v, core::ConstVecId b, Real_t< DataTypes > f)
 
template<core::VecType vtype, core::VecType atype, core::VecType btype, class DataTypes >
bool vOp_vab (MechanicalObject< DataTypes > &self, core::VecId v, core::ConstVecId a, core::ConstVecId b, Real_t< DataTypes > f)
 
template<core::VecType vtype, core::VecType atype, core::VecType btype, class DataTypes >
bool vOp_vabf (MechanicalObject< DataTypes > &self, core::VecId v, core::ConstVecId a, core::ConstVecId b, Real_t< DataTypes > f)
 
template<class T >
void clear (T &t)
 
template<>
void clear (float &t)
 
template<>
void clear (double &t)
 

Variables

template class SOFA_COMPONENT_STATECONTAINER_API MappedObject< Vec1Types >
 
template class SOFA_COMPONENT_STATECONTAINER_API MappedObject< Vec2Types >
 
template class SOFA_COMPONENT_STATECONTAINER_API MappedObject< Vec3Types >
 
template class SOFA_COMPONENT_STATECONTAINER_API MappedObject< Vec6Types >
 
template class SOFA_COMPONENT_STATECONTAINER_API MappedObject< Rigid3Types >
 
template class SOFA_COMPONENT_STATECONTAINER_API MappedObject< Rigid2Types >
 
template class SOFA_COMPONENT_STATECONTAINER_API MechanicalObject< Vec3Types >
 
template class SOFA_COMPONENT_STATECONTAINER_API MechanicalObject< Vec2Types >
 
template class SOFA_COMPONENT_STATECONTAINER_API MechanicalObject< Vec1Types >
 
template class SOFA_COMPONENT_STATECONTAINER_API MechanicalObject< Vec6Types >
 
template class SOFA_COMPONENT_STATECONTAINER_API MechanicalObject< Rigid3Types >
 
template class SOFA_COMPONENT_STATECONTAINER_API MechanicalObject< Rigid2Types >
 

Typedef Documentation

◆ nat

Function Documentation

◆ clear() [1/3]

template<>
void sofa::component::statecontainer::clear ( double &  t)
inline

◆ clear() [2/3]

template<>
void sofa::component::statecontainer::clear ( float t)
inline

◆ clear() [3/3]

template<class T >
void sofa::component::statecontainer::clear ( T &  t)
inline

◆ getModuleName()

const char * sofa::component::statecontainer::getModuleName ( )

◆ getModuleVersion()

const char * sofa::component::statecontainer::getModuleVersion ( )

◆ init()

SOFA_COMPONENT_STATECONTAINER_API void sofa::component::statecontainer::init ( )

◆ initExternalModule()

void sofa::component::statecontainer::initExternalModule ( )

◆ registerMappedObject()

void sofa::component::statecontainer::registerMappedObject ( sofa::core::ObjectFactory factory)

◆ registerMechanicalObject()

void sofa::component::statecontainer::registerMechanicalObject ( sofa::core::ObjectFactory factory)

◆ registerObjects()

void sofa::component::statecontainer::registerObjects ( sofa::core::ObjectFactory factory)

◆ vOp_avf()

template<core::VecType vtype, core::VecType btype, class DataTypes >
bool sofa::component::statecontainer::vOp_avf ( MechanicalObject< DataTypes > &  self,
core::VecId  v,
core::ConstVecId  b,
Real_t< DataTypes f 
)

◆ vOp_v_inc_bf()

template<core::VecType vtype, core::VecType btype, class DataTypes >
bool sofa::component::statecontainer::vOp_v_inc_bf ( MechanicalObject< DataTypes > &  self,
core::VecId  v,
core::ConstVecId  b,
Real_t< DataTypes f 
)

◆ vOp_va()

template<core::VecType vtype, core::VecType btype, class DataTypes >
bool sofa::component::statecontainer::vOp_va ( MechanicalObject< DataTypes > &  self,
core::VecId  v,
core::ConstVecId  b,
Real_t< DataTypes f 
)

◆ vOp_vab()

template<core::VecType vtype, core::VecType atype, core::VecType btype, class DataTypes >
bool sofa::component::statecontainer::vOp_vab ( MechanicalObject< DataTypes > &  self,
core::VecId  v,
core::ConstVecId  a,
core::ConstVecId  b,
Real_t< DataTypes f 
)

◆ vOp_vabf()

template<core::VecType vtype, core::VecType atype, core::VecType btype, class DataTypes >
bool sofa::component::statecontainer::vOp_vabf ( MechanicalObject< DataTypes > &  self,
core::VecId  v,
core::ConstVecId  a,
core::ConstVecId  b,
Real_t< DataTypes f 
)

◆ vOp_vb()

template<core::VecType vtype, core::VecType btype, class DataTypes >
bool sofa::component::statecontainer::vOp_vb ( MechanicalObject< DataTypes > &  self,
core::VecId  v,
core::ConstVecId  b,
Real_t< DataTypes f 
)

◆ vOp_vbf()

template<core::VecType vtype, core::VecType btype, class DataTypes >
bool sofa::component::statecontainer::vOp_vbf ( MechanicalObject< DataTypes > &  self,
core::VecId  v,
core::ConstVecId  b,
Real_t< DataTypes f 
)

◆ vOp_vf()

template<core::VecType vtype, class DataTypes >
bool sofa::component::statecontainer::vOp_vf ( MechanicalObject< DataTypes > &  self,
core::VecId  v,
Real_t< DataTypes f 
)

Variable Documentation

◆ MappedObject< Rigid2Types >

template class SOFA_COMPONENT_STATECONTAINER_API sofa::component::statecontainer::MappedObject< Rigid2Types >

◆ MappedObject< Rigid3Types >

template class SOFA_COMPONENT_STATECONTAINER_API sofa::component::statecontainer::MappedObject< Rigid3Types >

◆ MappedObject< Vec1Types >

template class SOFA_COMPONENT_STATECONTAINER_API sofa::component::statecontainer::MappedObject< Vec1Types >

◆ MappedObject< Vec2Types >

template class SOFA_COMPONENT_STATECONTAINER_API sofa::component::statecontainer::MappedObject< Vec2Types >

◆ MappedObject< Vec3Types >

template class SOFA_COMPONENT_STATECONTAINER_API sofa::component::statecontainer::MappedObject< Vec3Types >

◆ MappedObject< Vec6Types >

template class SOFA_COMPONENT_STATECONTAINER_API sofa::component::statecontainer::MappedObject< Vec6Types >

◆ MechanicalObject< Rigid2Types >

template class SOFA_COMPONENT_STATECONTAINER_API sofa::component::statecontainer::MechanicalObject< Rigid2Types >

◆ MechanicalObject< Rigid3Types >

template class SOFA_COMPONENT_STATECONTAINER_API sofa::component::statecontainer::MechanicalObject< Rigid3Types >

◆ MechanicalObject< Vec1Types >

template class SOFA_COMPONENT_STATECONTAINER_API sofa::component::statecontainer::MechanicalObject< Vec1Types >

◆ MechanicalObject< Vec2Types >

template class SOFA_COMPONENT_STATECONTAINER_API sofa::component::statecontainer::MechanicalObject< Vec2Types >

◆ MechanicalObject< Vec3Types >

template class SOFA_COMPONENT_STATECONTAINER_API sofa::component::statecontainer::MechanicalObject< Vec3Types >

◆ MechanicalObject< Vec6Types >

template class SOFA_COMPONENT_STATECONTAINER_API sofa::component::statecontainer::MechanicalObject< Vec6Types >