#include <Link.h>
Container of single links in the scenegraph, from a given type of object (Owner) to another (Dest) More...
Container of single links in the scenegraph, from a given type of object (Owner) to another (Dest)
Public Attributes | |
Container | m_value |
OwnerType * | m_owner |
Protected Attributes | |
ValidatorFn | m_validator |
Public Member Functions | |
SingleLink () | |
SingleLink (const BaseLink::InitLink< OwnerType > &init) | |
SingleLink (const BaseLink::InitLink< OwnerType > &init, DestPtr val) | |
virtual | ~SingleLink () |
void | setValidator (ValidatorFn fn) |
DestType * | get () const |
void | reset () |
void | set (DestPtr v) |
void | set (DestPtr v, const std::string &path) |
void | setPath (const std::string &path) |
operator DestType * () const | |
Convenient operators to make a SingleLink appear as a regular pointer. More... | |
DestType * | operator-> () const |
DestType & | operator* () const |
DestPtr | operator= (DestPtr v) |
Protected Member Functions | |
void | added (DestPtr val, std::size_t) |
void | removed (DestPtr val, std::size_t) |
void | changed (DestPtr before, DestPtr val) |
OwnerType* sofa::core::objectmodel::TLink< TOwnerType, TDestType, TFlags >::m_owner |
|
protected |
Container sofa::core::objectmodel::TLink< TOwnerType, TDestType, TFlags >::m_value |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
|
inlineprotected |
|
inlineprotected |
|
inline |
|
inline |
Convenient operators to make a SingleLink appear as a regular pointer.
|
inline |
|
inline |
|
inline |
|
inlineprotected |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |