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

itkTimeProbesCollectorBase.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkTimeProbesCollectorBase.h,v $
00005   Language:  C++
00006   Date:      $Date: 2005/11/23 16:53:26 $
00007   Version:   $Revision: 1.5 $
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 TimeProbesCollectorBase_h
00018 #define TimeProbesCollectorBase_h
00019 
00020 
00021 #include "itkMacro.h"
00022 #include "itkTimeProbe.h"
00023 #include <map>
00024 #include <string>
00025 
00026 namespace itk
00027 {
00028 
00039 class ITKCommon_EXPORT TimeProbesCollectorBase 
00040 {
00041 
00042 public:
00043 
00044   typedef std::string                IdType;
00045   typedef std::map<IdType,TimeProbe> MapType;
00046 
00047   TimeProbesCollectorBase();
00048   virtual ~TimeProbesCollectorBase();
00049 
00052   virtual void Start( const char * name );
00053 
00055   virtual void Stop( const char * name );
00056   
00058   virtual void Report(void) const;
00059 
00061   virtual void Clear(void);
00062 
00063 protected:
00064 
00065   MapType   m_Probes;
00066 
00067 
00068 };
00069 
00070 }
00071 
00072 #endif

Generated at Thu May 25 00:09:03 2006 for ITK by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2000