Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::DynamicLoader Class Reference
[OS System Objects]

Portable loading of dynamic libraries or dll's. More...

#include <itkDynamicLoader.h>

Inheritance diagram for itk::DynamicLoader:

Inheritance graph
[legend]
Collaboration diagram for itk::DynamicLoader:

Collaboration graph
[legend]
List of all members.

Public Types

typedef DynamicLoader Self
typedef Object Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer

Public Methods

virtual const char * GetClassName () const

Static Public Methods

Pointer New ()
LibHandle OpenLibrary (const char *)
int CloseLibrary (LibHandle)
void * GetSymbolAddress (LibHandle, const char *)
const char * LibPrefix ()
const char * LibExtension ()
const char * LastError ()

Protected Methods

 DynamicLoader ()
 ~DynamicLoader ()

Detailed Description

Portable loading of dynamic libraries or dll's.

DynamicLoader provides a portable interface to loading dynamic libraries or dll's into a process.

Definition at line 65 of file itkDynamicLoader.h.


Member Typedef Documentation

typedef SmartPointer<const Self> itk::DynamicLoader::ConstPointer
 

Reimplemented from itk::Object.

Definition at line 72 of file itkDynamicLoader.h.

typedef SmartPointer<Self> itk::DynamicLoader::Pointer
 

Reimplemented from itk::Object.

Definition at line 71 of file itkDynamicLoader.h.

typedef DynamicLoader itk::DynamicLoader::Self
 

Standard class typedefs.

Reimplemented from itk::Object.

Definition at line 69 of file itkDynamicLoader.h.

typedef Object itk::DynamicLoader::Superclass
 

Reimplemented from itk::Object.

Definition at line 70 of file itkDynamicLoader.h.


Constructor & Destructor Documentation

itk::DynamicLoader::DynamicLoader   [inline, protected]
 

Definition at line 102 of file itkDynamicLoader.h.

itk::DynamicLoader::~DynamicLoader   [inline, protected]
 

Definition at line 103 of file itkDynamicLoader.h.


Member Function Documentation

int itk::DynamicLoader::CloseLibrary LibHandle    [static]
 

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

virtual const char* itk::DynamicLoader::GetClassName   const [virtual]
 

Run-time type information (and related methods).

Reimplemented from itk::Object.

void* itk::DynamicLoader::GetSymbolAddress LibHandle   ,
const char *   
[static]
 

Find the address of the symbol in the given library.

const char* itk::DynamicLoader::LastError   [static]
 

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

const char* itk::DynamicLoader::LibExtension   [static]
 

Return the library extension for the given architecture.

const char* itk::DynamicLoader::LibPrefix   [static]
 

Return the library prefix for the given architecture

Pointer itk::DynamicLoader::New   [static]
 

Method for creation through the object factory.

Reimplemented from itk::Object.

LibHandle itk::DynamicLoader::OpenLibrary const char *    [static]
 

Load a dynamic library into the current process. The returned LibHandle can be used to access the symbols in the library.


The documentation for this class was generated from the following file:
Generated at Fri May 21 01:25:31 2004 for ITK by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2000