CMS 3D CMS Logo

Public Member Functions | Private Attributes

edm::UnscheduledHandlerSentry Class Reference

#include <UnscheduledHandler.h>

List of all members.

Public Member Functions

 UnscheduledHandlerSentry (UnscheduledHandler *iHandler, CurrentProcessingContext const *iContext)
 ~UnscheduledHandlerSentry ()

Private Attributes

UnscheduledHandlerm_handler
CurrentProcessingContext const * m_old

Detailed Description

Definition at line 68 of file UnscheduledHandler.h.


Constructor & Destructor Documentation

edm::UnscheduledHandlerSentry::UnscheduledHandlerSentry ( UnscheduledHandler iHandler,
CurrentProcessingContext const *  iContext 
)

Definition at line 95 of file UnscheduledHandler.cc.

References m_handler, m_old, and edm::UnscheduledHandler::setCurrentProcessingContext().

                                                                         :
   m_handler(iHandler),
   m_old(0) {
      if(m_handler) {
          m_old = iHandler->setCurrentProcessingContext(iContext);
      }
   }
edm::UnscheduledHandlerSentry::~UnscheduledHandlerSentry ( )

Definition at line 104 of file UnscheduledHandler.cc.

References m_handler, m_old, and edm::UnscheduledHandler::setCurrentProcessingContext().

                                                       {
      if(m_handler) {
         m_handler->setCurrentProcessingContext(m_old);
      }
   }

Member Data Documentation

Definition at line 74 of file UnscheduledHandler.h.

Referenced by UnscheduledHandlerSentry(), and ~UnscheduledHandlerSentry().

Definition at line 75 of file UnscheduledHandler.h.

Referenced by UnscheduledHandlerSentry(), and ~UnscheduledHandlerSentry().