Clarisse 5.0 SP8 SDK  5.0.5.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Friends | List of all members
OfProxy< T > Class Template Reference
Inheritance diagram for OfProxy< T >:
CoreBaseObject CoreBaseType

Public Member Functions

 OfProxy (T handle=T::s_empty_handle)
 
 OfProxy (const OfProxy< T > &other)
 
virtual ~OfProxy ()
 
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
 
- Public Member Functions inherited from CoreBaseObject
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 CoreClassInfoget_class_info () const
 
template<class T >
T * cast ()
 
template<class T >
const T * cast () const
 
- Public Member Functions inherited from CoreBaseType
bool is_kindof (const CoreClassInfo &cinfo) const
 

Friends

template<class >
class OfProxyListener
 

Additional Inherited Members

- Static Public Member Functions inherited from CoreBaseObject
static const CoreClassInfoclass_info ()
 
template<class T >
static T * cast (CoreBaseObject *object)
 
template<class T >
static const T * cast (const CoreBaseObject *object)
 

Detailed Description

template<class T>
class OfProxy< T >

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 :

Constructor & Destructor Documentation

template<class T >
OfProxy< T >::OfProxy ( handle = T::s_empty_handle)

Constructor

template<class T >
OfProxy< T >::OfProxy ( const OfProxy< T > &  other)

Copy constructor

template<class T >
OfProxy< T >::~OfProxy ( )
virtual

Destructor

Member Function Documentation

template<class T >
OfProxyId OfProxy< T >::get_id ( ) const

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.

template<class T >
bool OfProxy< T >::operator!= ( const OfProxy< T > &  other) const

Inequality operator

template<class T >
OfProxy< T > & OfProxy< T >::operator= ( const OfProxy< T > &  other)

Copy assignement

template<class T >
OfProxy< T > & OfProxy< T >::operator= ( OfProxy< T > &&  other)

Move assignement

template<class T >
bool OfProxy< T >::operator== ( const OfProxy< T > &  other) const

Equality operator