Class for aggregating a set of probes. More...
#include <itkResourceProbesCollectorBase.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 | ~ResourceProbesCollectorBase () |
Protected Attributes | |
MapType | m_Probes |
Class for aggregating a set of probes.
This class defines a set of ResourceProbes 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 itkResourceProbesCollectorBase.h.
typedef std::string itk::ResourceProbesCollectorBase< TProbe >::IdType |
Definition at line 41 of file itkResourceProbesCollectorBase.h.
typedef std::map<IdType,TProbe> itk::ResourceProbesCollectorBase< TProbe >::MapType |
Definition at line 42 of file itkResourceProbesCollectorBase.h.
virtual itk::ResourceProbesCollectorBase< TProbe >::~ResourceProbesCollectorBase | ( | ) | [virtual] |
destructor
virtual void itk::ResourceProbesCollectorBase< TProbe >::Clear | ( | void | ) | [virtual] |
Destroy the set of probes. New probes can be created after invoking this method.
virtual void itk::ResourceProbesCollectorBase< TProbe >::Report | ( | std::ostream & | os = std::cout |
) | const [virtual] |
Report the summary of results from the probes
virtual void itk::ResourceProbesCollectorBase< TProbe >::Start | ( | const char * | name | ) | [virtual] |
Start a probe with a particular name. If the time probe does not exist, it will be created
virtual void itk::ResourceProbesCollectorBase< TProbe >::Stop | ( | const char * | name | ) | [virtual] |
Stop a time probe identified with a name
MapType itk::ResourceProbesCollectorBase< TProbe >::m_Probes [protected] |
Definition at line 61 of file itkResourceProbesCollectorBase.h.