CMS 3D CMS Logo

ProcessingController.h
Go to the documentation of this file.
1 #ifndef FWCore_Framework_ProcessingController_h
2 #define FWCore_Framework_ProcessingController_h
3 // -*- C++ -*-
4 //
5 // Package: Framework
6 // Class : ProcessingController
7 //
16 //
17 // Original Author: Chris Jones
18 // Created: Fri Aug 6 16:06:01 CDT 2010
19 //
20 
21 // system include files
22 
23 // user include files
25 
26 // forward declarations
27 namespace edm {
28 
30  public:
31  enum ForwardState {
33  kNextFileExists, // but no events ahead in this file
35  kUnknownForward // returned by a source which is not random accessible
36  };
37 
38  enum ReverseState {
40  kPreviousFileExists, // but no events backwards in this file
42  kUnknownReverse // returned by a source which is not random accessible
43  };
44 
46  //virtual ~ProcessingController();
47 
48  // ---------- const member functions ---------------------
49 
51  ForwardState forwardState() const;
52  ReverseState reverseState() const;
53 
55  bool canRandomAccess() const;
56 
58 
60 
64 
65  bool lastOperationSucceeded() const;
66 
67  // ---------- static member functions --------------------
68 
69  // ---------- member functions ---------------------------
70 
75 
80 
84  void setTransitionToEvent(edm::EventID const& iID);
85 
87 
88  private:
89  ProcessingController(const ProcessingController&) = delete; // stop default
90 
91  const ProcessingController& operator=(const ProcessingController&) = delete; // stop default
92 
93  // ---------- member data --------------------------------
100  };
101 } // namespace edm
102 #endif
bool canRandomAccess() const
Returns 'true' if the job's source can randomly access.
edm::EventID specifiedEventTransition() const
ProcessingController(ForwardState forwardState, ReverseState reverseState, bool iCanRandomAccess)
void setTransitionToEvent(edm::EventID const &iID)
ForwardState forwardState() const
Returns the present state of processing.
void setLastOperationSucceeded(bool value)
const ProcessingController & operator=(const ProcessingController &)=delete
Definition: value.py:1
HLT enums.
Transition requestedTransition() const
ReverseState reverseState() const