ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Static Public Member Functions | Protected Member Functions | Static Protected Attributes | List of all members
RooSentinel Class Reference

RooSentinel is a special purposes singleton class that terminates all other RooFit singleton services when the process exists.

All function RooFit singleton services are created on the heap with a static wrapper function to avoid the 'static initialization order fiasco' but are not automatically destroyed at the end of the session. This class installs an atexit() function that takes care of this

Definition at line 21 of file RooSentinel.h.

Static Public Member Functions

static void activate ()
 Install atexit handler that calls CleanupRooFitAtExit() on program termination. More...
 

Protected Member Functions

 RooSentinel ()
 
 RooSentinel (const RooSentinel &)
 

Static Protected Attributes

static Bool_t _active = kFALSE
 

#include <RooSentinel.h>

Constructor & Destructor Documentation

RooSentinel::RooSentinel ( )
inlineprotected

Definition at line 30 of file RooSentinel.h.

RooSentinel::RooSentinel ( const RooSentinel )
inlineprotected

Definition at line 31 of file RooSentinel.h.

Member Function Documentation

void RooSentinel::activate ( )
static

Member Data Documentation

Bool_t RooSentinel::_active = kFALSE
staticprotected

Definition at line 28 of file RooSentinel.h.

Referenced by activate().


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