CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes | Friends
edm::UnscheduledHandler Class Referenceabstract

#include <UnscheduledHandler.h>

Inheritance diagram for edm::UnscheduledHandler:
edm::UnscheduledCallProducer

Public Member Functions

UnscheduledHandleroperator= (UnscheduledHandler const &)=delete
 
void setEventSetup (EventSetup const &iSetup)
 
bool tryToFill (std::string const &label, EventPrincipal &iEvent, ModuleCallingContext const *mcc)
 returns true if found an EDProducer and ran it More...
 
 UnscheduledHandler ()
 
 UnscheduledHandler (UnscheduledHandler const &)=delete
 
virtual ~UnscheduledHandler ()
 

Private Member Functions

virtual bool tryToFillImpl (std::string const &, EventPrincipal &, EventSetup const &, ModuleCallingContext const *mcc)=0
 

Private Attributes

EventSetup const * m_setup
 

Friends

class UnscheduledHandlerSentry
 

Detailed Description

Definition at line 33 of file UnscheduledHandler.h.

Constructor & Destructor Documentation

edm::UnscheduledHandler::UnscheduledHandler ( )
inline

Definition at line 37 of file UnscheduledHandler.h.

37 : m_setup(nullptr) {}
EventSetup const * m_setup
UnscheduledHandler::~UnscheduledHandler ( )
virtual

Definition at line 22 of file UnscheduledHandler.cc.

22  {
23  }
edm::UnscheduledHandler::UnscheduledHandler ( UnscheduledHandler const &  )
delete

Member Function Documentation

UnscheduledHandler& edm::UnscheduledHandler::operator= ( UnscheduledHandler const &  )
delete
void edm::UnscheduledHandler::setEventSetup ( EventSetup const &  iSetup)
inline

Definition at line 49 of file UnscheduledHandler.h.

References m_setup.

49  {
50  m_setup = &iSetup;
51  }
EventSetup const * m_setup
bool UnscheduledHandler::tryToFill ( std::string const &  label,
EventPrincipal iEvent,
ModuleCallingContext const *  mcc 
)

returns true if found an EDProducer and ran it

Definition at line 26 of file UnscheduledHandler.cc.

References m_setup, and tryToFillImpl().

28  {
29  assert(m_setup);
30  return tryToFillImpl(label, iEvent, *m_setup, mcc);
31  }
int iEvent
Definition: GenABIO.cc:230
EventSetup const * m_setup
virtual bool tryToFillImpl(std::string const &, EventPrincipal &, EventSetup const &, ModuleCallingContext const *mcc)=0
virtual bool edm::UnscheduledHandler::tryToFillImpl ( std::string const &  ,
EventPrincipal ,
EventSetup const &  ,
ModuleCallingContext const *  mcc 
)
privatepure virtual

Implemented in edm::UnscheduledCallProducer.

Referenced by tryToFill().

Friends And Related Function Documentation

friend class UnscheduledHandlerSentry
friend

Definition at line 36 of file UnscheduledHandler.h.

Member Data Documentation

EventSetup const* edm::UnscheduledHandler::m_setup
private

Definition at line 59 of file UnscheduledHandler.h.

Referenced by setEventSetup(), and tryToFill().