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 91 of file EPStates.h.

Constructor & Destructor Documentation

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

Definition at line 26 of file EPStates.cc.

28  :
29  ep_(ep),
32  }
edm::IEventProcessor * ep_
Definition: EPStates.h:108
FileMode fileMode() const
Definition: EPStates.cc:35
EmptyRunLumiMode emptyRunLumiMode_
Definition: EPStates.h:110
EmptyRunLumiMode emptyRunLumiMode() const
Definition: EPStates.cc:36

Member Function Documentation

EmptyRunLumiMode statemachine::Machine::emptyRunLumiMode ( ) const

Definition at line 36 of file EPStates.cc.

References emptyRunLumiMode_.

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

Definition at line 34 of file EPStates.cc.

References ep_.

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

Definition at line 35 of file EPStates.cc.

References fileMode_.

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

Definition at line 47 of file EPStates.cc.

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

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

Definition at line 38 of file EPStates.cc.

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

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

Definition at line 42 of file EPStates.cc.

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

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

Member Data Documentation

EmptyRunLumiMode statemachine::Machine::emptyRunLumiMode_
private

Definition at line 110 of file EPStates.h.

Referenced by emptyRunLumiMode().

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

Definition at line 108 of file EPStates.h.

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

FileMode statemachine::Machine::fileMode_
private

Definition at line 109 of file EPStates.h.

Referenced by fileMode().