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

itk::TimeProbesCollectorBase Class Reference

Class for aggregating a set of time probes. More...

#include <itkTimeProbesCollectorBase.h>

List of all members.

Public Types

typedef std::string IdType
typedef std::map< IdType,
TimeProbe
MapType

Public Member Functions

 TimeProbesCollectorBase ()
virtual ~TimeProbesCollectorBase ()
virtual void Start (const char *name)
virtual void Stop (const char *name)
virtual void Report (void) const
virtual void Clear (void)

Protected Attributes

MapType m_Probes


Detailed Description

Class for aggregating a set of time probes.

This class defines a set of TimeProbes and assign names to them. The user can start and stop each one of the probes by addressing them by name.

See also:
TimeProbe

RealTimeClock

Definition at line 39 of file itkTimeProbesCollectorBase.h.


Member Typedef Documentation

typedef std::string itk::TimeProbesCollectorBase::IdType
 

Definition at line 44 of file itkTimeProbesCollectorBase.h.

typedef std::map<IdType,TimeProbe> itk::TimeProbesCollectorBase::MapType
 

Definition at line 45 of file itkTimeProbesCollectorBase.h.


Constructor & Destructor Documentation

itk::TimeProbesCollectorBase::TimeProbesCollectorBase  ) 
 

virtual itk::TimeProbesCollectorBase::~TimeProbesCollectorBase  )  [virtual]
 


Member Function Documentation

virtual void itk::TimeProbesCollectorBase::Clear void   )  [virtual]
 

Destroy the set of probes. New probes can be created after invoking this method.

virtual void itk::TimeProbesCollectorBase::Report void   )  const [virtual]
 

Report the summary of results from the time probes

virtual void itk::TimeProbesCollectorBase::Start const char *  name  )  [virtual]
 

Start a time probe with a particular name. If the time probe does not exist, it will be created

virtual void itk::TimeProbesCollectorBase::Stop const char *  name  )  [virtual]
 

Stop a time probe identified with a name


Member Data Documentation

MapType itk::TimeProbesCollectorBase::m_Probes [protected]
 

Definition at line 65 of file itkTimeProbesCollectorBase.h.


The documentation for this class was generated from the following file:
Generated at Thu May 25 02:30:24 2006 for ITK by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2000