CFx SDK Documentation
2020SP3
|
Go to the documentation of this file.
24 #ifndef _ODEDCOMMANDSTACK_H_INCLUDED_
25 #define _ODEDCOMMANDSTACK_H_INCLUDED_
29 #define ODRX_COMMAND_DOCK OD_T("ODRX_REGISTERED_COMMANDS")
86 kUsePickset = 0x00000002,
88 kNoPerspective = 0x00000008,
89 kNoMultiple = 0x00000010,
90 kNoTilemode = 0x00000020,
91 kNoPaperspace = 0x00000040,
92 kPlotOnly = 0x00000080,
94 kUndefined = 0x00000200,
95 kInProgress = 0x00000400,
97 kNoNewStack = 0x00010000,
98 kNoInternalLock = 0x00020000,
99 kDocReadLock = 0x00080000,
100 kDocExclusiveLock = 0x00100000,
101 kSession = 0x00200000,
102 kInterruptible = 0x00400000,
103 kNoHistory = 0x00800000,
105 kNoUndoMarker = 0x01000000,
106 kNoBedit = 0x02000000
397 kSpecifedGroup= 0x04,
428 int lookupFlags = kGlobal|kLocal,
488 int lookupFlags = kGlobal|kLocal,
544 #endif //#ifndef _ODEDCOMMANDSTACK_H_INCLUDED_
virtual void commandWillStart(OdEdCommand *pCommand, OdEdCommandContext *pCmdCtx)
OdSmartPtr< OdEdCommandStack > OdEdCommandStackPtr
void(* OdRxFunctionPtr)()
virtual void commandEnded(OdEdCommand *pCommand, OdEdCommandContext *pCmdCtx)
virtual void executeCommand(const OdString &cmdName, OdEdCommandContext *pCmdCtx, int lookupFlags=kGlobal|kLocal, const OdString &groupName=OdString::kEmpty)=0
ODRX_DECLARE_MEMBERS(OdEdCommandStackReactor)
virtual void addCommand(OdEdCommand *pCommand)=0
virtual void commandAdded(OdEdCommand *pCommand)
FIRSTDLL_EXPORT OdEdCommandPtr odedFireUnknownCommand(OdEdCommandStack *pCmdStack, const OdString &sCmd, OdEdCommandContext *pCmdCtx)
virtual const OdString localName() const
OdSmartPtr< OdEdCommand > OdEdCommandPtr
virtual void commandWillBeRemoved(OdEdCommand *pCommand)
virtual OdRxIteratorPtr newGroupIterator()=0
virtual void execute(OdEdCommandContext *pCommandContext)=0
static OdEdCommandPtr createObject(const OdString &sGroupName, const OdString &sGlobalName, const OdString &sLocalName, OdUInt32 commandFlags, OdEdCommandFunction *pFunction, OdRxModule *pModule=0)
virtual void commandCancelled(OdEdCommand *pCommand, OdEdCommandContext *pCmdCtx)
virtual const OdRxModule * module() const
OdSmartPtr< OdRxIterator > OdRxIteratorPtr
virtual OdEdCommandPtr unknownCommand(const OdString &commandName, OdEdCommandContext *pCmdCtx)
virtual void removeCmd(const OdString &groupName, const OdString &globalName)=0
virtual void removeCmd(const OdEdCommand *pCommand)=0
virtual OdInt32 flags() const
ODRX_DECLARE_MEMBERS(OdEdCommandStack)
virtual const OdString groupName() const =0
OdSmartPtr< OdEdCommandStackReactor > OdEdCommandStackReactorPtr
virtual void commandFailed(OdEdCommand *pCommand, OdEdCommandContext *pCmdCtx)
virtual void addReactor(OdEdCommandStackReactor *pReactor)=0
void() OdEdCommandFunction(OdEdCommandContext *pCmdCtx)
virtual void executeCommand(OdEdCommand *pCmd, OdEdCommandContext *pCmdCtx)=0
virtual OdRxIteratorPtr newIterator()=0
virtual OdEdCommandStackReactorArray getCommandStackReactors() const =0
virtual void undefine(bool undefIt)
virtual OdEdCommandPtr lookupCmd(const OdString &commandName, int lookupFlags=kGlobal|kLocal, const OdString &groupName=OdString::kEmpty)=0
virtual OdResult popGroupToTop(const OdString &cmdGroupName)=0
virtual void removeReactor(OdEdCommandStackReactor *pReactor)=0
FIRSTDLL_EXPORT_STATIC static const OdString kEmpty
virtual const OdString globalName() const =0
FIRSTDLL_EXPORT OdEdCommandStackPtr odedRegCmds()
OdArray< OdEdCommandStackReactorPtr > OdEdCommandStackReactorArray
typedef void(APIENTRYP PFNGLACTIVETEXTUREPROC)(GLenum texture)
virtual OdEdCommand * addCommand(const OdString &sGroupName, const OdString &sGlobalName, const OdString &sLocalName, OdUInt32 commandFlags, OdEdCommandFunction *pFunction, OdRxModule *pModule=0)
virtual void removeGroup(const OdString &groupName)=0
ODRX_DECLARE_MEMBERS(OdEdCommand)
virtual OdRxIteratorPtr newIterator(const OdString &groupName)=0