Cortex  10.0.0-a4
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
IECoreMaya::PostLoadCallback Class Referenceabstract

#include <PostLoadCallback.h>

+ Inheritance diagram for IECoreMaya::PostLoadCallback:

Public Member Functions

 PostLoadCallback ()
 Construct a new callback instance.
 
- Public Member Functions inherited from IECore::RefCounted
 IE_CORE_DECLAREMEMBERPTR (RefCounted)
 
void addRef () const
 Add a reference to the current object.
 
void removeRef () const
 Remove a reference from the current object.
 
RefCount refCount () const
 Returns the current reference count.
 

Protected Member Functions

virtual void postLoad ()=0
 To be overridden by derived classes to implement custom behaviour.
 

Protected Attributes

PostLoadCallbackData * m_data
 

Friends

class PostLoadCallbackData
 

Additional Inherited Members

- Public Types inherited from IECore::RefCounted
typedef size_t RefCount
 

Detailed Description

A base class which executes a callback whenever a Maya scene is opened, referenced, or imported. In the case of opening a scene with many references, care is taken that only one callback is made once the entire scene is loaded, rather than a whole series of callbacks with the scene in various stages of validity. User-defined classes should derive from this, and implement any custom behaviour in the postLoad() method. All Maya callbacks are removed when the instance is deleted.


The documentation for this class was generated from the following file: