CMS 3D CMS Logo

statemachine::Machine Class Reference

#include <FWCore/Framework/src/EPStates.h>

List of all members.

Public Member Functions

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

Private Attributes

edm::IEventProcessorep_
FileMode fileMode_
bool handleEmptyLumis_
bool handleEmptyRuns_


Detailed Description

Definition at line 74 of file EPStates.h.


Constructor & Destructor Documentation

statemachine::Machine::Machine ( edm::IEventProcessor ep,
FileMode  fileMode,
bool  handleEmptyRuns,
bool  handleEmptyLumis 
)

Definition at line 23 of file EPStates.cc.


Member Function Documentation

edm::IEventProcessor & statemachine::Machine::ep (  )  const

Definition at line 32 of file EPStates.cc.

References ep_.

00032 { return *ep_; }

FileMode statemachine::Machine::fileMode (  )  const

Definition at line 33 of file EPStates.cc.

References fileMode_.

00033 { return fileMode_; }

bool statemachine::Machine::handleEmptyLumis (  )  const

Definition at line 35 of file EPStates.cc.

References handleEmptyLumis_.

00035 { return handleEmptyLumis_; }

bool statemachine::Machine::handleEmptyRuns (  )  const

Definition at line 34 of file EPStates.cc.

References handleEmptyRuns_.

00034 { return handleEmptyRuns_; }

void statemachine::Machine::rewindAndPrepareForNextLoop ( Restart const &  restart  ) 

Definition at line 46 of file EPStates.cc.

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

00046                                                                   {
00047     ep_->prepareForNextLoop();
00048     ep_->rewindInput();
00049   }

void statemachine::Machine::startingNewLoop ( Stop const &  stop  ) 

Definition at line 41 of file EPStates.cc.

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

00041                                                 {
00042     if (ep_->alreadyHandlingException()) return;
00043     ep_->startingNewLoop();
00044   }

void statemachine::Machine::startingNewLoop ( File const &  file  ) 

Definition at line 37 of file EPStates.cc.

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

00037                                                 {
00038     ep_->startingNewLoop();
00039   }


Member Data Documentation

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

Definition at line 93 of file EPStates.h.

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

FileMode statemachine::Machine::fileMode_ [private]

Definition at line 94 of file EPStates.h.

Referenced by fileMode().

bool statemachine::Machine::handleEmptyLumis_ [private]

Definition at line 96 of file EPStates.h.

Referenced by handleEmptyLumis().

bool statemachine::Machine::handleEmptyRuns_ [private]

Definition at line 95 of file EPStates.h.

Referenced by handleEmptyRuns().


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:52:43 2009 for CMSSW by  doxygen 1.5.4