MTemplateCommand< CommandClass, CommandName, CommandSyntax
> Class Template Reference
[OpenMaya - API
module for common classes]
#include <MTemplateCommand.h>
List of all
members.
Detailed Description
template<class CommandClass, const char * CommandName,
MCreateSyntaxFunction CommandSyntax>
class MTemplateCommand< CommandClass, CommandName, CommandSyntax
>
Template class for undoable commands.
Helper template class which make writing undoable commands
easier.
- Parameters:
-
- CommandClass : derived from MPxCommand and used in the
creator()
method
- CommandName : name of the command
- CommandSyntax : function pointer to syntax creator
|
Public Member Functions
|
virtual bool |
isUndoable
() const |
|
Define the command as undoable.
|