CMS 3D CMS Logo

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

#include <AutoLibraryLoader.h>

Public Member Functions

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

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 ()
 

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 ( const AutoLibraryLoader )
delete

◆ AutoLibraryLoader() [2/2]

AutoLibraryLoader::AutoLibraryLoader ( )
private

Definition at line 30 of file AutoLibraryLoader.cc.

30 {}

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 EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0::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 EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0::cerr, and FWLiteEnabler::enable().

◆ operator=()

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

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 28 of file AutoLibraryLoader.h.

FWLiteEnabler::enable
static void enable()
enable automatic library loading
Definition: FWLiteEnabler.cc:46
EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0.cerr
cerr
Definition: EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0.py:8