MTemplateAction< ActionClass, CommandName, CommandSyntax
> Class Template Reference
[OpenMaya - API
module for common classes]
#include
<MTemplateCommand.h>
List of all
members.
Detailed Description
template<class ActionClass, const char * CommandName,
MCreateSyntaxFunction CommandSyntax>
class MTemplateAction< ActionClass, CommandName, CommandSyntax
>
Template class for non undoable actions.
Helper template class which make writing not undoable actions
easier.
- Parameters:
-
- ActionClass : derived from MPxCommand and used in the
creator()
method
- CommandName : name of the command
- CommandSyntax : function pointer to syntax creator
Member Function Documentation
template<class ActionClass, const char
* CommandName, MCreateSyntaxFunction CommandSyntax>
Plug-in registration method.
- Parameters:
-
[in] |
obj |
Plug-in object taken from the initializePlugin() entry
point. |
template<class ActionClass, const char
* CommandName, MCreateSyntaxFunction CommandSyntax>
Plug-in dregistration method.
- Parameters:
-
[in] |
obj |
Plug-in object taken from the initializePlugin() entry
point. |