OpenMaya.MContainerMessage Class Reference

OpenMaya.MContainerMessage Class Reference

Class Description

Class used to register callbacks for container related messages.

Method resolution order:
-   MContainerMessage
-   MMessage
-   __builtin__.object
+ Inheritance diagram for OpenMaya.MContainerMessage:

Static Public Member Functions

addBoundAttrCallback ()
 
addPublishAttrCallback ()
 
- Static Public Member Functions inherited from OpenMaya.MMessage
currentCallbackId ()
 
nodeCallbacks ()
 
removeCallback ()
 
removeCallbacks ()
 

Additional Inherited Members

- Static Public Attributes inherited from OpenMaya.MMessage
int kDefaultAction = 0
 
int kDoAction = 2
 
int kDoNotDoAction = 1
 

Member Function Documentation

OpenMaya.MContainerMessage.addBoundAttrCallback ( )
static
addBoundAttrCallback(function, clientData=None) -> id

This method registers a callback that is called whenever an attribute
is bound or unbound on a container.

 * function - callable which will be passed a Node (the container)
   ,a string indicating the name of the bound attr, and
   the clientData object.
 * clientData - User defined data passed to the callback function

 * return: Identifier used for removing the callback.
OpenMaya.MContainerMessage.addPublishAttrCallback ( )
static
addPublishAttrCallback(function, clientData=None) -> id

This method registers a callback that is called whenever an attribute
is published or unpublished from a container.

 * function - callable which will be passed a Node (the container)
   ,a string indicating the name of the published attr, and
   the clientData object.
 * clientData - User defined data passed to the callback function

 * return: Identifier used for removing the callback.