CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 // $Id: ProcessingController.cc,v 1.2 2010/08/27 19:57:25 wdd Exp $
12 //
13 
14 // system include files
15 
16 // user include files
18 
19 using namespace edm;
20 //
21 // constants, enums and typedefs
22 //
23 
24 //
25 // static data member definitions
26 //
27 
28 //
29 // constructors and destructor
30 //
31 ProcessingController::ProcessingController(ForwardState forwardState, ReverseState reverseState, bool iCanRandomAccess) :
32 forwardState_(forwardState),
33 reverseState_(reverseState),
34 transition_(kToNextEvent),
35 specifiedEvent_(),
36 canRandomAccess_(iCanRandomAccess),
37 lastOperationSucceeded_(true)
38 {
39 }
40 
41 // ProcessingController::ProcessingController(const ProcessingController& rhs)
42 // {
43 // // do actual copying here;
44 // }
45 
46 //ProcessingController::~ProcessingController()
47 //{
48 //}
49 
50 //
51 // assignment operators
52 //
53 // const ProcessingController& ProcessingController::operator=(const ProcessingController& rhs)
54 // {
55 // //An exception safe implementation is
56 // ProcessingController temp(rhs);
57 // swap(rhs);
58 //
59 // return *this;
60 // }
61 
62 //
63 // member functions
64 //
65 void
67 {
69 }
70 
71 void
73 {
75 }
76 
77 void
79 {
81  specifiedEvent_ =iID;
82 }
83 
84 void
86 {
88 }
89 
90 //
91 // const member functions
92 //
95 {
96  return forwardState_;
97 }
98 
101 {
102  return reverseState_;
103 }
104 
105 bool
107 {
108  return canRandomAccess_;
109 }
110 
113 {
114  return transition_;
115 }
116 
117 
120 {
121  return specifiedEvent_;
122 }
123 
124 bool
126 {
128 }
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