SOFA API  6a688117
Open source framework for multi-physics simuation
sofa::helper::WriteOnlyAccessor< core::objectmodel::Data< T > > Class Template Reference

#include <Data.h>

The WriteOnlyAccessor provides an access to the Data without triggering an engine update. This should be the prefered writeAccessor for most of the cases as it avoids uncessary Data updates. More...

Inheritance diagram for sofa::helper::WriteOnlyAccessor< core::objectmodel::Data< T > >:

Detailed Description

template<class T>
class sofa::helper::WriteOnlyAccessor< core::objectmodel::Data< T > >

The WriteOnlyAccessor provides an access to the Data without triggering an engine update. This should be the prefered writeAccessor for most of the cases as it avoids uncessary Data updates.

Warning
read access to the Data is NOT up-to-date

Public Member Functions

 WriteOnlyAccessor (const WriteOnlyAccessor &)
 
WriteOnlyAccessoroperator= (const WriteOnlyAccessor &)
 
 WriteOnlyAccessor (data_container_type &d)
 
 WriteOnlyAccessor (data_container_type *d)
 
 WriteOnlyAccessor (const core::ExecParams *, data_container_type &d)
 
 WriteOnlyAccessor (const core::ExecParams *, data_container_type *d)
 
- Public Member Functions inherited from sofa::helper::WriteAccessor< core::objectmodel::Data< T > >
 WriteAccessor (const WriteAccessor &)
 
WriteAccessoroperator= (const WriteAccessor &)
 
 WriteAccessor (data_container_type &d)
 
 WriteAccessor (data_container_type *d)
 
 WriteAccessor (const core::ExecParams *, data_container_type &d)
 
 WriteAccessor (const core::ExecParams *, data_container_type *d)
 
 ~WriteAccessor ()
 
- Public Member Functions inherited from sofa::helper::WriteAccessor< T >
 WriteAccessor (container_type &container)
 
const_reference ref () const
 
reference wref ()
 
 operator const_reference () const
 
const_pointer operator-> () const
 
const_reference operator* () const
 
 operator reference ()
 
pointer operator-> ()
 
reference operator* ()
 
template<class T2 >
void operator= (const T2 &v)
 

Additional Inherited Members

- Protected Attributes inherited from sofa::helper::WriteAccessor< core::objectmodel::Data< T > >
data_container_typedata
 
- Protected Attributes inherited from sofa::helper::WriteAccessor< T >
container_typevref
 
- Protected Member Functions inherited from sofa::helper::WriteAccessor< core::objectmodel::Data< T > >
 WriteAccessor (container_type *c, data_container_type &d)
 

Constructor details

Function details