CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ProcessingController.cc
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: Framework
4 // Class : ProcessingController
5 //
6 // Implementation:
7 // [Notes on implementation]
8 //
9 // Original Author: Chris Jones
10 // Created: Mon Aug 9 09:33:31 CDT 2010
11 //
12 
13 // system include files
14 
15 // user include files
17 
18 using namespace edm;
19 //
20 // constants, enums and typedefs
21 //
22 
23 //
24 // static data member definitions
25 //
26 
27 //
28 // constructors and destructor
29 //
30 ProcessingController::ProcessingController(ForwardState forwardState, ReverseState reverseState, bool iCanRandomAccess)
31  : forwardState_(forwardState),
32  reverseState_(reverseState),
33  transition_(kToNextEvent),
34  specifiedEvent_(),
35  canRandomAccess_(iCanRandomAccess),
36  lastOperationSucceeded_(true) {}
37 
38 // ProcessingController::ProcessingController(const ProcessingController& rhs)
39 // {
40 // // do actual copying here;
41 // }
42 
43 //ProcessingController::~ProcessingController()
44 //{
45 //}
46 
47 //
48 // assignment operators
49 //
50 // const ProcessingController& ProcessingController::operator=(const ProcessingController& rhs)
51 // {
52 // //An exception safe implementation is
53 // ProcessingController temp(rhs);
54 // swap(rhs);
55 //
56 // return *this;
57 // }
58 
59 //
60 // member functions
61 //
63 
65 
68  specifiedEvent_ = iID;
69 }
70 
72 
73 //
74 // const member functions
75 //
77 
79 
81 
83 
85 
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)
Transition requestedTransition() const
ReverseState reverseState() const