FWCore
Framework
src
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
16
#include "
FWCore/Framework/interface/ProcessingController.h
"
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
//
62
void
ProcessingController::setTransitionToNextEvent
() {
transition_
=
kToNextEvent
; }
63
64
void
ProcessingController::setTransitionToPreviousEvent
() {
transition_
=
kToPreviousEvent
; }
65
66
void
ProcessingController::setTransitionToEvent
(
edm::EventID
const
& iID) {
67
transition_
=
kToSpecifiedEvent
;
68
specifiedEvent_
= iID;
69
}
70
71
void
ProcessingController::setLastOperationSucceeded
(
bool
value
) {
lastOperationSucceeded_
=
value
; }
72
73
//
74
// const member functions
75
//
76
ProcessingController::ForwardState
ProcessingController::forwardState
()
const
{
return
forwardState_
; }
77
78
ProcessingController::ReverseState
ProcessingController::reverseState
()
const
{
return
reverseState_
; }
79
80
bool
ProcessingController::canRandomAccess
()
const
{
return
canRandomAccess_
; }
81
82
ProcessingController::Transition
ProcessingController::requestedTransition
()
const
{
return
transition_
; }
83
84
edm::EventID
ProcessingController::specifiedEventTransition
()
const
{
return
specifiedEvent_
; }
85
86
bool
ProcessingController::lastOperationSucceeded
()
const
{
return
lastOperationSucceeded_
; }
edm::ProcessingController::lastOperationSucceeded
bool lastOperationSucceeded() const
Definition:
ProcessingController.cc:86
edm
HLT enums.
Definition:
AlignableModifier.h:19
edm::ProcessingController::kToNextEvent
Definition:
ProcessingController.h:58
edm::ProcessingController::forwardState
ForwardState forwardState() const
Returns the present state of processing.
Definition:
ProcessingController.cc:76
edm::ProcessingController::canRandomAccess_
bool canRandomAccess_
Definition:
ProcessingController.h:95
edm::ProcessingController::kToPreviousEvent
Definition:
ProcessingController.h:58
edm::ProcessingController::requestedTransition
Transition requestedTransition() const
Definition:
ProcessingController.cc:82
edm::ProcessingController::lastOperationSucceeded_
bool lastOperationSucceeded_
Definition:
ProcessingController.h:96
edm::ProcessingController::ForwardState
ForwardState
Definition:
ProcessingController.h:31
edm::ProcessingController::ProcessingController
ProcessingController(ForwardState forwardState, ReverseState reverseState, bool iCanRandomAccess)
Definition:
ProcessingController.cc:30
edm::ProcessingController::kToSpecifiedEvent
Definition:
ProcessingController.h:58
edm::ProcessingController::transition_
Transition transition_
Definition:
ProcessingController.h:93
edm::ProcessingController::reverseState
ReverseState reverseState() const
Definition:
ProcessingController.cc:78
funct::true
true
Definition:
Factorize.h:173
ProcessingController.h
edm::ProcessingController::setTransitionToPreviousEvent
void setTransitionToPreviousEvent()
Definition:
ProcessingController.cc:64
edm::ProcessingController::Transition
Transition
Definition:
ProcessingController.h:58
edm::ProcessingController::forwardState_
ForwardState forwardState_
Definition:
ProcessingController.h:91
edm::ProcessingController::setTransitionToNextEvent
void setTransitionToNextEvent()
Definition:
ProcessingController.cc:62
value
Definition:
value.py:1
edm::ProcessingController::specifiedEvent_
EventID specifiedEvent_
Definition:
ProcessingController.h:94
relativeConstraints.value
value
Definition:
relativeConstraints.py:53
edm::ProcessingController::reverseState_
ReverseState reverseState_
Definition:
ProcessingController.h:92
edm::ProcessingController::canRandomAccess
bool canRandomAccess() const
Returns 'true' if the job's source can randomly access.
Definition:
ProcessingController.cc:80
edm::EventID
Definition:
EventID.h:31
edm::ProcessingController::ReverseState
ReverseState
Definition:
ProcessingController.h:38
edm::ProcessingController::setTransitionToEvent
void setTransitionToEvent(edm::EventID const &iID)
Definition:
ProcessingController.cc:66
edm::ProcessingController::specifiedEventTransition
edm::EventID specifiedEventTransition() const
Definition:
ProcessingController.cc:84
edm::ProcessingController::setLastOperationSucceeded
void setLastOperationSucceeded(bool value)
Definition:
ProcessingController.cc:71
Generated for CMSSW Reference Manual by
1.8.16