#include <SharedLibrary.h>
Definition at line 29 of file SharedLibrary.h.
SharedLibrary::SharedLibrary |
( |
const boost::filesystem::path & |
iName | ) |
|
Definition at line 34 of file SharedLibrary.cc.
References Exception, and libraryHandle_.
35 libraryHandle_(::dlopen(iName.string().c_str(), RTLD_LAZY | RTLD_GLOBAL)),
39 char const* err = dlerror();
41 throw cms::Exception(
"PluginLibraryLoadError") <<
"unable to load " << iName.string();
43 throw cms::Exception(
"PluginLibraryLoadError") <<
"unable to load " << iName.string() <<
" because " << err;
boost::filesystem::path path_
SharedLibrary::~SharedLibrary |
( |
| ) |
|
edmplugin::SharedLibrary::SharedLibrary |
( |
const SharedLibrary & |
| ) |
|
|
private |
const boost::filesystem::path& edmplugin::SharedLibrary::path |
( |
| ) |
const |
|
inline |
bool SharedLibrary::symbol |
( |
const std::string & |
iSymbolName, |
|
|
void *& |
iSymbol |
|
) |
| const |
void* edmplugin::SharedLibrary::libraryHandle_ |
|
private |
boost::filesystem::path edmplugin::SharedLibrary::path_ |
|
private |