Public Member Functions | Static Public Member Functions | Public Attributes | Protected Types | Protected Attributes
InspectorsImpl< T >::PerformanceInspector Struct Reference

#include <InspectorsImpl.h>

Inheritance diagram for InspectorsImpl< T >::PerformanceInspector:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void addStat (const std::string &name, double data)
 Add a value for statistics name, create it if new.
virtual void dumpStats (std::ostream &stream)
 Dump all statistics in CSV format.
virtual void dumpStatsHeader (std::ostream &stream)
 Dump header for all statistics.
 PerformanceInspector (const std::string &className, const ParametersDoc paramsDoc, const Parameters &params)
 PerformanceInspector (const Parameters &params)

Static Public Member Functions

static const ParametersDoc availableParameters ()
static const std::string description ()

Public Attributes

const std::string baseFileName
const bool bDumpPerfOnExit
const bool bDumpStats

Protected Types

typedef
PointMatcherSupport::Histogram
< double > 
Histogram
typedef std::map< std::string,
Histogram
HistogramMap

Protected Attributes

HistogramMap stats

Detailed Description

template<typename T>
struct InspectorsImpl< T >::PerformanceInspector

Definition at line 72 of file InspectorsImpl.h.


Member Typedef Documentation

template<typename T >
typedef PointMatcherSupport::Histogram<double> InspectorsImpl< T >::PerformanceInspector::Histogram [protected]

Definition at line 94 of file InspectorsImpl.h.

template<typename T >
typedef std::map<std::string, Histogram> InspectorsImpl< T >::PerformanceInspector::HistogramMap [protected]

Definition at line 95 of file InspectorsImpl.h.


Constructor & Destructor Documentation

template<typename T >
InspectorsImpl< T >::PerformanceInspector::PerformanceInspector ( const std::string &  className,
const ParametersDoc  paramsDoc,
const Parameters params 
)

Definition at line 52 of file InspectorsImpl.cpp.

template<typename T >
InspectorsImpl< T >::PerformanceInspector::PerformanceInspector ( const Parameters params)

Definition at line 62 of file InspectorsImpl.cpp.


Member Function Documentation

template<typename T >
void InspectorsImpl< T >::PerformanceInspector::addStat ( const std::string &  name,
double  data 
) [virtual]

Add a value for statistics name, create it if new.

Reimplemented from PointMatcher< T >::Inspector.

Definition at line 70 of file InspectorsImpl.cpp.

template<typename T >
static const ParametersDoc InspectorsImpl< T >::PerformanceInspector::availableParameters ( ) [inline, static]

Reimplemented in InspectorsImpl< T >::VTKFileInspector.

Definition at line 78 of file InspectorsImpl.h.

template<typename T >
static const std::string InspectorsImpl< T >::PerformanceInspector::description ( ) [inline, static]

Reimplemented in InspectorsImpl< T >::VTKFileInspector.

Definition at line 74 of file InspectorsImpl.h.

template<typename T >
void InspectorsImpl< T >::PerformanceInspector::dumpStats ( std::ostream &  stream) [virtual]

Dump all statistics in CSV format.

Reimplemented from PointMatcher< T >::Inspector.

Definition at line 83 of file InspectorsImpl.cpp.

template<typename T >
void InspectorsImpl< T >::PerformanceInspector::dumpStatsHeader ( std::ostream &  stream) [virtual]

Dump header for all statistics.

Reimplemented from PointMatcher< T >::Inspector.

Definition at line 97 of file InspectorsImpl.cpp.


Member Data Documentation

template<typename T >
const std::string InspectorsImpl< T >::PerformanceInspector::baseFileName

Reimplemented in InspectorsImpl< T >::VTKFileInspector.

Definition at line 87 of file InspectorsImpl.h.

template<typename T >
const bool InspectorsImpl< T >::PerformanceInspector::bDumpPerfOnExit

Definition at line 90 of file InspectorsImpl.h.

template<typename T >
const bool InspectorsImpl< T >::PerformanceInspector::bDumpStats

Definition at line 91 of file InspectorsImpl.h.

template<typename T >
HistogramMap InspectorsImpl< T >::PerformanceInspector::stats [protected]

Definition at line 96 of file InspectorsImpl.h.


The documentation for this struct was generated from the following files:


libpointmatcher
Author(s):
autogenerated on Thu Jun 20 2019 19:51:33