Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef Fireworks_Core_CmsShowTaskTimer_h
0002 #define Fireworks_Core_CmsShowTaskTimer_h
0003 // -*- C++ -*-
0004 //
0005 // Package:     Core
0006 // Class  :     CmsShowTaskTimer
0007 //
0008 /**\class CmsShowTaskTimer CmsShowTaskTimer.h Fireworks/Core/src/CmsShowTaskTimer.h
0009 
0010    Description: <one line class summary>
0011 
0012    Usage:
0013     <usage>
0014 
0015  */
0016 //
0017 // Original Author:  Joshua Berger
0018 //         Created:  Fri Jul 25 11:49:18 EDT 2008
0019 //
0020 
0021 // system include files
0022 #include <TTimer.h>
0023 
0024 // user include files
0025 
0026 // forward declarations
0027 class CmsShowTaskExecutorBase;
0028 
0029 class CmsShowTaskTimer : public TTimer {
0030 public:
0031   CmsShowTaskTimer(CmsShowTaskExecutorBase* taskExec, Long_t milliSec = 0, Bool_t mode = kTRUE);
0032   ~CmsShowTaskTimer() override;
0033 
0034   // ---------- const member functions ---------------------
0035 
0036   // ---------- static member functions --------------------
0037 
0038   // ---------- member functions ---------------------------
0039   Bool_t Notify() override;
0040 
0041   CmsShowTaskTimer(const CmsShowTaskTimer&) = delete;  // stop default
0042 
0043   const CmsShowTaskTimer& operator=(const CmsShowTaskTimer&) = delete;  // stop default
0044 
0045 private:
0046   // ---------- member data --------------------------------
0047   CmsShowTaskExecutorBase* m_taskExec;
0048 };
0049 
0050 #endif