CFx SDK Documentation
2023 SP0
|
#include <DynamicLinker.h>
Public Member Functions | |
ODRX_DECLARE_MEMBERS (OdRxDynamicLinker) | |
virtual void | addReactor (OdRxDLinkerReactor *pReactor)=0 |
virtual void | removeReactor (OdRxDLinkerReactor *pReactor)=0 |
virtual OdRxModulePtr | loadModule (const OdString &moduleFileName, bool silent=true)=0 |
virtual bool | unloadModule (const OdString &moduleFileName)=0 |
virtual bool | unloadUnreferenced ()=0 |
virtual OdRxModulePtr | loadApp (const OdString &applicationName, bool silent=true)=0 |
virtual OdRxSystemServicesPtr | sysServices () const =0 |
virtual OdRxDictionaryPtr | sysRegistry () const =0 |
virtual OdRxModule * | loadModuleObj (OdRxModule *pModuleObj, bool bSilent=true)=0 |
virtual int | getModuleCount () const =0 |
virtual OdRxModulePtr | getModule (int index, OdString &key) const =0 |
virtual OdRxModulePtr | getModule (const OdString &key) const =0 |
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 implements Dynamic Linker services for Teigha Xtension(TX) applications:
The following services are implemented: Loading applications by specified by application name. Loading and unloading modules specified by filename. Addition and removal of reactors from the dynamic linker reactor chain.
A pointer to the OdRxDynamicLinker object will be returned by the global odrxDynamicLinker() function.
<group OdRx_Classes>
Definition at line 71 of file DynamicLinker.h.
|
pure virtual |
Adds the specified reactor to the dynamic linker reactor chain.
pReactor | [in] Pointer to the reactor. |
|
pure virtual |
Returns the specified abstract (platform-independent) module.
|
pure virtual |
Returns the specified abstract (platform-independent) module.
|
pure virtual |
Returns the count of loaded modules.
|
pure virtual |
Maps the specfied application name to the a module filename, and loads that module.
applicationName | [in] TX application name. |
silent | [in] If and only if true, no load status message will be printed. |
|
pure virtual |
Loads the specified abstract (platform-independent) module.
moduleFileName | [in] Module filename to load. |
silent | [in] If true, no load status message will be printed. |
|
pure virtual |
DOM
Special internal method - used for non-standard module loading only
OdRxDynamicLinker::ODRX_DECLARE_MEMBERS | ( | OdRxDynamicLinker | ) |
|
pure virtual |
Removes the specified reactor to the dynamic linker reactor chain.
pReactor | [in] Pointer to the reactor. |
|
pure virtual |
Returns a SmartPointer to the OdRxDictionary instance that created by OdInitialize.
|
pure virtual |
Returns a SmartPointer to the OdDbSystemServices instance that is used for file creation and access.
|
pure virtual |
Unoads the specified abstract (platform-independent) module.
moduleFileName | [in] Module filename to unload. |
|
pure virtual |
Unoads all unreferenced modules.