CFx SDK Documentation  2023 SP0
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Friends | List of all members
CFxEditorReactor Class Reference

#include <FxEditorReactor.h>

Inheritance diagram for CFxEditorReactor:
OdEditorReactor OdEdCommandStackReactor OdEdLispEngineReactor OdRxEventReactor OdRxObject OdRxObject OdRxObject

Public Types

enum  WindowType { eDocWindow , eAppWindow }
 
enum  WindowState {
  eWindowNoState = 0x00000000 , eWindowMinimized = 0x00000001 , eWindowMaximized = 0x00000002 , eWindowFullScreen = 0x00000004 ,
  eWindowActive = 0x00000008
}
 
- Public Types inherited from OdEditorReactor
enum  XrefSubcommandActivities {
  kStart = 0 , kStartItem = 2 , kEndItem = 3 , kEnd = 4 ,
  kWillAbort = 5 , kAborted = 6 , kStartXBindBlock = 7 , kStartXBindSymbol = 8
}
 

Public Member Functions

 CFxEditorReactor ()
 
 ~CFxEditorReactor () override
 
OdRxClassisA () const override
 
OdRxObjectqueryX (const OdRxClass *protocolClass) const override
 
virtual void mainFrameCreated (QWidget *pWidget)
 
virtual void mainFrameDestroyed (QWidget *pWidget)
 
virtual void appActivated ()
 
virtual void appDeactivated ()
 
virtual void windowStateChanged (WindowType type, WindowState state)
 
virtual void selectionSetCreated (CFxSelectionSet *pSS)
 
virtual void selectionSetDestroyed (CFxSelectionSet *pSS)
 
virtual void gripEditCustomOp (OdRxObject *pEnt, const std::string &action, const OdGeMatrix3d &matrix)
 
virtual void beginSaveEx (CFxDatabase *pDb, const CFxString &sFileName, CFxFileData::FileType iFileType, int iFileVersion)
 
virtual void cancelDwgOpen (const CFxString &sFileName)
 
virtual void closeAborted (OdDbDatabase *pDb)
 
virtual void beginModalState ()
 
virtual void endModalState ()
 
- Public Member Functions inherited from OdEditorReactor
 ODRX_DECLARE_MEMBERS (OdEditorReactor)
 
virtual void beginDwgOpen (const OdString &filename)
 
virtual void endDwgOpen (const OdString &filename)
 
virtual void beginClose (OdDbDatabase *pDb)
 
virtual void dwgFileOpened (OdDbDatabase *pDb, const OdString &filename)
 
virtual void beginAttach (OdDbDatabase *pToDb, const OdString &filename, OdDbDatabase *pFromDb)
 
virtual void otherAttach (OdDbDatabase *pToDb, OdDbDatabase *pFromDb)
 
virtual void abortAttach (OdDbDatabase *pFromDb)
 
virtual void endAttach (OdDbDatabase *pToDb)
 
virtual void redirected (OdDbObjectId newId, OdDbObjectId oldId)
 
virtual void comandeered (OdDbDatabase *pToDb, OdDbObjectId id, OdDbDatabase *pFromDb)
 
virtual void beginRestore (OdDbDatabase *pToDb, const OdString &filename, OdDbDatabase *pFromDb)
 
virtual void abortRestore (OdDbDatabase *pToDb)
 
virtual void endRestore (OdDbDatabase *pToDb)
 
virtual void xrefSubcommandBindItem (int activity, OdDbObjectId blockId)
 
virtual void xrefSubcommandAttachItem (int activity, const OdString &xrefPath)
 
virtual void xrefSubcommandOverlayItem (int activity, const OdString &xrefPath)
 
virtual void xrefSubcommandDetachItem (int activity, OdDbObjectId blockId)
 
virtual void xrefSubcommandPathItem (int activity, OdDbObjectId blockId, const OdString &newPath)
 
virtual void xrefSubcommandReloadItem (int activity, OdDbObjectId blockId)
 
virtual void xrefSubcommandUnloadItem (int activity, OdDbObjectId blockId)
 
virtual void undoSubcommandAuto (int activity, bool undoAuto)
 
virtual void undoSubcommandControl (int activity, int option)
 
virtual void undoSubcommandBegin (int activity)
 
virtual void undoSubcommandEnd (int activity)
 
virtual void undoSubcommandMark (int activity)
 
virtual void undoSubcommandBack (int activity)
 
virtual void undoSubcommandNumber (int activity, int numSteps)
 
virtual void pickfirstModified ()
 
virtual void layoutSwitched (const OdString &newLayoutName)
 
virtual void docFrameMovedOrResized (OdHWnd hwndDocFrame, bool moved)
 
virtual void mainFrameMovedOrResized (OdHWnd hwndMainFrame, bool moved)
 
virtual void beginDoubleClick (const OdGePoint3d &clickPoint)
 
virtual void beginRightClick (const OdGePoint3d &clickPoint)
 
virtual void toolbarBitmapSizeWillChange (bool largeBitmaps)
 
