#include <MTemplateCommand.h>


Helper template class which make writing not undoable actions easier.
Public Member Functions | |
| MTemplateAction () | |
| Default constructor. | |
| virtual MStatus | doIt (const MArgList &) |
| Execution of the action. Default behaviour is failure. | |
Static Public Member Functions | |
| static void * | creator () |
| Method called by Maya to create an instance of this class. | |
| static MStatus | registerCommand (MObject obj) |
| static MStatus | deregisterCommand (MObject obj) |
| static MStatus MTemplateAction< ActionClass, CommandName, CommandSyntax >::registerCommand | ( | MObject | obj | ) | [inline, static] |
Plug-in registration method.
| [in] | obj | Plug-in object taken from the initializePlugin() entry point. |
| static MStatus MTemplateAction< ActionClass, CommandName, CommandSyntax >::deregisterCommand | ( | MObject | obj | ) | [inline, static] |
Plug-in dregistration method.
| [in] | obj | Plug-in object taken from the initializePlugin() entry point. |
| Autodesk® Maya® 2010 © 1997-2009 Autodesk, Inc. All rights reserved. |
Generated with
|