#include <itkProbesCollectorBase.h>
Inheritance diagram for itk::ProbesCollectorBase< TProbe >:
This class defines a set of Probes and assign names to them. The user can start and stop each one of the probes by addressing them by name.
Definition at line 38 of file itkProbesCollectorBase.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 | ~ProbesCollectorBase () |
Protected Attributes | |
MapType | m_Probes |
typedef std::string itk::ProbesCollectorBase< TProbe >::IdType |
Reimplemented in itk::TimeProbesCollectorBase.
Definition at line 41 of file itkProbesCollectorBase.h.
typedef std::map<IdType,TProbe> itk::ProbesCollectorBase< TProbe >::MapType |
Reimplemented in itk::TimeProbesCollectorBase.
Definition at line 42 of file itkProbesCollectorBase.h.
virtual itk::ProbesCollectorBase< TProbe >::~ProbesCollectorBase | ( | ) | [virtual] |
destructor
virtual void itk::ProbesCollectorBase< TProbe >::Clear | ( | void | ) | [virtual] |
Destroy the set of probes. New probes can be created after invoking this method.
Reimplemented in itk::TimeProbesCollectorBase.
virtual void itk::ProbesCollectorBase< TProbe >::Report | ( | std::ostream & | os = std::cout |
) | const [virtual] |
Report the summary of results from the probes
Reimplemented in itk::TimeProbesCollectorBase.
virtual void itk::ProbesCollectorBase< TProbe >::Start | ( | const char * | name | ) | [virtual] |
Start a probe with a particular name. If the time probe does not exist, it will be created
Reimplemented in itk::TimeProbesCollectorBase.
virtual void itk::ProbesCollectorBase< TProbe >::Stop | ( | const char * | name | ) | [virtual] |
Stop a time probe identified with a name
Reimplemented in itk::TimeProbesCollectorBase.
MapType itk::ProbesCollectorBase< TProbe >::m_Probes [protected] |
Reimplemented in itk::TimeProbesCollectorBase.
Definition at line 61 of file itkProbesCollectorBase.h.