Main Page   Class Hierarchy   Alphabetical List   Compound List   Compound Members   Related Pages  

vtkDynamicLoader Class Reference

class interface to system dynamic libraries. More...

#include <vtkDynamicLoader.h>

Inheritance diagram for vtkDynamicLoader:

Inheritance graph
[legend]
Collaboration diagram for vtkDynamicLoader:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual const char * GetClassName ()
virtual int IsA (const char *type)

Static Public Methods

vtkDynamicLoader * New ()
int IsTypeOf (const char *type)
vtkDynamicLoader * SafeDownCast (vtkObject *o)
vtkLibHandle OpenLibrary (const char *)
int CloseLibrary (vtkLibHandle)
void * GetSymbolAddress (vtkLibHandle, const char *)
const char * LibPrefix ()
const char * LibExtension ()
const char * LastError ()

Protected Methods

 vtkDynamicLoader ()
 ~vtkDynamicLoader ()
 vtkDynamicLoader (const vtkDynamicLoader &)
void operator= (const vtkDynamicLoader &)

Detailed Description

class interface to system dynamic libraries.

Date:
2000/12/10 20:08:09
Revision:
1.8
Thanks:
Thanks to William A. Hoffman who developed this class
vtkDynamicLoader provides a portable interface to loading dynamic libraries into a process.


Member Function Documentation

int vtkDynamicLoader::CloseLibrary vtkLibHandle    [static]
 

Attempt to detach a dynamic library from the process. A value of true is returned if it is successful.

virtual const char* vtkDynamicLoader::GetClassName   [virtual]
 

Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkObject.

void* vtkDynamicLoader::GetSymbolAddress vtkLibHandle   ,
const char *   
[static]
 

Find the address of the symbol in the given library

virtual int vtkDynamicLoader::IsA const char *    type [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.

int vtkDynamicLoader::IsTypeOf const char *    type [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.

const char* vtkDynamicLoader::LastError   [static]
 

Return the last error produced from a calls made on this class.

const char* vtkDynamicLoader::LibExtension   [static]
 

Return the library extension for the given architecture

const char* vtkDynamicLoader::LibPrefix   [static]
 

Return the library prefix for the given architecture

vtkDynamicLoader* vtkDynamicLoader::New   [inline, static]
 

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkObject.

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.

vtkDynamicLoader* vtkDynamicLoader::SafeDownCast vtkObject   o [static]
 

Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkObject.


The documentation for this class was generated from the following file:
Generated on Tue Mar 19 13:25:02 2002 for VTK by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002