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: 2002/03/19 16:51:06 $
00007   Version:   $Revision: 1.2 $
00008 
00009   Copyright (c) 2002 Insight 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 
00029 
00030 class TimeProbesCollectorBase 
00031 {
00032 
00033 public:
00034 
00035   typedef std::string                IdType;
00036   typedef std::map<IdType,TimeProbe> MapType;
00037 
00038   TimeProbesCollectorBase();
00039   virtual ~TimeProbesCollectorBase();
00040 
00041   virtual void Start(const char *);
00042   virtual void Stop(const char *);
00043   virtual void Report(void) const;
00044   virtual void Clear(void);
00045 
00046 protected:
00047 
00048   MapType   m_Probes;
00049 
00050 
00051 };
00052 
00053 }
00054 
00055 #endif

Generated at Wed Mar 12 01:13:11 2003 for ITK by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2000