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>

Inheritance diagram for itk::TimeProbesCollectorBase:

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

Collaboration graph
[legend]
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 44 of file Common/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 ()
virtual ~TimeProbesCollectorBase ()

Protected Attributes

MapType m_Probes


Member Typedef Documentation

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

Reimplemented from itk::ProbesCollectorBase< TProbe >.

Definition at line 49 of file Common/itkTimeProbesCollectorBase.h.

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

Reimplemented from itk::ProbesCollectorBase< TProbe >.

Definition at line 50 of file Common/itkTimeProbesCollectorBase.h.


Constructor & Destructor Documentation

itk::TimeProbesCollectorBase::TimeProbesCollectorBase (  ) 

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

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

destructor

Definition at line 42 of file Review/itkTimeProbesCollectorBase.h.


Member Function Documentation

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

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

Reimplemented from itk::ProbesCollectorBase< TProbe >.

virtual void itk::TimeProbesCollectorBase::Report ( std::ostream &  os = std::cout  )  const [virtual]

Report the summary of results from the time probes

Reimplemented from itk::ProbesCollectorBase< TProbe >.

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

Reimplemented from itk::ProbesCollectorBase< TProbe >.

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

Stop a time probe identified with a name

Reimplemented from itk::ProbesCollectorBase< TProbe >.


Member Data Documentation

MapType itk::TimeProbesCollectorBase::m_Probes [protected]

Reimplemented from itk::ProbesCollectorBase< TProbe >.

Definition at line 70 of file Common/itkTimeProbesCollectorBase.h.


The documentation for this class was generated from the following files:
Generated at Wed Jul 30 10:49:09 2008 for ITK by doxygen 1.5.1 written by Dimitri van Heesch, © 1997-2000