#include <MultiVecId.h>
Identify a vector of a given type stored in multiple State instances This class is templated in order to create different variations (generic versus specific type, read-only vs write access)
Public Attributes | |
| MyVecId | id |
Public Member Functions | |
| StateVecAccessor (MyStatePtr st, const MyVecId &vecid) | |
| operator MyVecId () const | |
| auto * | read () const requires(vtype ! |
| MyVecId sofa::core::StateVecAccessor< DataTypes, vtype, vaccess >::id |
|
inline |
|
inline |
| auto* sofa::core::StateVecAccessor< DataTypes, vtype, vaccess >::read | ( | ) | const |