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>

Inheritance diagram for itk::TimeProbesCollectorBase:

Inheritance graph
[legend]
Collaboration diagram for itk::TimeProbesCollectorBase:

Collaboration graph
[legend]

List of all members.

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


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 38 of file itkTimeProbesCollectorBase.h.


Member Typedef Documentation

typedef std::string itk::ResourceProbesCollectorBase< TimeProbe >::IdType [inherited]

Definition at line 41 of file itkResourceProbesCollectorBase.h.

Definition at line 42 of file itkResourceProbesCollectorBase.h.


Constructor & Destructor Documentation

itk::TimeProbesCollectorBase::TimeProbesCollectorBase (  ) 

Constructor

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

destructor


Member Function Documentation

virtual void itk::ResourceProbesCollectorBase< TimeProbe >::Clear ( void   )  [virtual, inherited]

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

virtual void itk::ResourceProbesCollectorBase< TimeProbe >::Report ( std::ostream &  os = std::cout  )  const [virtual, inherited]

Report the summary of results from the probes

virtual void itk::ResourceProbesCollectorBase< TimeProbe >::Start ( const char *  name  )  [virtual, inherited]

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

virtual void itk::ResourceProbesCollectorBase< TimeProbe >::Stop ( const char *  name  )  [virtual, inherited]

Stop a time probe identified with a name


Member Data Documentation

Definition at line 61 of file itkResourceProbesCollectorBase.h.


The documentation for this class was generated from the following file:

Generated at Tue Sep 15 14:05:38 2009 for ITK by doxygen 1.5.8 written by Dimitri van Heesch, © 1997-2000