Package mrv :: Package maya :: Module scene :: Class _SceneEvent
[hide private]
[frames] | no frames]

Class _SceneEvent

source code

        object --+        
                 |        
        util.Event --+    
                     |    
util.CallbackEventBase --+
                         |
                        _SceneEvent

Implements Scene Callbacks
Nested Classes [hide private]
    Utility Classes

Inherited from util.CallbackEventBase: CBStorageFunction

Instance Methods [hide private]

Inherited from util.CallbackEventBase: __init__, __set__, remove, send

Inherited from util.Event: __call__, __get__, duplicate

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

    Subclass Implementation Needed
 
_getRegisterFunction(self, eventID)
Returns: MMessage::register* compatible callback function which can be used to register the given eventID
source code
    CallbackID handling
Class Variables [hide private]
  _checkCBSet = set((api.MSceneMessage.kBeforeNewCheck, api.MSce...
  _checkFileCBSet = set((api.MSceneMessage.kBeforeImportCheck, a...
  use_weakref = False
hash(x)
  remove_on_error = True
  weakref_sender = True

Inherited from util.Event: sender_as_argument

Inherited from util.Event (private): _curSender, _inst_event_attr

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

_getRegisterFunction(self, eventID)

source code 
Returns:
MMessage::register* compatible callback function which can be used to register the given eventID
Overrides: util.CallbackEventBase._getRegisterFunction
(inherited documentation)

Class Variable Details [hide private]

_checkCBSet

Value:
set((api.MSceneMessage.kBeforeNewCheck, api.MSceneMessage.kBeforeSaveC\
heck))

_checkFileCBSet

Value:
set((api.MSceneMessage.kBeforeImportCheck, api.MSceneMessage.kBeforeOp\
enCheck, api.MSceneMessage.kBeforeExportCheck, api.MSceneMessage.kBefo\
reReferenceCheck, api.MSceneMessage.kBeforeLoadReferenceCheck))