Marlin  01.17.01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Attributes | Private Types | Private Attributes | List of all members
marlin::ProcessorLoader Class Reference

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
 

Detailed Description

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.

Author
F. Gaede, DESY
Version
Id:
ProcessorLoader.h,v 1.3 2008-03-11 15:17:14 engels Exp

Definition at line 23 of file ProcessorLoader.h.

Member Typedef Documentation

Definition at line 26 of file ProcessorLoader.h.

Constructor & Destructor Documentation

marlin::ProcessorLoader::ProcessorLoader ( lcio::StringVec::const_iterator  first,
lcio::StringVec::const_iterator  last 
)
marlin::ProcessorLoader::~ProcessorLoader ( )
virtual

Definition at line 76 of file ProcessorLoader.cc.

Member Function Documentation

bool marlin::ProcessorLoader::failedLoading ( )
inline

Definition at line 34 of file ProcessorLoader.h.

References _loadError.

Member Data Documentation

LibVec marlin::ProcessorLoader::_libs {}
protected

Definition at line 39 of file ProcessorLoader.h.

Referenced by ProcessorLoader().

bool marlin::ProcessorLoader::_loadError =false
private

Definition at line 42 of file ProcessorLoader.h.

Referenced by failedLoading(), and ProcessorLoader().


The documentation for this class was generated from the following files: