#include <FWCore/Framework/src/EPStates.h>
Public Member Functions | |
edm::IEventProcessor & | ep () 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::IEventProcessor * | ep_ |
FileMode | fileMode_ |
bool | handleEmptyLumis_ |
bool | handleEmptyRuns_ |
Definition at line 74 of file EPStates.h.
statemachine::Machine::Machine | ( | edm::IEventProcessor * | ep, | |
FileMode | fileMode, | |||
bool | handleEmptyRuns, | |||
bool | handleEmptyLumis | |||
) |
Definition at line 23 of file EPStates.cc.
00026 : 00027 ep_(ep), 00028 fileMode_(fileMode), 00029 handleEmptyRuns_(handleEmptyRuns), 00030 handleEmptyLumis_(handleEmptyLumis) { }
edm::IEventProcessor & statemachine::Machine::ep | ( | ) | const |
FileMode statemachine::Machine::fileMode | ( | ) | const |
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_; }
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 }
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 }
Definition at line 37 of file EPStates.cc.
References ep_, and edm::IEventProcessor::startingNewLoop().
00037 { 00038 ep_->startingNewLoop(); 00039 }
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] |
bool statemachine::Machine::handleEmptyLumis_ [private] |
bool statemachine::Machine::handleEmptyRuns_ [private] |