ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkDynamicLoader.h>
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef DynamicLoader | Self |
typedef Object | Superclass |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual const char * | GetNameOfClass () const |
Static Public Member Functions | |
static int | CloseLibrary (LibHandle) |
static void * | GetSymbolAddress (LibHandle, const char *) |
static const char * | LastError () |
static const char * | LibExtension () |
static const char * | LibPrefix () |
static Pointer | New () |
static LibHandle | OpenLibrary (const char *) |
Protected Member Functions | |
DynamicLoader () | |
~DynamicLoader () | |
Private Member Functions | |
DynamicLoader (const Self &) | |
void | operator= (const Self &) |
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 43 of file itkDynamicLoader.h.
typedef SmartPointer< const Self > itk::DynamicLoader::ConstPointer |
Reimplemented from itk::Object.
Definition at line 50 of file itkDynamicLoader.h.
typedef SmartPointer< Self > itk::DynamicLoader::Pointer |
Reimplemented from itk::Object.
Definition at line 49 of file itkDynamicLoader.h.
Standard class typedefs.
Reimplemented from itk::Object.
Definition at line 47 of file itkDynamicLoader.h.
typedef Object itk::DynamicLoader::Superclass |
Reimplemented from itk::Object.
Definition at line 48 of file itkDynamicLoader.h.
itk::DynamicLoader::DynamicLoader | ( | ) | [protected] |
itk::DynamicLoader::~DynamicLoader | ( | ) | [protected] |
itk::DynamicLoader::DynamicLoader | ( | const Self & | ) | [private] |
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::itk::LightObject::Pointer itk::DynamicLoader::CreateAnother | ( | void | ) | const [virtual] |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::Object.
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.
void itk::DynamicLoader::operator= | ( | const Self & | ) | [private] |