CMS 3D CMS Logo

List of all members | Static Public Member Functions | Private Member Functions | Static Private Attributes | Friends
AutoLibraryLoader Class Reference

#include <AutoLibraryLoader.h>

Static Public Member Functions

static void enable ()
 enable automatic library loading More...
 
static void loadAll ()
 load all known libraries holding dictionaries More...
 

Private Member Functions

 AutoLibraryLoader ()
 
 AutoLibraryLoader (const AutoLibraryLoader &)=delete
 
const AutoLibraryLoaderoperator= (const AutoLibraryLoader &)=delete
 

Static Private Attributes

static bool enabled_
 

Friends

class DummyClassToStopCompilerWarning
 

Detailed Description

ROOT helper class which can automatically load the proper shared library when ROOT needs a new class dictionary

Author
Chris Jones, Cornell

Definition at line 14 of file AutoLibraryLoader.h.

Constructor & Destructor Documentation

AutoLibraryLoader::AutoLibraryLoader ( )
private

Definition at line 30 of file AutoLibraryLoader.cc.

30 {}
AutoLibraryLoader::AutoLibraryLoader ( const AutoLibraryLoader )
privatedelete

Member Function Documentation

void AutoLibraryLoader::enable ( )
static

enable automatic library loading

Definition at line 36 of file AutoLibraryLoader.cc.

References beam_dqm_sourceclient-live_cfg::cerr, and FWLiteEnabler::enable().

36  {
37  std::cerr << "WARNING: AutoLibraryloader::enable() and AutoLibraryLoader.h are deprecated.\n"
38  << "Use FWLiteEnabler::enable() and FWLiteEnabler.h instead" << std::endl;
40 }
static void enable()
enable automatic library loading
void AutoLibraryLoader::loadAll ( )
static

load all known libraries holding dictionaries

Definition at line 42 of file AutoLibraryLoader.cc.

References beam_dqm_sourceclient-live_cfg::cerr, and FWLiteEnabler::enable().

42  {
43  std::cerr << "WARNING: AutoLibraryloader::loadAll() and AutoLibraryLoader.h are deprecated.\n"
44  << "Use FWLiteEnabler::enable() and FWLiteEnabler.h instead" << std::endl;
46 }
static void enable()
enable automatic library loading
const AutoLibraryLoader& AutoLibraryLoader::operator= ( const AutoLibraryLoader )
privatedelete

Friends And Related Function Documentation

friend class DummyClassToStopCompilerWarning
friend

Definition at line 15 of file AutoLibraryLoader.h.

Member Data Documentation

bool AutoLibraryLoader::enabled_
staticprivate

Definition at line 25 of file AutoLibraryLoader.h.