virtual void toolbarBitmapSizeChanged (bool largeBitmaps)
 
virtual void objectsLazyLoaded (const OdDbObjectIdArray &objectIds)
 
virtual void beginQuit ()
 
virtual void quitAborted ()
 
virtual void quitWillStart ()
 
virtual void modelessOperationWillStart (const OdString &contextString)
 
virtual void modelessOperationEnded (const OdString &contextString)
 
virtual void sysVarChanged (OdDbDatabase *pDb, const OdString &varName)
 
virtual void sysVarWillChange (OdDbDatabase *pDb, const OdString &varName)
 
- Public Member Functions inherited from OdRxEventReactor
 ODRX_DECLARE_MEMBERS (OdRxEventReactor)
 
virtual void initialDwgFileOpenComplete (OdDbDatabase *pDb)
 
virtual void databaseConstructed (OdDbDatabase *pDb)
 
virtual void databaseToBeDestroyed (OdDbDatabase *pDb)
 
virtual void beginSave (OdDbDatabase *pDb, const OdString &intendedName)
 
virtual void saveComplete (OdDbDatabase *pDb, const OdString &actualName)
 
virtual void abortSave (OdDbDatabase *pDb)
 
virtual void beginDxfIn (OdDbDatabase *pDb)
 
virtual void abortDxfIn (OdDbDatabase *pDb)
 
virtual void dxfInComplete (OdDbDatabase *pDb)
 
virtual void beginDxfOut (OdDbDatabase *pDb)
 
virtual void abortDxfOut (OdDbDatabase *pDb)
 
virtual void dxfOutComplete (OdDbDatabase *pDb)
 
virtual void beginInsert (OdDbDatabase *pToDb, const OdString &blockName, OdDbDatabase *pFromDb)
 
virtual void beginInsert (OdDbDatabase *pToDb, const OdGeMatrix3d &xfm, OdDbDatabase *pFromDb)
 
virtual void otherInsert (OdDbDatabase *pToDb, OdDbIdMapping &idMap, OdDbDatabase *pFromDb)
 
virtual void abortInsert (OdDbDatabase *pToDb)
 
virtual void endInsert (OdDbDatabase *pToDb)
 
virtual void wblockNotice (OdDbDatabase *pFromDb)
 
virtual void beginWblock (OdDbDatabase *pToDb, OdDbDatabase *pFromDb, const OdGePoint3d &insertionPoint)
 
virtual void beginWblock (OdDbDatabase *pToDb, OdDbDatabase *pFromDb, OdDbObjectId blockId)
 
virtual void beginWblock (OdDbDatabase *pToDb, OdDbDatabase *pFromDb)
 
virtual void otherWblock (OdDbDatabase *pToDb, OdDbIdMapping &idMap, OdDbDatabase *pFromDb)
 
virtual void abortWblock (OdDbDatabase *pToDb)
 
virtual void endWblock (OdDbDatabase *pToDb)
 
virtual void beginWblockObjects (OdDbDatabase *pFromDb, OdDbIdMapping &idMap)
 
virtual void beginDeepClone (OdDbDatabase *pToDb, OdDbIdMapping &idMap)
 
virtual void beginDeepCloneXlation (OdDbIdMapping &idMap)
 
virtual void abortDeepClone (OdDbIdMapping &idMap)
 
virtual void endDeepClone (OdDbIdMapping &idMap)
 
virtual void partialOpenNotice (OdDbDatabase *pDb)
 
- Public Member Functions inherited from OdRxObject
 ODRX_HEAP_OPERATORS ()
 
 OdRxObject ()
 
virtual ~OdRxObject ()
 
virtual OdRxObjectx (const OdRxClass *pClass) 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
 
- Public Member Functions inherited from OdEdCommandStackReactor
 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 OdEdLispEngineReactor
 ODRX_DECLARE_MEMBERS (OdEdLispEngineReactor)
 
 ~OdEdLispEngineReactor ()
 
virtual void lispWillStart (OdEdCommandContext *pCmdCtx, const OdString &firstLine)
 
virtual void lispEnded (OdEdCommandContext *pCmdCtx)
 
virtual void lispCancelled (OdEdCommandContext *pCmdCtx)
 

Static Public Member Functions

static OdRxClassdesc ()
 
static void rxInit ()
 
static void rxUninit ()
 
- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 

Static Public Attributes

static OdRxClassg_pDesc
 

Protected Member Functions

OdResult veto ()
 
- Protected Member Functions inherited from OdEdLispEngineReactor
 OdEdLispEngineReactor ()
 

Friends

class CFxEditor
 

Detailed Description

Description: Represents a editor change(reaction). Library: DDKERNEL

Definition at line 38 of file FxEditorReactor.h.

Member Enumeration Documentation

◆ WindowState

Enumerator
eWindowNoState 
eWindowMinimized 
eWindowMaximized 
eWindowFullScreen 
eWindowActive 

Definition at line 54 of file FxEditorReactor.h.

◆ WindowType

