CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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.

References DMR_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

◆ loadAll()

void AutoLibraryLoader::loadAll ( )
static

load all known libraries holding dictionaries

Definition at line 42 of file AutoLibraryLoader.cc.

References DMR_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

◆ 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.