#include <ProcessingController.h>
Definition at line 30 of file ProcessingController.h.
Definition at line 33 of file ProcessingController.h.
{ kEventsAheadInFile, kNextFileExists, // but no events ahead in this file kAtLastEvent, kUnknownForward // returned by a source which is not random accessible };
Definition at line 40 of file ProcessingController.h.
{ kEventsBackwardsInFile, kPreviousFileExists, // but no events backwards in this file kAtFirstEvent, kUnknownReverse // returned by a source which is not random accessible };
Definition at line 59 of file ProcessingController.h.
ProcessingController::ProcessingController | ( | ForwardState | forwardState, |
ReverseState | reverseState, | ||
bool | iCanRandomAccess | ||
) |
Definition at line 31 of file ProcessingController.cc.
: forwardState_(forwardState), reverseState_(reverseState), transition_(kToNextEvent), specifiedEvent_(), canRandomAccess_(iCanRandomAccess), lastOperationSucceeded_(true) { }
edm::ProcessingController::ProcessingController | ( | const ProcessingController & | ) | [private] |
bool ProcessingController::canRandomAccess | ( | ) | const |
Returns 'true' if the job's source can randomly access.
Definition at line 106 of file ProcessingController.cc.
References canRandomAccess_.
Referenced by edm::NavigateEventsLooper::duringLoop().
{ return canRandomAccess_; }
ProcessingController::ForwardState ProcessingController::forwardState | ( | ) | const |
Returns the present state of processing.
Definition at line 94 of file ProcessingController.cc.
References forwardState_.
Referenced by edm::NavigateEventsLooper::duringLoop(), and FWFFLooper::duringLoop().
{ return forwardState_; }
bool ProcessingController::lastOperationSucceeded | ( | ) | const |
Definition at line 125 of file ProcessingController.cc.
References lastOperationSucceeded_.
Referenced by edm::NavigateEventsLooper::duringLoop(), and edm::EventProcessor::readAndProcessEvent().
{ return lastOperationSucceeded_; }
const ProcessingController& edm::ProcessingController::operator= | ( | const ProcessingController & | ) | [private] |
ProcessingController::Transition ProcessingController::requestedTransition | ( | ) | const |
Definition at line 112 of file ProcessingController.cc.
References transition_.
Referenced by edm::EventProcessor::readAndProcessEvent().
{ return transition_; }
ProcessingController::ReverseState ProcessingController::reverseState | ( | ) | const |
Definition at line 100 of file ProcessingController.cc.
References reverseState_.
Referenced by edm::NavigateEventsLooper::duringLoop(), and FWFFLooper::duringLoop().
{ return reverseState_; }
void ProcessingController::setLastOperationSucceeded | ( | bool | value | ) |
Definition at line 85 of file ProcessingController.cc.
References lastOperationSucceeded_, and relativeConstraints::value.
Referenced by edm::EventProcessor::readAndProcessEvent().
{ lastOperationSucceeded_ = value; }
void ProcessingController::setTransitionToEvent | ( | edm::EventID const & | iID | ) |
Tells the framework that the next event to processes should be iID. If event iID can not be found in the source, the job will drop out of the event loop.
Definition at line 78 of file ProcessingController.cc.
References kToSpecifiedEvent, specifiedEvent_, and transition_.
Referenced by edm::NavigateEventsLooper::duringLoop(), and FWFFLooper::duringLoop().
{ transition_ = kToSpecifiedEvent; specifiedEvent_ =iID; }
void ProcessingController::setTransitionToNextEvent | ( | ) |
Tells the framework that we should go onto the next event in the sequence. If there is no next event the job will drop out of the event loop.
Definition at line 66 of file ProcessingController.cc.
References kToNextEvent, and transition_.
Referenced by edm::NavigateEventsLooper::duringLoop(), and FWFFLooper::duringLoop().
{ transition_ = kToNextEvent; }
void ProcessingController::setTransitionToPreviousEvent | ( | ) |
Tells the framework we should backup and run the previous event seen in the sequence. If you are already at the first event the job will drop out of the event loop
Definition at line 72 of file ProcessingController.cc.
References kToPreviousEvent, and transition_.
Referenced by edm::NavigateEventsLooper::duringLoop(), and FWFFLooper::duringLoop().
{ transition_ = kToPreviousEvent; }
edm::EventID ProcessingController::specifiedEventTransition | ( | ) | const |
If 'setTransitionToEvent was called this returns the value passed, else it returns an invalid EventID
Definition at line 119 of file ProcessingController.cc.
References specifiedEvent_.
Referenced by edm::EventProcessor::readAndProcessEvent().
{ return specifiedEvent_; }
bool edm::ProcessingController::canRandomAccess_ [private] |
Definition at line 104 of file ProcessingController.h.
Referenced by canRandomAccess().
Definition at line 100 of file ProcessingController.h.
Referenced by forwardState().
bool edm::ProcessingController::lastOperationSucceeded_ [private] |
Definition at line 105 of file ProcessingController.h.
Referenced by lastOperationSucceeded(), and setLastOperationSucceeded().
Definition at line 101 of file ProcessingController.h.
Referenced by reverseState().
Definition at line 103 of file ProcessingController.h.
Referenced by setTransitionToEvent(), and specifiedEventTransition().
Definition at line 102 of file ProcessingController.h.
Referenced by requestedTransition(), setTransitionToEvent(), setTransitionToNextEvent(), and setTransitionToPreviousEvent().