VTK
|
class interface to system dynamic libraries More...
#include <vtkDynamicLoader.h>
Public Types | |
typedef vtkObject | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkDynamicLoader * | NewInstance () const |
Static Public Member Functions | |
static vtkDynamicLoader * | New () |
static int | IsTypeOf (const char *type) |
static vtkDynamicLoader * | SafeDownCast (vtkObjectBase *o) |
static vtkLibHandle | OpenLibrary (const char *) |
static int | CloseLibrary (vtkLibHandle) |
static const char * | LibPrefix () |
static const char * | LibExtension () |
static const char * | LastError () |
static void * | GetSymbolAddress (vtkLibHandle, const char *) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkDynamicLoader () | |
~vtkDynamicLoader () |
class interface to system dynamic libraries
vtkDynamicLoader provides a portable interface to loading dynamic libraries into a process.
Definition at line 37 of file vtkDynamicLoader.h.
Reimplemented from vtkObject.
Definition at line 41 of file vtkDynamicLoader.h.
vtkDynamicLoader::vtkDynamicLoader | ( | ) | [inline, protected] |
Definition at line 69 of file vtkDynamicLoader.h.
vtkDynamicLoader::~vtkDynamicLoader | ( | ) | [inline, protected] |
Definition at line 70 of file vtkDynamicLoader.h.
static vtkDynamicLoader* vtkDynamicLoader::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkObject.
static int vtkDynamicLoader::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkObject.
virtual int vtkDynamicLoader::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkObject.
static vtkDynamicLoader* vtkDynamicLoader::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkObject.
virtual vtkObjectBase* vtkDynamicLoader::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkObject.
vtkDynamicLoader* vtkDynamicLoader::NewInstance | ( | ) | const |
Reimplemented from vtkObject.
static vtkLibHandle vtkDynamicLoader::OpenLibrary | ( | const char * | ) | [static] |
Load a dynamic library into the current process. The returned vtkLibHandle can be used to access the symbols in the library.
static int vtkDynamicLoader::CloseLibrary | ( | vtkLibHandle | ) | [static] |
Attempt to detach a dynamic library from the process. A value of true is returned if it is successful.
static void* vtkDynamicLoader::GetSymbolAddress | ( | vtkLibHandle | , |
const char * | |||
) | [static] |
Find the address of the symbol in the given library static vtkSymbolPointer GetSymbolAddress(vtkLibHandle, const char*);
static const char* vtkDynamicLoader::LibPrefix | ( | ) | [static] |
Return the library prefix for the given architecture
static const char* vtkDynamicLoader::LibExtension | ( | ) | [static] |
Return the library extension for the given architecture
static const char* vtkDynamicLoader::LastError | ( | ) | [static] |
Return the last error produced from a calls made on this class.