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  ProcessingController(const ProcessingController&) = delete; // stop default
47  const ProcessingController& operator=(const ProcessingController&) = delete; // stop default
48 
49  // ---------- const member functions ---------------------
50 
52  ForwardState forwardState() const;
53  ReverseState reverseState() const;
54 
56  bool canRandomAccess() const;
57 
59 
61 
65 
66  bool lastOperationSucceeded() const;
67 
68  // ---------- static member functions --------------------
69 
70  // ---------- member functions ---------------------------
71 
76 
81 
85  void setTransitionToEvent(edm::EventID const& iID);
86 
88 
89  private:
90  // ---------- member data --------------------------------
97  };
98 } // namespace edm
99 #endif
ProcessingController(ForwardState forwardState, ReverseState reverseState, bool iCanRandomAccess)
ReverseState reverseState() const
void setTransitionToEvent(edm::EventID const &iID)
void setLastOperationSucceeded(bool value)
const ProcessingController & operator=(const ProcessingController &)=delete
Transition
Definition: Transition.h:12
Definition: value.py:1
bool canRandomAccess() const
Returns 'true' if the job's source can randomly access.
ForwardState forwardState() const
Returns the present state of processing.
edm::EventID specifiedEventTransition() const
HLT enums.
Transition requestedTransition() const