|
CFx SDK Documentation
2022 SP0
|
#include <EdCommandStack.h>
Public Types | |
| enum | { kModal = 0x00000000 , kTransparent = 0x00000001 , kUsePickset = 0x00000002 , kRedraw = 0x00000004 , kNoPerspective = 0x00000008 , kNoMultiple = 0x00000010 , kNoTilemode = 0x00000020 , kNoPaperspace = 0x00000040 , kPlotOnly = 0x00000080 , kNoOEM = 0x00000100 , kUndefined = 0x00000200 , kInProgress = 0x00000400 , kDefun = 0x00000800 , kNoNewStack = 0x00010000 , kNoInternalLock = 0x00020000 , kDocReadLock = 0x00080000 , kDocExclusiveLock = 0x00100000 , kSession = 0x00200000 , kInterruptible = 0x00400000 , kNoHistory = 0x00800000 , kNoUndoMarker = 0x01000000 , kNoBedit = 0x02000000 } |
Public Member Functions | |
| ODRX_DECLARE_MEMBERS (OdEdCommand) | |
| ~OdEdCommand () | |
| virtual const OdString | groupName () const =0 |
| virtual const OdString | globalName () const =0 |
| virtual const OdString | localName () const |
| virtual void | execute (OdEdCommandContext *pCommandContext)=0 |
| virtual const OdRxModule * | module () const |
| virtual void | undefine (bool undefIt) |
| virtual OdInt32 | flags () const |
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 |
Static Public Member Functions | |
| static OdEdCommandPtr | createObject (const OdString &sGroupName, const OdString &sGlobalName, const OdString &sLocalName, OdUInt32 commandFlags, OdEdCommandFunction *pFunction, OdRxModule *pModule=0) |
Static Public Member Functions inherited from OdRxObject | |
| static OdRxObjectPtr | cast (const OdRxObject *pointer) |
| static OdRxClass * | desc () |
Protected Member Functions | |
| OdEdCommand () | |
This class represents custom commands within a Teigha client application.
The custom command is registered in the global command stack by calling OdEdCommandStack::addCommand() on the global command stack, which obtained via the odedRegCmds() external function.
Corresponding C++ library: TD_Root
<group OdEd_Classes>
Definition at line 74 of file EdCommandStack.h.
| anonymous enum |
Definition at line 82 of file EdCommandStack.h.
|
protected |
| OdEdCommand::~OdEdCommand | ( | ) |
|
static |
|
pure virtual |
Called to execute this command object.
| pCommandContext | [in] Pointer to the command context. |
Implemented in CFxCommand.
|
virtual |
Reimplemented in CFxCommand.
|
pure virtual |
Returns the global (untranslated) name of this command object.
|
pure virtual |
Returns the group name of this command object.
Implemented in CFxCommand.
|
virtual |
Returns the local (translated) name of this command.
|
virtual |
| OdEdCommand::ODRX_DECLARE_MEMBERS | ( | OdEdCommand | ) |
|
virtual |
Reimplemented in CFxCommand.