SOFA API  014b24ea
Open source framework for multi-physics simuation
sofa::core::StateVecAccessor< DataTypes, V_MATDERIV, V_WRITE > Struct Template Reference

#include <MultiVecId.h>

Protected Attributes

State< DataTypes > * state
 
MyVecId id
 

Public Member Functions

 StateVecAccessor (State< DataTypes > *state, const MyVecId &id)
 
 operator MyVecId () const
 
const MyDataVecread () const
 
MyDataVecwrite () const
 

Attribute details

template<class DataTypes >
MyVecId sofa::core::StateVecAccessor< DataTypes, V_MATDERIV, V_WRITE >::id
protected
template<class DataTypes >
State<DataTypes>* sofa::core::StateVecAccessor< DataTypes, V_MATDERIV, V_WRITE >::state
protected

Constructor details

template<class DataTypes >
sofa::core::StateVecAccessor< DataTypes, V_MATDERIV, V_WRITE >::StateVecAccessor ( State< DataTypes > *  state,
const MyVecId id 
)
inline

Function details

template<class DataTypes >
sofa::core::StateVecAccessor< DataTypes, V_MATDERIV, V_WRITE >::operator MyVecId ( ) const
inline
template<class DataTypes >
const MyDataVec* sofa::core::StateVecAccessor< DataTypes, V_MATDERIV, V_WRITE >::read ( ) const
inline
template<class DataTypes >
MyDataVec* sofa::core::StateVecAccessor< DataTypes, V_MATDERIV, V_WRITE >::write ( ) const
inline