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

itk::TimeProbesCollectorBase Class Reference

#include <itkTimeProbesCollectorBase.h>

List of all members.


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.

Public Types

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

Public Member Functions

virtual void Clear (void)
virtual void Report (std::ostream &os=std::cout) const
virtual void Start (const char *name)
virtual void Stop (const char *name)
 TimeProbesCollectorBase ()
virtual ~TimeProbesCollectorBase ()

Protected Attributes

MapType m_Probes


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 ( std::ostream &  os = std::cout  )  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 Sun Sep 23 21:02:11 2007 for ITK by doxygen 1.5.1 written by Dimitri van Heesch, © 1997-2000