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 Attributes
statemachine::Machine Class Reference

#include <EPStates.h>

Inheritance diagram for statemachine::Machine:

Public Member Functions

EmptyRunLumiMode emptyRunLumiMode () const
 
edm::IEventProcessorep () const
 
FileMode fileMode () const
 
 Machine (edm::IEventProcessor *ep, FileMode fileMode, EmptyRunLumiMode emptyRunLumiMode)
 
void rewindAndPrepareForNextLoop (Restart const &restart)
 
void startingNewLoop (File const &file)
 
void startingNewLoop (Stop const &stop)
 

Private Attributes

EmptyRunLumiMode emptyRunLumiMode_
 
edm::IEventProcessorep_
 
FileMode fileMode_
 

Detailed Description

Definition at line 92 of file EPStates.h.

Constructor & Destructor Documentation

statemachine::Machine::Machine ( edm::IEventProcessor ep,
FileMode  fileMode,
EmptyRunLumiMode  emptyRunLumiMode 
)

Definition at line 25 of file EPStates.cc.

27  :
28  ep_(ep),
31  }
edm::IEventProcessor * ep_
Definition: EPStates.h:109
FileMode fileMode() const
Definition: EPStates.cc:34
EmptyRunLumiMode emptyRunLumiMode_
Definition: EPStates.h:111
EmptyRunLumiMode emptyRunLumiMode() const
Definition: EPStates.cc:35

Member Function Documentation

EmptyRunLumiMode statemachine::Machine::emptyRunLumiMode ( ) const

Definition at line 35 of file EPStates.cc.

References emptyRunLumiMode_.

35 { return emptyRunLumiMode_; }
EmptyRunLumiMode emptyRunLumiMode_
Definition: EPStates.h:111
edm::IEventProcessor & statemachine::Machine::ep ( ) const

Definition at line 33 of file EPStates.cc.

References ep_.

33 { return *ep_; }
edm::IEventProcessor * ep_
Definition: EPStates.h:109
FileMode statemachine::Machine::fileMode ( ) const

Definition at line 34 of file EPStates.cc.

References fileMode_.

34 { return fileMode_; }
void statemachine::Machine::rewindAndPrepareForNextLoop ( Restart const &  restart)

Definition at line 46 of file EPStates.cc.

References ep_, edm::IEventProcessor::prepareForNextLoop(), and edm::IEventProcessor::rewindInput().

46  {
48  ep_->rewindInput();
49  }
edm::IEventProcessor * ep_
Definition: EPStates.h:109
virtual void rewindInput()=0
virtual void prepareForNextLoop()=0
void statemachine::Machine::startingNewLoop ( File const &  file)

Definition at line 37 of file EPStates.cc.

References ep_, and edm::IEventProcessor::startingNewLoop().

37  {
39  }
edm::IEventProcessor * ep_
Definition: EPStates.h:109
virtual void startingNewLoop()=0
void statemachine::Machine::startingNewLoop ( Stop const &  stop)

Definition at line 41 of file EPStates.cc.

References edm::IEventProcessor::alreadyHandlingException(), ep_, and edm::IEventProcessor::startingNewLoop().

41  {
42  if(ep_->alreadyHandlingException()) return;
44  }
edm::IEventProcessor * ep_
Definition: EPStates.h:109
virtual void startingNewLoop()=0
virtual bool alreadyHandlingException() const =0

Member Data Documentation

EmptyRunLumiMode statemachine::Machine::emptyRunLumiMode_
private

Definition at line 111 of file EPStates.h.

Referenced by emptyRunLumiMode().

edm::IEventProcessor* statemachine::Machine::ep_
private

Definition at line 109 of file EPStates.h.

Referenced by ep(), rewindAndPrepareForNextLoop(), and startingNewLoop().

FileMode statemachine::Machine::fileMode_
private

Definition at line 110 of file EPStates.h.

Referenced by fileMode().