24#ifndef _ODEDCOMMANDSTACK_H_INCLUDED_
25#define _ODEDCOMMANDSTACK_H_INCLUDED_
29#define ODRX_COMMAND_DOCK OD_T("ODRX_REGISTERED_COMMANDS")
85 kTransparent = 0x00000001,
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,
OdArray< OdEdCommandStackReactorPtr > OdEdCommandStackReactorArray
OdSmartPtr< OdEdCommandStack > OdEdCommandStackPtr
OdSmartPtr< OdEdCommandStackReactor > OdEdCommandStackReactorPtr
OdSmartPtr< OdEdCommand > OdEdCommandPtr
FIRSTDLL_EXPORT OdEdCommandStackPtr odedRegCmds()
FIRSTDLL_EXPORT OdEdCommandPtr odedFireUnknownCommand(OdEdCommandStack *pCmdStack, const OdString &sCmd, OdEdCommandContext *pCmdCtx)
void() OdEdCommandFunction(OdEdCommandContext *pCmdCtx)
void(* OdRxFunctionPtr)()
OdSmartPtr< OdRxIterator > OdRxIteratorPtr
static OdEdCommandPtr createObject(const OdString &sGroupName, const OdString &sGlobalName, const OdString &sLocalName, OdUInt32 commandFlags, OdEdCommandFunction *pFunction, OdRxModule *pModule=0)
virtual const OdString groupName() const =0
ODRX_DECLARE_MEMBERS(OdEdCommand)
virtual OdInt32 flags() const
virtual const OdRxModule * module() const
virtual const OdString localName() const
virtual void execute(OdEdCommandContext *pCommandContext)=0
virtual const OdString globalName() const =0
virtual void undefine(bool undefIt)
virtual OdEdCommand * addCommand(const OdString &sGroupName, const OdString &sGlobalName, const OdString &sLocalName, OdUInt32 commandFlags, OdEdCommandFunction *pFunction, OdRxModule *pModule=0)
virtual void addCommand(OdEdCommand *pCommand)=0
virtual OdRxIteratorPtr newIterator(const OdString &groupName)=0
virtual OdResult popGroupToTop(const OdString &cmdGroupName)=0
virtual void addReactor(OdEdCommandStackReactor *pReactor)=0
virtual OdEdCommandStackReactorArray getCommandStackReactors() const =0
virtual OdRxIteratorPtr newIterator()=0
virtual void removeCmd(const OdEdCommand *pCommand)=0
virtual void removeCmd(const OdString &groupName, const OdString &globalName)=0
virtual void executeCommand(const OdString &cmdName, OdEdCommandContext *pCmdCtx, int lookupFlags=kGlobal|kLocal, const OdString &groupName=OdString::kEmpty)=0
virtual OdEdCommandPtr lookupCmd(const OdString &commandName, int lookupFlags=kGlobal|kLocal, const OdString &groupName=OdString::kEmpty)=0
virtual void executeCommand(OdEdCommand *pCmd, OdEdCommandContext *pCmdCtx)=0
ODRX_DECLARE_MEMBERS(OdEdCommandStack)
virtual void removeGroup(const OdString &groupName)=0
virtual void removeReactor(OdEdCommandStackReactor *pReactor)=0
virtual OdRxIteratorPtr newGroupIterator()=0
virtual OdEdCommandPtr unknownCommand(const OdString &commandName, OdEdCommandContext *pCmdCtx)
virtual void commandFailed(OdEdCommand *pCommand, OdEdCommandContext *pCmdCtx)
ODRX_DECLARE_MEMBERS(OdEdCommandStackReactor)
virtual void commandWillStart(OdEdCommand *pCommand, OdEdCommandContext *pCmdCtx)
virtual void commandEnded(OdEdCommand *pCommand, OdEdCommandContext *pCmdCtx)
virtual void commandCancelled(OdEdCommand *pCommand, OdEdCommandContext *pCmdCtx)
virtual void commandAdded(OdEdCommand *pCommand)
virtual void commandWillBeRemoved(OdEdCommand *pCommand)
FIRSTDLL_EXPORT_STATIC static const OdString kEmpty
typedef void(APIENTRYP PFNGLACTIVETEXTUREPROC)(GLenum texture)