Clarisse 5.0 SP8 SDK
5.0.5.8.0
|
Public Member Functions | |
OfProxy (T handle=T::s_empty_handle) | |
OfProxy (const OfProxy< T > &other) | |
virtual | ~OfProxy () |
T | get () const |
T & | get () |
bool | is_valid () const |
OfProxyId | get_id () const |
OfProxy< T > & | operator= (const OfProxy< T > &other) |
OfProxy< T > & | operator= (OfProxy< T > &&other) |
bool | operator== (const OfProxy< T > &other) const |
bool | operator!= (const OfProxy< T > &other) const |
![]() | |
bool | is_kindof (const CoreBaseObject &object) const |
virtual size_t | get_memory_size () const |
CoreString | get_class_info_name () const |
const unsigned long & | get_class_info_id () const |
virtual bool | is_kindof (const CoreClassInfo &cinfo) const |
virtual const CoreClassInfo & | get_class_info () const |
template<class T > | |
T * | cast () |
template<class T > | |
const T * | cast () const |
![]() | |
bool | is_kindof (const CoreClassInfo &cinfo) const |
Friends | |
template<class > | |
class | OfProxyListener |
Additional Inherited Members | |
![]() | |
static const CoreClassInfo & | class_info () |
template<class T > | |
static T * | cast (CoreBaseObject *object) |
template<class T > | |
static const T * | cast (const CoreBaseObject *object) |
After a scene assembly context is updated because of a modification of the scene, a handle of an item/plug inside this context may then be invalid. OfProxies allows to work with handles of items/plugs without being worried about updating the handle after any scene modifications.
Few words about the Of Proxies :
The underlying handle is syncronized with the item/plug :
If the underlying item or plug is inside a scene assembly context, it returns an ID of this item or plug inside this context, otherwise it returns a null ID.
Inequality operator
Copy assignement