Cortex
10.0.0-a4
|
#include <CallbackId.h>
Public Member Functions | |
CallbackId (MCallbackId id) | |
~CallbackId () | |
Calls MMessage::removeCallback() for the currently held callback. | |
const CallbackId & | operator= (MCallbackId id) |
A class to help with deregistering maya MMessage callbacks at the appropriate time.
IECoreMaya::CallbackId::CallbackId | ( | MCallbackId | id | ) |
Stores the specified CallbackId id, calling MMessage::removeCallback() for it on destruction.
const CallbackId& IECoreMaya::CallbackId::operator= | ( | MCallbackId | id | ) |
Calls MMessage::removeCallback() for the currently held callback, and stores the new callback for later removal.