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 Member Functions

virtual const char * GetNameOfClass () const

Static Public Member Functions

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

Protected Member Functions

 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 60 of file itkDynamicLoader.h.


Member Typedef Documentation

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

Reimplemented from itk::Object.

Definition at line 67 of file itkDynamicLoader.h.

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

Reimplemented from itk::Object.

Definition at line 66 of file itkDynamicLoader.h.

typedef DynamicLoader itk::DynamicLoader::Self
 

Standard class typedefs.

Reimplemented from itk::Object.

Definition at line 64 of file itkDynamicLoader.h.

typedef Object itk::DynamicLoader::Superclass
 

Reimplemented from itk::Object.

Definition at line 65 of file itkDynamicLoader.h.


Constructor & Destructor Documentation

itk::DynamicLoader::DynamicLoader  )  [protected]
 

itk::DynamicLoader::~DynamicLoader  )  [protected]
 


Member Function Documentation

static 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::GetNameOfClass  )  const [virtual]
 

Run-time type information (and related methods).

Reimplemented from itk::Object.

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

Find the address of the symbol in the given library.

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

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

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

Return the library extension for the given architecture.

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

Return the library prefix for the given architecture

static Pointer itk::DynamicLoader::New  )  [static]
 

Method for creation through the object factory.

Reimplemented from itk::Object.

static 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 Tue Aug 30 17:01:21 2005 for ITK by doxygen 1.4.1 written by Dimitri van Heesch, © 1997-2000