CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Classes | Typedefs | Functions
DynamicLinker.h File Reference
#include "RxDictionary.h"
#include "RxModule.h"
#include "TD_PackPush.h"
#include "TD_PackPop.h"

Go to the source code of this file.

Classes

class  OdRxDynamicLinker
 

Typedefs

typedef OdSmartPtr< OdRxModuleOdRxModulePtr
 
typedef OdSmartPtr< OdRxSystemServicesOdRxSystemServicesPtr
 
typedef OdSmartPtr< OdRxDynamicLinkerOdRxDynamicLinkerPtr
 

Functions

FIRSTDLL_EXPORT OdRxDynamicLinkerodrxDynamicLinker ()
 
template<class TClass >
OdSmartPtr< TClass > odrxSafeCreateObject (const OdString &sClassName, const OdString &sAppName=OdString::kEmpty)
 
OdRxModulePtr odrxLoadApp (const OdString &applicationName)
 
OdRxModulePtr odrxSafeLoadApp (const OdString &applicationName)
 

Typedef Documentation

◆ OdRxDynamicLinkerPtr

This template class is a specialization of the OdSmartPtr class for OdRxDynamicLinker pointers.

Definition at line 168 of file DynamicLinker.h.

◆ OdRxModulePtr

This template class is a specialization of the OdSmartPtr class for OdRxModule pointers.

Definition at line 44 of file DynamicLinker.h.

◆ OdRxSystemServicesPtr

This template class is a specialization of the OdSmartPtr class for OdRxSystemServices pointers.

Definition at line 50 of file DynamicLinker.h.

Function Documentation

◆ odrxDynamicLinker()

FIRSTDLL_EXPORT OdRxDynamicLinker * odrxDynamicLinker ( )

Returns the Teigha global dynamic linker.

◆ odrxLoadApp()

OdRxModulePtr odrxLoadApp ( const OdString applicationName)
inline

Definition at line 199 of file DynamicLinker.h.

◆ odrxSafeCreateObject()

template<class TClass >
OdSmartPtr< TClass > odrxSafeCreateObject ( const OdString sClassName,
const OdString sAppName = OdString::kEmpty 
)

This function creates a new instance of the class specified by the argument as a string and returns a /typified smart pointer/ to it. Always returns non-null pointer (or throws exception).

Parameters
sClassName[in] Custom class name as a string.
sAppName[in,optional] RX application name to load if class is not registred.

Definition at line 184 of file DynamicLinker.h.

◆ odrxSafeLoadApp()

OdRxModulePtr odrxSafeLoadApp ( const OdString applicationName)
inline

Definition at line 201 of file DynamicLinker.h.