8#include "daq/slc/system/DynamicLoader.h"
9#include "daq/slc/system/DynamicLoadException.h"
15DynamicLoader::~DynamicLoader()
19void DynamicLoader::close()
21 if (m_handle != NULL) {
27void* DynamicLoader::open(
const std::string& lib_path)
29 void* handle = dlopen(lib_path.c_str(), RTLD_LAZY);
37void* DynamicLoader::load(
const std::string& funcname)
40 void* func = dlsym(m_handle, funcname.c_str());
41 if ((error = dlerror()) != NULL) {
Abstract base class for different kinds of events.