MTemplateContextCommand< ContextCommandName,
ContextCommandClass, ContextClass > Class Template
Reference
[OpenMayaUI
- API module for user interface]
#include
<MTemplateManipulator.h>
List of
all members.
Detailed Description
template<const char * ContextCommandName, class
ContextCommandClass, class ContextClass>
class MTemplateContextCommand< ContextCommandName,
ContextCommandClass, ContextClass >
Template class for context commands.
Template helper to build command that is used to create
context.
- Parameters:
- 
| [in] | ContextCommandName | : string name of context command |  
| [in] | ContextCommandClass | : context command derived from MPxContextCommand |  
| [in] | ContextClass | : context derived from MPxSelectionContext |  
 
Member Function Documentation
template<const char *
ContextCommandName, class ContextCommandClass, class
ContextClass>
 
Plug-in registration method.
- Parameters:
- 
| [in] | obj | plugin object taken from the initializePlugin() entry
point. |  
 
 
 
template<const char *
ContextCommandName, class ContextCommandClass, class
ContextClass>
 
Plug-in deregistration method.
- Parameters:
- 
| [in] | obj | plugin object taken from the initializePlugin() entry
point. |