class_loader  master
The class_loader package is a ROS-independent package for loading plugins during runtime.
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::string LibraryPath
 
typedef std::map< LibraryPath, class_loader::ClassLoader * > LibraryToClassLoaderMap
 
typedef std::vector< ClassLoader * > ClassLoaderVector
 

Functions

std::string systemLibraryFormat (const std::string &library_name)
 Returns a platform specific version of a basic library name. More...
 

Detailed Description

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

Typedef Documentation

◆ LibraryPath

◆ LibraryToClassLoaderMap

◆ ClassLoaderVector

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.

Parameters
[in]library_namename to add the prefix
Returns
library name with the prefix added