Namespaces | Classes | Typedefs | Functions
class_loader Namespace Reference

Namespaces

 impl
 

Classes

class  ClassLoader
 This class allows loading and unloading of dynamically linked libraries which contain class definitions from which objects can be created/destroyed during runtime (i.e. class_loader). Libraries loaded by a ClassLoader are only accessible within scope of that ClassLoader object. More...
 
class  ClassLoaderException
 
class  CreateClassException
 An exception class thrown when class_loader is unable to create a plugin. More...
 
class  LibraryLoadException
 An exception class thrown when class_loader is unable to load a runtime library. More...
 
class  LibraryUnloadException
 An exception class thrown when class_loader is unable to unload a runtime library. More...
 
class  MultiLibraryClassLoader
 A ClassLoader that can bind more than one runtime library. More...
 
class  NoClassLoaderExistsException
 An exception class thrown when a multilibrary class loader does not have a ClassLoader bound to it. More...
 

Typedefs

typedef std::vector< ClassLoader * > ClassLoaderVector
 
typedef std::string LibraryPath
 
typedef std::map< LibraryPath, class_loader::ClassLoader * > LibraryToClassLoaderMap
 

Functions

CLASS_LOADER_PUBLIC std::string systemLibraryFormat (const std::string &library_name)
 Returns a platform specific version of a basic library name. More...
 
CLASS_LOADER_PUBLIC std::string systemLibraryPrefix ()
 Returns the default library prefix for the native os. More...
 
CLASS_LOADER_PUBLIC std::string systemLibrarySuffix ()
 Returns runtime library extension for native os. More...
 

Detailed Description

Note
This header file is the internal implementation of the plugin system which is exposed via the ClassLoader class

Typedef Documentation

◆ ClassLoaderVector

Definition at line 50 of file multi_library_class_loader.hpp.

◆ LibraryPath

typedef std::string class_loader::LibraryPath

Definition at line 48 of file multi_library_class_loader.hpp.

◆ LibraryToClassLoaderMap

Definition at line 49 of file multi_library_class_loader.hpp.

Function Documentation

◆ systemLibraryFormat()

std::string class_loader::systemLibraryFormat ( const std::string &  library_name)

Returns a platform specific version of a basic library name.

On *nix platforms the library name is prefixed with lib. On all platforms the output of class_loader::systemLibrarySuffix() is appended.

Definition at line 60 of file class_loader.cpp.

◆ systemLibraryPrefix()

std::string class_loader::systemLibraryPrefix ( )

Returns the default library prefix for the native os.

Definition at line 46 of file class_loader.cpp.

◆ systemLibrarySuffix()

std::string class_loader::systemLibrarySuffix ( )

Returns runtime library extension for native os.

Definition at line 54 of file class_loader.cpp.



class_loader
Author(s): Mirza Shah, Steven! Ragnarök
autogenerated on Mon Feb 28 2022 22:02:03