CMS 3D CMS Logo

List of all members | Classes | Public Member Functions | Private Member Functions | Friends
edm::RootHandlers Class Referenceabstract

#include <RootHandlers.h>

Inheritance diagram for edm::RootHandlers:
edm::service::InitRootHandlers

Classes

struct  WarningSentry
 

Public Member Functions

template<typename F >
void ignoreWarningsWhileDoing (F iFunc)
 
 RootHandlers ()
 
virtual ~RootHandlers ()
 

Private Member Functions

virtual void enableWarnings_ ()=0
 
virtual void ignoreWarnings_ ()=0
 
virtual void willBeUsingThreads ()=0
 

Friends

class edm::EventProcessor
 
struct edm::RootHandlers::WarningSentry
 

Detailed Description

Definition at line 7 of file RootHandlers.h.

Constructor & Destructor Documentation

edm::RootHandlers::RootHandlers ( )
inline

Definition at line 22 of file RootHandlers.h.

22 {}
virtual edm::RootHandlers::~RootHandlers ( )
inlinevirtual

Definition at line 23 of file RootHandlers.h.

23 {}

Member Function Documentation

virtual void edm::RootHandlers::enableWarnings_ ( )
privatepure virtual
virtual void edm::RootHandlers::ignoreWarnings_ ( )
privatepure virtual
template<typename F >
void edm::RootHandlers::ignoreWarningsWhileDoing ( F  iFunc)
inline

Definition at line 26 of file RootHandlers.h.

References enableWarnings_(), ignoreWarnings_(), and willBeUsingThreads().

26  {
27  WarningSentry sentry(this);
28  iFunc();
29  }
virtual void edm::RootHandlers::willBeUsingThreads ( )
privatepure virtual

Friends And Related Function Documentation

friend class edm::EventProcessor
friend

Definition at line 19 of file RootHandlers.h.

friend struct edm::RootHandlers::WarningSentry
friend

Definition at line 18 of file RootHandlers.h.