Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:11:35

0001 // -*- C++ -*-
0002 //
0003 // Package:     Core
0004 // Class  :     CmsShowTaskTimer
0005 //
0006 // Implementation:
0007 //     <Notes on implementation>
0008 //
0009 // Original Author:  Joshua Berger
0010 //         Created:  Fri Jul 25 11:49:12 EDT 2008
0011 //
0012 
0013 // system include files
0014 
0015 // user include files
0016 #include "Fireworks/Core/src/CmsShowTaskTimer.h"
0017 #include "Fireworks/Core/interface/CmsShowTaskExecutorBase.h"
0018 
0019 //
0020 // constants, enums and typedefs
0021 //
0022 
0023 //
0024 // static data member definitions
0025 //
0026 
0027 //
0028 // constructors and destructor
0029 //
0030 CmsShowTaskTimer::CmsShowTaskTimer(CmsShowTaskExecutorBase* taskExec, Long_t milliSec, Bool_t mode)
0031     : TTimer(milliSec, mode), m_taskExec(taskExec) {}
0032 
0033 // CmsShowTaskTimer::CmsShowTaskTimer(const CmsShowTaskTimer& rhs)
0034 // {
0035 //    // do actual copying here;
0036 // }
0037 
0038 CmsShowTaskTimer::~CmsShowTaskTimer() {}
0039 
0040 //
0041 // assignment operators
0042 //
0043 // const CmsShowTaskTimer& CmsShowTaskTimer::operator=(const CmsShowTaskTimer& rhs)
0044 // {
0045 //   //An exception safe implementation is
0046 //   CmsShowTaskTimer temp(rhs);
0047 //   swap(rhs);
0048 //
0049 //   return *this;
0050 // }
0051 
0052 //
0053 // member functions
0054 //
0055 Bool_t CmsShowTaskTimer::Notify() {
0056   m_taskExec->doNextTask();
0057   return kTRUE;
0058 }
0059 
0060 //
0061 // const member functions
0062 //
0063 
0064 //
0065 // static member functions
0066 //