CMS 3D CMS Logo

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

Go to the documentation of this file.
00001 #ifndef Fireworks_Core_CmsShowTaskTimer_h
00002 #define Fireworks_Core_CmsShowTaskTimer_h
00003 // -*- C++ -*-
00004 //
00005 // Package:     Core
00006 // Class  :     CmsShowTaskTimer
00007 //
00016 //
00017 // Original Author:  Joshua Berger
00018 //         Created:  Fri Jul 25 11:49:18 EDT 2008
00019 // $Id: CmsShowTaskTimer.h,v 1.3 2009/01/23 21:35:42 amraktad Exp $
00020 //
00021 
00022 // system include files
00023 #include <TTimer.h>
00024 
00025 // user include files
00026 
00027 // forward declarations
00028 class CmsShowTaskExecutorBase;
00029 
00030 class CmsShowTaskTimer : public TTimer
00031 {
00032 
00033 public:
00034    CmsShowTaskTimer(CmsShowTaskExecutorBase* taskExec, Long_t milliSec = 0, Bool_t mode = kTRUE);
00035    virtual ~CmsShowTaskTimer();
00036 
00037    // ---------- const member functions ---------------------
00038 
00039    // ---------- static member functions --------------------
00040 
00041    // ---------- member functions ---------------------------
00042    virtual Bool_t Notify();
00043 
00044 private:
00045    CmsShowTaskTimer(const CmsShowTaskTimer&);    // stop default
00046 
00047    const CmsShowTaskTimer& operator=(const CmsShowTaskTimer&);    // stop default
00048 
00049    // ---------- member data --------------------------------
00050    CmsShowTaskExecutorBase* m_taskExec;
00051 
00052 };
00053 
00054 
00055 #endif