CMS 3D CMS Logo

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 }
39 
40 // ProcessingController::ProcessingController(const ProcessingController& rhs)
41 // {
42 // // do actual copying here;
43 // }
44 
45 //ProcessingController::~ProcessingController()
46 //{
47 //}
48 
49 //
50 // assignment operators
51 //
52 // const ProcessingController& ProcessingController::operator=(const ProcessingController& rhs)
53 // {
54 // //An exception safe implementation is
55 // ProcessingController temp(rhs);
56 // swap(rhs);
57 //
58 // return *this;
59 // }
60 
61 //
62 // member functions
63 //
64 void
66 {
68 }
69 
70 void
72 {
74 }
75 
76 void
78 {
80  specifiedEvent_ =iID;
81 }
82 
83 void
85 {
87 }
88 
89 //
90 // const member functions
91 //
94 {
95  return forwardState_;
96 }
97 
100 {
101  return reverseState_;
102 }
103 
104 bool
106 {
107  return canRandomAccess_;
108 }
109 
112 {
113  return transition_;
114 }
115 
116 
119 {
120  return specifiedEvent_;
121 }
122 
123 bool
125 {
127 }
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)
Definition: value.py:1
HLT enums.
Transition requestedTransition() const
ReverseState reverseState() const