3ds Max C++ API Reference
|
An ActionContext is an identifier of a group of keyboard shortcuts. More...
#include <C:/adskgit/3dsmax/3dsmax/3dswin/src/maxsdk/include/actiontable_REMOTE_92.h>
Public Member Functions | |
ActionContext (ActionContextId contextId, const MSTR &pName) | |
Initialize the context ID and the name from the passed arguments. | |
const MSTR & | GetName () |
Returns the name of this ActionContext. | |
ActionContextId | GetContextId () |
Returns the ID of this ActionContext. | |
bool | IsActive () |
Returns true if this ActionContext is active; otherwise false. | |
void | SetActive (bool active) |
Sets the active state of this ActionContext. | |
CoreExport FPInterfaceDesc * | GetDescByID (Interface_ID id) |
CoreExport FPInterfaceDesc * | GetDesc () |
virtual CoreExport BaseInterface * | GetInterface (Interface_ID id) |
virtual CoreExport Interface_ID | GetID () |
ActionContext (ActionContextId contextId, const MSTR &pName) | |
Initialize the context ID and the name from the passed arguments. | |
const MSTR & | GetName () |
Returns the name of this ActionContext. | |
ActionContextId | GetContextId () |
Returns the ID of this ActionContext. | |
bool | IsActive () |
Returns true if this ActionContext is active; otherwise false. | |
void | SetActive (bool active) |
Sets the active state of this ActionContext. | |
CoreExport FPInterfaceDesc * | GetDescByID (Interface_ID id) |
CoreExport FPInterfaceDesc * | GetDesc () |
virtual CoreExport BaseInterface * | GetInterface (Interface_ID id) |
virtual CoreExport Interface_ID | GetID () |
ActionContext (ActionContextId contextId, const MSTR &pName) | |
Initialize the context ID and the name from the passed arguments. | |
const MSTR & | GetName () |
Returns the name of this ActionContext. | |
ActionContextId | GetContextId () |
Returns the ID of this ActionContext. | |
bool | IsActive () |
Returns true if this ActionContext is active; otherwise false. | |
void | SetActive (bool active) |
Sets the active state of this ActionContext. | |
CoreExport FPInterfaceDesc * | GetDescByID (Interface_ID id) |
CoreExport FPInterfaceDesc * | GetDesc () |
virtual CoreExport BaseInterface * | GetInterface (Interface_ID id) |
virtual CoreExport Interface_ID | GetID () |
ActionContext (ActionContextId contextId, const MSTR &pName) | |
Initialize the context ID and the name from the passed arguments. | |
const MSTR & | GetName () |
Returns the name of this ActionContext. | |
ActionContextId | GetContextId () |
Returns the ID of this ActionContext. | |
bool | IsActive () |
Returns true if this ActionContext is active; otherwise false. | |
void | SetActive (bool active) |
Sets the active state of this ActionContext. | |
CoreExport FPInterfaceDesc * | GetDescByID (Interface_ID id) |
CoreExport FPInterfaceDesc * | GetDesc () |
virtual CoreExport BaseInterface * | GetInterface (Interface_ID id) |
virtual CoreExport Interface_ID | GetID () |
ActionContext (ActionContextId contextId, const MSTR &pName) | |
Initialize the context ID and the name from the passed arguments. | |
const MSTR & | GetName () |
Returns the name of this ActionContext. | |
ActionContextId | GetContextId () |
Returns the ID of this ActionContext. | |
bool | IsActive () |
Returns true if this ActionContext is active; otherwise false. | |
void | SetActive (bool active) |
Sets the active state of this ActionContext. | |
CoreExport FPInterfaceDesc * | GetDescByID (Interface_ID id) |
CoreExport FPInterfaceDesc * | GetDesc () |
virtual CoreExport BaseInterface * | GetInterface (Interface_ID id) |
virtual CoreExport Interface_ID | GetID () |
Public Member Functions inherited from FPMixinInterface | |
FPMixinInterface () | |
virtual LifetimeType | LifetimeControl () |
virtual CoreExport bool | RegisterNotifyCallback (InterfaceNotifyCallback *incb) |
virtual void | UnRegisterNotifyCallback (InterfaceNotifyCallback *incb) |
CoreExport | ~FPMixinInterface () |
Public Member Functions inherited from FPInterface | |
virtual CoreExport FPStatus | Invoke (FunctionID fid, TimeValue t=0, FPParams *params=NULL) |
virtual FPStatus | Invoke (FunctionID fid, FPParams *params) |
virtual CoreExport FPStatus | Invoke (FunctionID fid, TimeValue t, FPValue &result, FPParams *params=NULL) |
virtual FPStatus | Invoke (FunctionID fid, FPValue &result, FPParams *params=NULL) |
virtual CoreExport FunctionID | FindFn (const MCHAR *name) |
virtual CoreExport BOOL | IsEnabled (FunctionID actionID) |
virtual CoreExport BOOL | IsChecked (FunctionID actionID) |
virtual CoreExport BOOL | IsVisible (FunctionID actionID) |
virtual CoreExport FunctionID | GetIsEnabled (FunctionID actionID) |
virtual CoreExport FunctionID | GetIsChecked (FunctionID actionID) |
virtual CoreExport FunctionID | GetIsVisible (FunctionID actionID) |
virtual ActionTable * | GetActionTable () |
virtual void | EnableActions (BOOL onOff) |
Public Member Functions inherited from BaseInterface | |
virtual UtilExport | ~BaseInterface () |
Destructor. | |
virtual BaseInterface * | AcquireInterface () |
virtual void | ReleaseInterface () |
virtual void | DeleteInterface () |
virtual BaseInterface * | CloneInterface (void *remapDir=nullptr) |
Public Member Functions inherited from InterfaceServer | |
virtual UtilExport | ~InterfaceServer () |
Destructor. | |
template<class InterfaceType> | |
InterfaceType * | GetTypedInterface () |
Additional Inherited Members | |
Static Public Member Functions inherited from MaxHeapOperators | |
static UtilExport void * | operator new (size_t size) |
Standard new operator used to allocate objects If there is insufficient memory, an exception will be thrown. | |
static UtilExport void * | operator new (size_t size, const std::nothrow_t &e) |
Standard new operator used to allocate objects if there is insufficient memory, NULL will be returned. | |
static UtilExport void * | operator new (size_t size, const char *filename, int line) |
New operator used to allocate objects that takes the filename and line number where the new was called If there is insufficient memory, an exception will be thrown. | |
static UtilExport void * | operator new (size_t size, int block_type, const char *filename, int line) |
New operator used to allocate objects that takes the type of memory, filename and line number where the new was called If there is insufficient memory, an exception will be thrown. | |
static UtilExport void * | operator new (size_t size, const std::nothrow_t &e, const char *filename, int line) |
New operator used to allocate objects that takes the filename and line number where the new was called If there is insufficient memory, NULL will be returned. | |
static UtilExport void * | operator new (size_t size, unsigned long flags) |
New operator used to allocate objects that takes extra flags to specify special operations If there is insufficient memory, an exception will be thrown. | |
static UtilExport void * | operator new (size_t size, const std::nothrow_t &e, unsigned long flags) |
New operator used to allocate objects that takes extra flags to specify special operations If there is insufficient memory, NULL will be returned. | |
static UtilExport void * | operator new[] (size_t size) |
New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. | |
static UtilExport void * | operator new[] (size_t size, const std::nothrow_t &e) |
New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. | |
static UtilExport void * | operator new[] (size_t size, const char *filename, int line) |
New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. | |
static UtilExport void * | operator new[] (size_t size, int block_type, const char *filename, int line) |
New operator used to allocate arrays of objects. | |
static UtilExport void * | operator new[] (size_t size, const std::nothrow_t &e, const char *filename, int line) |
New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. | |
static UtilExport void * | operator new[] (size_t size, unsigned long flags) |
New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. | |
static UtilExport void * | operator new[] (size_t size, const std::nothrow_t &e, unsigned long flags) |
New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. | |
static UtilExport void | operator delete (void *ptr) |
Standard delete operator used to deallocate an object If the pointer is invalid, an exception will be thrown. | |
static UtilExport void | operator delete (void *ptr, const std::nothrow_t &e) |
Standard delete operator used to deallocate an object If the pointer is invalid, nothing will happen. | |
static UtilExport void | operator delete (void *ptr, const char *filename, int line) |
Delete operator used to deallocate an object that takes the filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. | |
static UtilExport void | operator delete (void *ptr, int block_type, const char *filename, int line) |
Delete operator used to deallocate an object that takes the type of memory, filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. | |
static UtilExport void | operator delete (void *ptr, const std::nothrow_t &e, const char *filename, int line) |
Delete operator used to deallocate an object that takes the filename and line number where the delete was called If the pointer is invalid, nothing will happen. | |
static UtilExport void | operator delete (void *ptr, unsigned long flags) |
Delete operator used to deallocate an object that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. | |
static UtilExport void | operator delete (void *ptr, const std::nothrow_t &e, unsigned long flags) |
Delete operator used to deallocate an object that takes extra flags to specify special operations If the pointer is invalid, nothing will happen. | |
static UtilExport void | operator delete[] (void *ptr) |
Standard delete operator used to deallocate an array of objects If the pointer is invalid, an exception will be thrown. | |
static UtilExport void | operator delete[] (void *ptr, const std::nothrow_t &e) |
Standard delete operator used to deallocate an array of objects If the pointer is invalid, nothing will happen. | |
static UtilExport void | operator delete[] (void *ptr, const char *filename, int line) |
Delete operator used to deallocate an array of objects that takes the filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. | |
static UtilExport void | operator delete[] (void *ptr, int block_type, const char *filename, int line) |
Delete operator used to deallocate an array of objects that takes the type of memory, filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. | |
static UtilExport void | operator delete[] (void *ptr, const std::nothrow_t &e, const char *filename, int line) |
Delete operator used to deallocate an array of objects that takes the filename and line number where the delete was called If the pointer is invalid, nothing will happen. | |
static UtilExport void | operator delete[] (void *ptr, unsigned long flags) |
Delete operator used to deallocate an array of objects that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. | |
static UtilExport void | operator delete[] (void *ptr, const std::nothrow_t &e, unsigned long flags) |
Delete operator used to deallocate an array of objects that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. | |
static UtilExport void * | operator new (size_t size, void *placement_ptr) |
Placement new operator. | |
static UtilExport void | operator delete (void *ptr, void *placement_ptr) |
Placement delete operator. | |
static UtilExport void * | aligned_malloc (size_t size, size_t alignment) |
Allocates memory on a specified alignment boundary. | |
static UtilExport void * | aligned_realloc (void *ptr, size_t size, size_t alignment) |
Reallocates memory on a specified alignment boundary. | |
static UtilExport void | aligned_free (void *ptr) |
Frees a block of memory that was allocated with aligned_malloc/aligned_realloc. | |
Static Public Attributes inherited from FPInterface | |
static CoreExport FPInterfaceDesc | nullInterface |
Protected Attributes inherited from FPMixinInterface | |
Tab< InterfaceNotifyCallback * > * | interfaceNotifyCBs |
An ActionContext is an identifier of a group of keyboard shortcuts.
An ActionContext is an identifer of a group of keyboard shortcuts.
Examples are the Main 3ds Max UI, Track View, and the Editable Mesh. They are registered using IActionManager::RegisterActionContext().
Examples are the Main 3ds Max UI, Track View, and the Editable Mesh. They are registered using IActionManager::RegisterActionContext().
<<<<<<< HEAD
a406e112cf287e51abdbba7f88b8e4b91e0a64e7
Examples are the Main 3ds Max UI, Track View, and the Editable Mesh. They are registered using IActionManager::RegisterActionContext().
Examples are the Main 3ds Max UI, Track View, and the Editable Mesh. They are registered using IActionManager::RegisterActionContext().
Examples are the Main 3ds Max UI, Track View, and the Editable Mesh. They are registered using IActionManager::RegisterActionContext().
enum ActionContextFps |
Enumerator | |
---|---|
kGetName | |
kGetContextId | |
kIsActive | |
kGetName | |
kGetContextId | |
kIsActive | |
kGetName | |
kGetContextId | |
kIsActive | |
kGetName | |
kGetContextId | |
kIsActive | |
kGetName | |
kGetContextId | |
kIsActive |
enum ActionContextFps |
enum ActionContextFps |
enum ActionContextFps |
enum ActionContextFps |
|
inline |
Initialize the context ID and the name from the passed arguments.
contextId | The ID for the ActionContext. |
pName | The name for the ActionContext. |
|
inline |
Initialize the context ID and the name from the passed arguments.
contextId | The ID for the ActionContext. |
pName | The name for the ActionContext. |
|
inline |
Initialize the context ID and the name from the passed arguments.
contextId | The ID for the ActionContext. |
pName | The name for the ActionContext. |
|
inline |
Initialize the context ID and the name from the passed arguments.
contextId | The ID for the ActionContext. |
pName | The name for the ActionContext. |
|
inline |
Initialize the context ID and the name from the passed arguments.
contextId | The ID for the ActionContext. |
pName | The name for the ActionContext. |
|
inline |
Returns the name of this ActionContext.
|
inline |
Returns the ID of this ActionContext.
|
inline |
Returns true if this ActionContext is active; otherwise false.
An active ActionContext means that it uses its keyboard accelerators. This corresponds to the "Active" checkbox in the keyboard customization UI.
|
inline |
Sets the active state of this ActionContext.
active | true for active; false for inactive. |
|
virtual |
Reimplemented from FPMixinInterface.
|
virtual |
Implements FPInterface.
|
virtual |
Reimplemented from FPMixinInterface.
|
virtual |
Reimplemented from FPMixinInterface.
|
protected |
|
protected |
|
inline |
Returns the name of this ActionContext.
|
inline |
Returns the ID of this ActionContext.
|
inline |
Returns true if this ActionContext is active; otherwise false.
An active ActionContext means that it uses its keyboard accelerators. This corresponds to the "Active" checkbox in the keyboard customization UI.
|
inline |
Sets the active state of this ActionContext.
active | true for active; false for inactive. |
|
virtual |
Reimplemented from FPMixinInterface.
|
virtual |
Implements FPInterface.
|
virtual |
Reimplemented from FPMixinInterface.
|
virtual |
Reimplemented from FPMixinInterface.
|
protected |
|
protected |
|
inline |
Returns the name of this ActionContext.
|
inline |
Returns the ID of this ActionContext.
|
inline |
Returns true if this ActionContext is active; otherwise false.
An active ActionContext means that it uses its keyboard accelerators. This corresponds to the "Active" checkbox in the keyboard customization UI.
|
inline |
Sets the active state of this ActionContext.
active | true for active; false for inactive. |
|
virtual |
Reimplemented from FPMixinInterface.
|
virtual |
Implements FPInterface.
|
virtual |
Reimplemented from FPMixinInterface.
|
virtual |
Reimplemented from FPMixinInterface.
|
protected |
|
protected |
|
inline |
Returns the name of this ActionContext.
|
inline |
Returns the ID of this ActionContext.
|
inline |
Returns true if this ActionContext is active; otherwise false.
An active ActionContext means that it uses its keyboard accelerators. This corresponds to the "Active" checkbox in the keyboard customization UI.
|
inline |
Sets the active state of this ActionContext.
active | true for active; false for inactive. |
|
virtual |
Reimplemented from FPMixinInterface.
|
virtual |
Implements FPInterface.
|
virtual |
Reimplemented from FPMixinInterface.
|
virtual |
Reimplemented from FPMixinInterface.
|
protected |
|
protected |
|
inline |
Returns the name of this ActionContext.
|
inline |
Returns the ID of this ActionContext.
|
inline |
Returns true if this ActionContext is active; otherwise false.
An active ActionContext means that it uses its keyboard accelerators. This corresponds to the "Active" checkbox in the keyboard customization UI.
|
inline |
Sets the active state of this ActionContext.
active | true for active; false for inactive. |
|
virtual |
Reimplemented from FPMixinInterface.
|
virtual |
Implements FPInterface.
|
virtual |
Reimplemented from FPMixinInterface.
|
virtual |
Reimplemented from FPMixinInterface.
|
protected |
|
protected |