Cortex  10.0.0-a4
Public Member Functions | List of all members
IECoreMaya::CallbackId Class Reference

#include <CallbackId.h>

Public Member Functions

 CallbackId (MCallbackId id)
 
 ~CallbackId ()
 Calls MMessage::removeCallback() for the currently held callback.
 
const CallbackIdoperator= (MCallbackId id)
 

Detailed Description

A class to help with deregistering maya MMessage callbacks at the appropriate time.

Constructor & Destructor Documentation

IECoreMaya::CallbackId::CallbackId ( MCallbackId  id)

Stores the specified CallbackId id, calling MMessage::removeCallback() for it on destruction.

Member Function Documentation

const CallbackId& IECoreMaya::CallbackId::operator= ( MCallbackId  id)

Calls MMessage::removeCallback() for the currently held callback, and stores the new callback for later removal.


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