SOFA API  cd4ffb93
Open source framework for multi-physics simuation
sofa::core::StateVecAccessor< DataTypes, V_DERIV, V_READ > Struct Template Reference

#include <MultiVecId.h>

Protected Attributes

const State< DataTypes > * state
 
MyVecId id
 

Public Member Functions

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

Attribute details

◆ id

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

◆ state

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

Constructor details

◆ StateVecAccessor()

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

Function details

◆ operator MyVecId()

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

◆ read()

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