test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
31  public:
32  enum ForwardState {
34  kNextFileExists, // but no events ahead in this file
36  kUnknownForward // returned by a source which is not random accessible
37  };
38 
39  enum ReverseState {
41  kPreviousFileExists, // but no events backwards in this file
43  kUnknownReverse // returned by a source which is not random accessible
44  };
45 
47  //virtual ~ProcessingController();
48 
49  // ---------- const member functions ---------------------
50 
52  ForwardState forwardState() const;
53  ReverseState reverseState() const;
54 
56  bool canRandomAccess() const;
57 
58  enum Transition {
62  };
63 
65 
69 
70  bool lastOperationSucceeded() const;
71 
72  // ---------- static member functions --------------------
73 
74  // ---------- member functions ---------------------------
75 
80 
85 
89  void setTransitionToEvent( edm::EventID const& iID);
90 
92 
93  private:
94  ProcessingController(const ProcessingController&); // stop default
95 
96  const ProcessingController& operator=(const ProcessingController&); // stop default
97 
98  // ---------- member data --------------------------------
105  };
106 }
107 #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 &)
Transition requestedTransition() const
ReverseState reverseState() const