CFx SDK Documentation
2020SP3
|
Go to the documentation of this file.
31 #if !defined(_ODADYNAMICLINKERI_H_INCLUDED_)
32 #define _ODADYNAMICLINKERI_H_INCLUDED_
99 const OdString& moduleFileName,
bool silent =
true) = 0;
107 const OdString& moduleFileName) = 0;
124 bool silent =
true) = 0;
144 OdRxModule* pModuleObj,
bool bSilent =
true) = 0;
176 template <
class TClass>
182 return ( TClass* )pClass->
create().
get();
183 if ( !sAppName.isEmpty() )
188 return ( TClass* )pClass->
create().
get();
190 throw OdError( sClassName +
" class was not found" );
200 #endif // !defined(_ODADYNAMICLINKERI_H_INCLUDED_)
FIRSTDLL_EXPORT OdRxDynamicLinker * odrxDynamicLinker()
OdRxModulePtr odrxLoadApp(const OdString &applicationName)
OdSmartPtr< OdRxModule > OdRxModulePtr
OdSmartPtr< OdRxSystemServices > OdRxSystemServicesPtr
virtual bool unloadUnreferenced()=0
virtual void removeReactor(OdRxDLinkerReactor *pReactor)=0
virtual OdRxModule * loadModuleObj(OdRxModule *pModuleObj, bool bSilent=true)=0
virtual int getModuleCount() const =0
virtual OdRxModulePtr getModule(const OdString &key) const =0
virtual OdRxObjectPtr getAt(const OdString &key) const =0
ODRX_DECLARE_MEMBERS(OdRxDynamicLinker)
virtual OdRxModulePtr loadModule(const OdString &moduleFileName, bool silent=true)=0
virtual bool unloadModule(const OdString &moduleFileName)=0
virtual OdRxModulePtr loadApp(const OdString &applicationName, bool silent=true)=0
virtual OdRxDictionaryPtr sysRegistry() const =0
OdSmartPtr< TClass > odrxSafeCreateObject(const OdString &sClassName, const OdString &sAppName=OdString::kEmpty)
OdSmartPtr< OdRxDynamicLinker > OdRxDynamicLinkerPtr
FIRSTDLL_EXPORT OdRxDictionaryPtr odrxClassDictionary()
virtual OdRxObjectPtr create() const =0
FIRSTDLL_EXPORT_STATIC static const OdString kEmpty
OdRxModulePtr odrxSafeLoadApp(const OdString &applicationName)
virtual OdRxSystemServicesPtr sysServices() const =0
virtual OdRxModulePtr getModule(int index, OdString &key) const =0
virtual void addReactor(OdRxDLinkerReactor *pReactor)=0