CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_1/src/Fireworks/Core/src/CmsShowTaskTimer.cc

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 //
00003 // Package:     Core
00004 // Class  :     CmsShowTaskTimer
00005 //
00006 // Implementation:
00007 //     <Notes on implementation>
00008 //
00009 // Original Author:  Joshua Berger
00010 //         Created:  Fri Jul 25 11:49:12 EDT 2008
00011 // $Id: CmsShowTaskTimer.cc,v 1.4 2010/06/18 10:17:14 yana Exp $
00012 //
00013 
00014 // system include files
00015 
00016 // user include files
00017 #include "Fireworks/Core/src/CmsShowTaskTimer.h"
00018 #include "Fireworks/Core/src/CmsShowTaskExecutorBase.h"
00019 
00020 //
00021 // constants, enums and typedefs
00022 //
00023 
00024 //
00025 // static data member definitions
00026 //
00027 
00028 //
00029 // constructors and destructor
00030 //
00031 CmsShowTaskTimer::CmsShowTaskTimer(CmsShowTaskExecutorBase* taskExec, Long_t milliSec, Bool_t mode) : TTimer(milliSec, mode), m_taskExec(taskExec)
00032 {
00033 }
00034 
00035 // CmsShowTaskTimer::CmsShowTaskTimer(const CmsShowTaskTimer& rhs)
00036 // {
00037 //    // do actual copying here;
00038 // }
00039 
00040 CmsShowTaskTimer::~CmsShowTaskTimer()
00041 {
00042 }
00043 
00044 //
00045 // assignment operators
00046 //
00047 // const CmsShowTaskTimer& CmsShowTaskTimer::operator=(const CmsShowTaskTimer& rhs)
00048 // {
00049 //   //An exception safe implementation is
00050 //   CmsShowTaskTimer temp(rhs);
00051 //   swap(rhs);
00052 //
00053 //   return *this;
00054 // }
00055 
00056 //
00057 // member functions
00058 //
00059 Bool_t
00060 CmsShowTaskTimer::Notify()
00061 {
00062    m_taskExec->doNextTask();
00063    return kTRUE;
00064 }
00065 
00066 //
00067 // const member functions
00068 //
00069 
00070 //
00071 // static member functions
00072 //