src
Fireworks
Core
src
CmsShowTaskTimer.cc
Go to the documentation of this file.
1
// -*- C++ -*-
2
//
3
// Package: Core
4
// Class : CmsShowTaskTimer
5
//
6
// Implementation:
7
// <Notes on implementation>
8
//
9
// Original Author: Joshua Berger
10
// Created: Fri Jul 25 11:49:12 EDT 2008
11
//
12
13
// system include files
14
15
// user include files
16
#include "
Fireworks/Core/src/CmsShowTaskTimer.h
"
17
#include "
Fireworks/Core/interface/CmsShowTaskExecutorBase.h
"
18
19
//
20
// constants, enums and typedefs
21
//
22
23
//
24
// static data member definitions
25
//
26
27
//
28
// constructors and destructor
29
//
30
CmsShowTaskTimer::CmsShowTaskTimer
(
CmsShowTaskExecutorBase
* taskExec, Long_t milliSec, Bool_t
mode
)
31
: TTimer(milliSec,
mode
), m_taskExec(taskExec) {}
32
33
// CmsShowTaskTimer::CmsShowTaskTimer(const CmsShowTaskTimer& rhs)
34
// {
35
// // do actual copying here;
36
// }
37
38
CmsShowTaskTimer::~CmsShowTaskTimer
() {}
39
40
//
41
// assignment operators
42
//
43
// const CmsShowTaskTimer& CmsShowTaskTimer::operator=(const CmsShowTaskTimer& rhs)
44
// {
45
// //An exception safe implementation is
46
// CmsShowTaskTimer temp(rhs);
47
// swap(rhs);
48
//
49
// return *this;
50
// }
51
52
//
53
// member functions
54
//
55
Bool_t
CmsShowTaskTimer::Notify
() {
56
m_taskExec
->
doNextTask
();
57
return
kTRUE;
58
}
59
60
//
61
// const member functions
62
//
63
64
//
65
// static member functions
66
//
CmsShowTaskExecutorBase::doNextTask
void doNextTask()
Definition:
CmsShowTaskExecutorBase.cc:73
ALCARECOPromptCalibProdSiPixelAli0T_cff.mode
mode
Definition:
ALCARECOPromptCalibProdSiPixelAli0T_cff.py:96
CmsShowTaskTimer::~CmsShowTaskTimer
~CmsShowTaskTimer() override
Definition:
CmsShowTaskTimer.cc:38
CmsShowTaskTimer.h
CmsShowTaskTimer::m_taskExec
CmsShowTaskExecutorBase * m_taskExec
Definition:
CmsShowTaskTimer.h:47
CmsShowTaskTimer::Notify
Bool_t Notify() override
Definition:
CmsShowTaskTimer.cc:55
CmsShowTaskTimer::CmsShowTaskTimer
CmsShowTaskTimer(CmsShowTaskExecutorBase *taskExec, Long_t milliSec=0, Bool_t mode=kTRUE)
Definition:
CmsShowTaskTimer.cc:30
CmsShowTaskExecutorBase
Definition:
CmsShowTaskExecutorBase.h:30
CmsShowTaskExecutorBase.h
Generated for CMSSW Reference Manual by
1.8.14