ITK  4.9.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Protected Attributes | List of all members
itk::ResourceProbesCollectorBase< TProbe > Class Template Reference

#include <itkResourceProbesCollectorBase.h>

+ Inheritance diagram for itk::ResourceProbesCollectorBase< TProbe >:
+ Collaboration diagram for itk::ResourceProbesCollectorBase< TProbe >:

Detailed Description

template<typename TProbe>
class itk::ResourceProbesCollectorBase< TProbe >

Aggregates 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.

See Also
ResourceProbe

Definition at line 38 of file itkResourceProbesCollectorBase.h.

Public Types

typedef std::string IdType
 
typedef std::map< IdType, TProbe > MapType
 

Public Member Functions

virtual void Clear ()
 
virtual void ExpandedReport (std::ostream &os=std::cout, bool printSystemInfo=true, bool printReportHead=true)
 
virtual void ExpandedReport (const char *name, std::ostream &os=std::cout, bool printSystemInfo=true, bool printReportHead=true)
 
virtual void Report (std::ostream &os=std::cout, bool printSystemInfo=true, bool printReportHead=true)
 
virtual void Report (const char *name, std::ostream &os=std::cout, bool printSystemInfo=true, bool printReportHead=true)
 
virtual void Start (const char *name)
 
virtual void Stop (const char *name)
 
virtual ~ResourceProbesCollectorBase ()
 

Protected Attributes

MapType m_Probes
 

Member Typedef Documentation

template<typename TProbe>
typedef std::string itk::ResourceProbesCollectorBase< TProbe >::IdType

Definition at line 41 of file itkResourceProbesCollectorBase.h.

template<typename TProbe>
typedef std::map< IdType, TProbe > itk::ResourceProbesCollectorBase< TProbe >::MapType

Definition at line 42 of file itkResourceProbesCollectorBase.h.

Constructor & Destructor Documentation

template<typename TProbe>
virtual itk::ResourceProbesCollectorBase< TProbe >::~ResourceProbesCollectorBase ( )
virtual

destructor

Member Function Documentation

template<typename TProbe>
virtual void itk::ResourceProbesCollectorBase< TProbe >::Clear ( )
virtual

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

template<typename TProbe>
virtual void itk::ResourceProbesCollectorBase< TProbe >::ExpandedReport ( std::ostream &  os = std::cout,
bool  printSystemInfo = true,
bool  printReportHead = true 
)
virtual

Expanded report the summary of results from all probes

template<typename TProbe>
virtual void itk::ResourceProbesCollectorBase< TProbe >::ExpandedReport ( const char *  name,
std::ostream &  os = std::cout,
bool  printSystemInfo = true,
bool  printReportHead = true 
)
virtual

Expanded report the summary of results from a specific probes

template<typename TProbe>
virtual void itk::ResourceProbesCollectorBase< TProbe >::Report ( std::ostream &  os = std::cout,
bool  printSystemInfo = true,
bool  printReportHead = true 
)
virtual

Report the summary of results from all probes

template<typename TProbe>
virtual void itk::ResourceProbesCollectorBase< TProbe >::Report ( const char *  name,
std::ostream &  os = std::cout,
bool  printSystemInfo = true,
bool  printReportHead = true 
)
virtual

Report the summary of results from a specific probe

template<typename TProbe>
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

template<typename TProbe>
virtual void itk::ResourceProbesCollectorBase< TProbe >::Stop ( const char *  name)
virtual

Stop a time probe identified with a name

Member Data Documentation

template<typename TProbe>
MapType itk::ResourceProbesCollectorBase< TProbe >::m_Probes
protected

Definition at line 75 of file itkResourceProbesCollectorBase.h.


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