CameraSet messages.
This class is used to register callbacks with cameraSet specific event types.
Using the addCallback() methods, a function can be registered that will be executed whenever the specific message/event occurs.
To remove a callback, use MMessage::removeCallback(). All callbacks that are registered by a plug-in must be removed by that plug-in when it is unloaded. Failure to do so will result in a fatal error.
#include <MCameraSetMessage.h>
Static Public Member Functions |
|
static MCallbackId | addCameraLayerCallback (MMessage::MCameraLayerFunction func, void *clientData=NULL, MStatus *ReturnStatus=NULL) |
Registers callbacks for adding and removing
camera layeres. |
|
static MCallbackId | addCameraChangedCallback (MMessage::MCameraLayerCameraFunction func, void *clientData=NULL, MStatus *ReturnStatus=NULL) |
Registers callbacks for camera assignment
changes to a camera layer. |
|
static const char * | className () |
Returns the name of this class. |
MCallbackId addCameraLayerCallback | ( | MMessage::MCameraLayerFunction | func, |
void * | clientData = NULL , |
||
MStatus * | ReturnStatus =
NULL |
||
) | [static] |
Registers callbacks for adding and removing camera layeres.
[in] | func | the callback function |
[in] | clientData | user data that will be passed to the callback function |
[out] | ReturnStatus | Status code |
MCallbackId addCameraChangedCallback | ( | MMessage::MCameraLayerCameraFunction | func, |
void * | clientData = NULL , |
||
MStatus * | ReturnStatus =
NULL |
||
) | [static] |
Registers callbacks for camera assignment changes to a camera layer.
[in] | func | the callback function |
[in] | clientData | user data that will be passed to the callback function |
[out] | ReturnStatus | Status code |
const char * className | ( | ) | [static] |