SOFA API  cd4ffb93
Open source framework for multi-physics simuation
sofa::core::StateVecAccessor< DataTypes, V_DERIV, 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

◆ id

template<class DataTypes >
MyVecId sofa::core::StateVecAccessor< DataTypes, V_DERIV, V_WRITE >::id
protected

◆ state

template<class DataTypes >
State<DataTypes>* sofa::core::StateVecAccessor< DataTypes, V_DERIV, V_WRITE >::state
protected

Constructor details

◆ StateVecAccessor()

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

Function details

◆ operator MyVecId()

template<class DataTypes >
sofa::core::StateVecAccessor< DataTypes, V_DERIV, V_WRITE >::operator MyVecId ( ) const
inline

◆ read()

template<class DataTypes >
const MyDataVec* sofa::core::StateVecAccessor< DataTypes, V_DERIV, V_WRITE >::read ( ) const
inline

◆ write()

template<class DataTypes >
MyDataVec* sofa::core::StateVecAccessor< DataTypes, V_DERIV, V_WRITE >::write ( ) const
inline