CFx SDK Documentation
2020SP3
|
#include <EdCommandStack.h>
Public Member Functions | |
ODRX_DECLARE_MEMBERS (OdEdCommandStackReactor) | |
virtual void | commandAdded (OdEdCommand *pCommand) |
virtual void | commandWillBeRemoved (OdEdCommand *pCommand) |
virtual void | commandWillStart (OdEdCommand *pCommand, OdEdCommandContext *pCmdCtx) |
virtual void | commandEnded (OdEdCommand *pCommand, OdEdCommandContext *pCmdCtx) |
virtual void | commandCancelled (OdEdCommand *pCommand, OdEdCommandContext *pCmdCtx) |
virtual void | commandFailed (OdEdCommand *pCommand, OdEdCommandContext *pCmdCtx) |
virtual OdEdCommandPtr | unknownCommand (const OdString &commandName, OdEdCommandContext *pCmdCtx) |
Public Member Functions inherited from OdRxObject | |
ODRX_HEAP_OPERATORS () | |
OdRxObject () | |
virtual | ~OdRxObject () |
virtual OdRxObject * | queryX (const OdRxClass *pClass) const |
virtual OdRxObject * | x (const OdRxClass *pClass) const |
virtual OdRxClass * | isA () const |
virtual void | addRef ()=0 |
virtual void | release ()=0 |
virtual long | numRefs () const |
bool | isKindOf (const OdRxClass *pClass) const |
virtual OdRxObjectPtr | clone () const |
virtual void | copyFrom (const OdRxObject *pSource) |
virtual OdRx::Ordering | comparedTo (const OdRxObject *pOther) const |
virtual bool | isEqualTo (const OdRxObject *pOther) const |
Additional Inherited Members | |
Static Public Member Functions inherited from OdRxObject | |
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
static OdRxClass * | desc () |
This class is the base class for custom classes that receive notification of OdEdCommandStack events.
The command stack consists of groups which contain their respective commands. Adding a command adds it to its group. If the group does not exist, the group is first created and pushed onto the top of the stack.
Corresponding C++ library: TD_Root
<group OdEd_Classes>
Definition at line 193 of file EdCommandStack.h.
|
virtual |
Notification function called whenevever a command has been added to the global command stack.
pCommand | [in] Pointer to the command object. \remarks This function is called after the operation. |
|
virtual |
Notification function called whenevever the execution of a command has been canceled.
pCommand | [in] Pointer to the command object. \remarks This function is called after the operation. |
|
virtual |
Notification function called whenevever the execution of a command has ended.
pCommand | [in] Pointer to the command object. \remarks This function is called after the operation. |
|
virtual |
Notification function called whenevever the execution of a command has failed.
pCommand | [in] Pointer to the command object. \remarks This function is called after the operation. |
|
virtual |
Notification function called whenevever a command will be removed from the global command stack
pCommand | [in] Pointer to the command object. \remarks This function is called after the operation. |
|
virtual |
Notification function called whenevever the execution of a command will start.
pCommand | [in] Pointer to the command object. \remarks This function is called before the operation. |
OdEdCommandStackReactor::ODRX_DECLARE_MEMBERS | ( | OdEdCommandStackReactor | ) |
|
virtual |
Notification function called whenevever the execution of an unknown command has been attempted.
commandName | [in] name of unknown command. \remarks This function is called after the operation. |