Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

Review/itkTimeProbe.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkTimeProbe.h,v $
00005   Language:  C++
00006   Date:      $Date: 2008-04-03 16:21:58 $
00007   Version:   $Revision: 1.1 $
00008 
00009   Copyright (c) Insight Software Consortium. All rights reserved.
00010   See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
00011 
00012      This software is distributed WITHOUT ANY WARRANTY; without even 
00013      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
00014      PURPOSE.  See the above copyright notices for more information.
00015 
00016 =========================================================================*/
00017 #ifndef __itkTimeProbe_h_Review
00018 #define __itkTimeProbe_h_Review
00019 
00020 #include "itkConfigure.h"
00021 #include "itkProbe.h"
00022 #include "itkRealTimeClock.h"
00023 
00024 namespace itk 
00025 {
00026  
00038 class ITKCommon_EXPORT TimeProbe: public Probe<RealTimeClock::TimeStampType,RealTimeClock::TimeStampType>
00039 {
00040 
00041 public:
00042 
00044   typedef unsigned long CountType;
00045 
00048   typedef RealTimeClock::TimeStampType  TimeStampType;
00049 
00050 public:
00051 
00053   TimeProbe();
00054 
00056   virtual ~TimeProbe();
00057 
00061   virtual RealTimeClock::TimeStampType GetInstantValue(void)const;
00062 
00068   TimeStampType GetMeanTime(void) const;
00069 
00070 private:
00071   RealTimeClock::Pointer   m_RealTimeClock;
00072 };
00073 
00074 
00075 } // end namespace itk
00076 
00077 #endif //__itkTimeProbe_h_Review
00078 

Generated at Tue Jul 29 22:54:58 2008 for ITK by doxygen 1.5.1 written by Dimitri van Heesch, © 1997-2000