File indexing completed on 2024-04-06 12:12:13
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 #include "FWCore/Framework/interface/ProcessingController.h"
0017
0018 using namespace edm;
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030 ProcessingController::ProcessingController(ForwardState forwardState, ReverseState reverseState, bool iCanRandomAccess)
0031 : forwardState_(forwardState),
0032 reverseState_(reverseState),
0033 transition_(kToNextEvent),
0034 specifiedEvent_(),
0035 canRandomAccess_(iCanRandomAccess),
0036 lastOperationSucceeded_(true) {}
0037
0038
0039
0040
0041
0042
0043
0044
0045
0046
0047
0048
0049
0050
0051
0052
0053
0054
0055
0056
0057
0058
0059
0060
0061
0062 void ProcessingController::setTransitionToNextEvent() { transition_ = kToNextEvent; }
0063
0064 void ProcessingController::setTransitionToPreviousEvent() { transition_ = kToPreviousEvent; }
0065
0066 void ProcessingController::setTransitionToEvent(edm::EventID const& iID) {
0067 transition_ = kToSpecifiedEvent;
0068 specifiedEvent_ = iID;
0069 }
0070
0071 void ProcessingController::setLastOperationSucceeded(bool value) { lastOperationSucceeded_ = value; }
0072
0073
0074
0075
0076 ProcessingController::ForwardState ProcessingController::forwardState() const { return forwardState_; }
0077
0078 ProcessingController::ReverseState ProcessingController::reverseState() const { return reverseState_; }
0079
0080 bool ProcessingController::canRandomAccess() const { return canRandomAccess_; }
0081
0082 ProcessingController::Transition ProcessingController::requestedTransition() const { return transition_; }
0083
0084 edm::EventID ProcessingController::specifiedEventTransition() const { return specifiedEvent_; }
0085
0086 bool ProcessingController::lastOperationSucceeded() const { return lastOperationSucceeded_; }