DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
Public Member Functions | |
SharedLibrary (const std::string &name) | |
~SharedLibrary () | |
Private Attributes | |
void * | handle_ |
Definition at line 39 of file PluginManager.hpp.
ers::PluginManager::SharedLibrary::SharedLibrary | ( | const std::string & | name | ) |
Loads a shared library and locates the create function. Stores a pointer to the create function in the map indexed by the library name.
name | Name of the class to be loaded (library name excluding lib prefix and .so suffix). |
Definition at line 21 of file PluginManager.cpp.
ers::PluginManager::SharedLibrary::~SharedLibrary | ( | ) |
Unloads dynamic library and removes it from the map.
Definition at line 36 of file PluginManager.cpp.
|
private |
Definition at line 54 of file PluginManager.hpp.