Marlin
01.17.01
|
Processor loader - loads shared libraries with marlin processors. More...
#include <ProcessorLoader.h>
Public Member Functions | |
ProcessorLoader (lcio::StringVec::const_iterator first, lcio::StringVec::const_iterator last) | |
virtual | ~ProcessorLoader () |
bool | failedLoading () |
Protected Attributes | |
LibVec | _libs {} |
Private Types | |
typedef std::vector< void * > | LibVec |
Private Attributes | |
bool | _loadError =false |
Processor loader - loads shared libraries with marlin processors.
The shared libraries are loaded in the constructor with dlopen and closed in the destructor, i.e. their lifetime is the same as that of the ProcessorLoader instance.
Definition at line 23 of file ProcessorLoader.h.
|
private |
Definition at line 26 of file ProcessorLoader.h.
marlin::ProcessorLoader::ProcessorLoader | ( | lcio::StringVec::const_iterator | first, |
lcio::StringVec::const_iterator | last | ||
) |
Definition at line 12 of file ProcessorLoader.cc.
References _libs, _loadError, std::string::c_str(), std::set< K >::end(), std::endl(), std::set< K >::find(), std::string::find_last_of(), std::set< K >::insert(), std::vector< T >::push_back(), and std::string::substr().
|
virtual |
Definition at line 76 of file ProcessorLoader.cc.
|
inline |
Definition at line 34 of file ProcessorLoader.h.
References _loadError.
|
protected |
Definition at line 39 of file ProcessorLoader.h.
Referenced by ProcessorLoader().
|
private |
Definition at line 42 of file ProcessorLoader.h.
Referenced by failedLoading(), and ProcessorLoader().