Enumerator
eDocWindow 
eAppWindow 

Definition at line 48 of file FxEditorReactor.h.

Constructor & Destructor Documentation

◆ CFxEditorReactor()

CFxEditorReactor::CFxEditorReactor ( )

◆ ~CFxEditorReactor()

CFxEditorReactor::~CFxEditorReactor ( )
override

Member Function Documentation

◆ appActivated()

virtual void CFxEditorReactor::appActivated ( )
inlinevirtual

Definition at line 74 of file FxEditorReactor.h.

◆ appDeactivated()

virtual void CFxEditorReactor::appDeactivated ( )
inlinevirtual

Definition at line 75 of file FxEditorReactor.h.

◆ beginModalState()

virtual void CFxEditorReactor::beginModalState ( )
inlinevirtual

Definition at line 86 of file FxEditorReactor.h.

◆ beginSaveEx()

virtual void CFxEditorReactor::beginSaveEx ( CFxDatabase pDb,
const CFxString sFileName,
CFxFileData::FileType  iFileType,
int  iFileVersion 
)
inlinevirtual

Definition at line 83 of file FxEditorReactor.h.

◆ cancelDwgOpen()

virtual void CFxEditorReactor::cancelDwgOpen ( const CFxString sFileName)
inlinevirtual

Definition at line 84 of file FxEditorReactor.h.

◆ closeAborted()

virtual void CFxEditorReactor::closeAborted ( OdDbDatabase pDb)
inlinevirtual

Definition at line 85 of file FxEditorReactor.h.

◆ desc()

static OdRxClass* CFxEditorReactor::desc ( )
static

◆ endModalState()

virtual void CFxEditorReactor::endModalState ( )
inlinevirtual

Definition at line 87 of file FxEditorReactor.h.

◆ gripEditCustomOp()

virtual void CFxEditorReactor::gripEditCustomOp ( OdRxObject pEnt,
const std::string action,
const OdGeMatrix3d matrix 
)
inlinevirtual

Definition at line 81 of file FxEditorReactor.h.

◆ isA()

OdRxClass* CFxEditorReactor::isA ( ) const
overridevirtual

Returns the raw pointer to the class describing instance dynamically associated with this object as the OdRxClass object.

Remarks
This function is for use only when the class type of this object is unknown. If the class type of this object is known, use desc() method instead.
See also
<link rtti_sample_identifying.html, Example of Identifying Classes>
<link rtti_class_functionality.html, Functionality of RTTI>

Reimplemented from OdRxObject.

◆ mainFrameCreated()

virtual void CFxEditorReactor::mainFrameCreated ( QWidget *  pWidget)
inlinevirtual

Definition at line 71 of file FxEditorReactor.h.

◆ mainFrameDestroyed()

virtual void CFxEditorReactor::mainFrameDestroyed ( QWidget *  pWidget)
inlinevirtual

Definition at line 72 of file FxEditorReactor.h.

◆ queryX()

OdRxObject* CFxEditorReactor::queryX ( const OdRxClass pClass) const
overridevirtual

Checks whether the object belongs to the specified class and returns a pointer to this object if this object can be converted to the specified class.

Parameters
pClass[in] Raw pointer to the class describing instance to which the object must be converted.
Remarks
If the object cannot be converted, the method returns a Null. The program must release this object, if the returned pointer is not Null.
See also
<link rtti_sample_belonging.html, Example of Belonging to an Instance of a Class>
<link rtti_class_belonging.html, Belonging to an Instance of a Class>

Reimplemented from OdRxObject.

◆ rxInit()

static void CFxEditorReactor::rxInit ( )
static

◆ rxUninit()

static void CFxEditorReactor::rxUninit ( )
static

◆ selectionSetCreated()

virtual void CFxEditorReactor::selectionSetCreated ( CFxSelectionSet pSS)
inlinevirtual

Definition at line 78 of file FxEditorReactor.h.

◆ selectionSetDestroyed()

virtual void CFxEditorReactor::selectionSetDestroyed ( CFxSelectionSet pSS)
inlinevirtual

Definition at line 79 of file FxEditorReactor.h.

◆ veto()

OdResult CFxEditorReactor::veto ( )
protected

Description: Use may call veto():

  1. From beginSave() to abort save operation. abortSave() is called in this case.
  2. From beginClose() to abort close operation.
  1. From commandWillStart() to abort command execution. Return values: eOk if operation can be aborted, eNotApplicable in case of nothing can aborted

◆ windowStateChanged()

virtual void CFxEditorReactor::windowStateChanged ( WindowType  type,
WindowState  state 
)
inlinevirtual

Definition at line 76 of file FxEditorReactor.h.

Friends And Related Function Documentation

◆ CFxEditor

friend class CFxEditor
friend

Definition at line 43 of file FxEditorReactor.h.

Member Data Documentation

◆ g_pDesc

OdRxClass* CFxEditorReactor::g_pDesc
static

Definition at line 62 of file FxEditorReactor.h.


The documentation for this class was generated from the following file: