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

itk::MemoryProbesCollectorBase Class Reference

#include <itkMemoryProbesCollectorBase.h>

Inheritance diagram for itk::MemoryProbesCollectorBase:

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

Collaboration graph
[legend]
List of all members.

Detailed Description

Class for aggregating a set of memory probes.

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

See also:
MemoryProbe

Definition at line 36 of file itkMemoryProbesCollectorBase.h.

Public Types

typedef std::string IdType
typedef std::map< IdType,
TProbe > 
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)
virtual ~MemoryProbesCollectorBase ()

Protected Attributes

MapType m_Probes


Member Typedef Documentation

template<class TProbe>
typedef std::string itk::ProbesCollectorBase< TProbe >::IdType [inherited]

Reimplemented in itk::TimeProbesCollectorBase.

Definition at line 41 of file itkProbesCollectorBase.h.

template<class TProbe>
typedef std::map<IdType,TProbe> itk::ProbesCollectorBase< TProbe >::MapType [inherited]

Reimplemented in itk::TimeProbesCollectorBase.

Definition at line 42 of file itkProbesCollectorBase.h.


Constructor & Destructor Documentation

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

Definition at line 39 of file itkMemoryProbesCollectorBase.h.


Member Function Documentation

template<class TProbe>
virtual void itk::ProbesCollectorBase< TProbe >::Clear ( void   )  [virtual, inherited]

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

Reimplemented in itk::TimeProbesCollectorBase.

template<class TProbe>
virtual void itk::ProbesCollectorBase< TProbe >::Report ( std::ostream &  os = std::cout  )  const [virtual, inherited]

Report the summary of results from the probes

Reimplemented in itk::TimeProbesCollectorBase.

template<class TProbe>
virtual void itk::ProbesCollectorBase< TProbe >::Start ( const char *  name  )  [virtual, inherited]

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

Reimplemented in itk::TimeProbesCollectorBase.

template<class TProbe>
virtual void itk::ProbesCollectorBase< TProbe >::Stop ( const char *  name  )  [virtual, inherited]

Stop a time probe identified with a name

Reimplemented in itk::TimeProbesCollectorBase.


Member Data Documentation

template<class TProbe>
MapType itk::ProbesCollectorBase< TProbe >::m_Probes [protected, inherited]

Reimplemented in itk::TimeProbesCollectorBase.

Definition at line 61 of file itkProbesCollectorBase.h.


The documentation for this class was generated from the following file:
Generated at Wed Jul 30 07:16:39 2008 for ITK by doxygen 1.5.1 written by Dimitri van Heesch, © 1997-2000