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() [1/2]

AutoLibraryLoader::AutoLibraryLoader ( )
private

Definition at line 30 of file AutoLibraryLoader.cc.

30 {}

◆ AutoLibraryLoader() [2/2]

AutoLibraryLoader::AutoLibraryLoader ( const AutoLibraryLoader )
privatedelete

Member Function Documentation

◆ enable()

void AutoLibraryLoader::enable ( )
static

enable automatic library loading

Definition at line 36 of file AutoLibraryLoader.cc.

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

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

◆ loadAll()

void AutoLibraryLoader::loadAll ( )
static

load all known libraries holding dictionaries

Definition at line 42 of file AutoLibraryLoader.cc.

42  {
43  std::cerr << "WARNING: AutoLibraryloader::loadAll() and AutoLibraryLoader.h are deprecated.\n"
44  << "Use FWLiteEnabler::enable() and FWLiteEnabler.h instead" << std::endl;
46 }

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

◆ operator=()

const AutoLibraryLoader& AutoLibraryLoader::operator= ( const AutoLibraryLoader )
privatedelete

Friends And Related Function Documentation

◆ DummyClassToStopCompilerWarning

friend class DummyClassToStopCompilerWarning
friend

Definition at line 15 of file AutoLibraryLoader.h.

Member Data Documentation

◆ enabled_

bool AutoLibraryLoader::enabled_
staticprivate

Definition at line 25 of file AutoLibraryLoader.h.

FWLiteEnabler::enable
static void enable()
enable automatic library loading
Definition: FWLiteEnabler.cc:46
beam_dqm_sourceclient-live_cfg.cerr
cerr
Definition: beam_dqm_sourceclient-live_cfg.py:17