Basic Image AlgorithmS Library  2.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Protected Attributes | List of all members
BIAS::TimeMeasurement Class Reference

#include <Base/Debug/TimeMeasurement.hh>

+ Collaboration diagram for BIAS::TimeMeasurement:

Public Member Functions

void Start ()
 Reset and Start the timer. More...
 
 TimeMeasurement ()
 constructor working as START function More...
 
 TimeMeasurement (const std::string &str)
 constructor with additional description More...
 
 ~TimeMeasurement ()
 destructor working as STOP function More...
 

Protected Attributes

std::string description_
 
BIAS::TimeMeasure timer_
 local timer used by ctor and detor More...
 

Detailed Description

Definition at line 54 of file TimeMeasurement.hh.

Constructor & Destructor Documentation

BIAS::TimeMeasurement::~TimeMeasurement ( )
inline

destructor working as STOP function

Definition at line 58 of file TimeMeasurement.hh.

References description_, BIAS::TimeMeasure::Print(), BIAS::TimeMeasure::Stop(), and timer_.

BIAS::TimeMeasurement::TimeMeasurement ( )
inline

constructor working as START function

Definition at line 66 of file TimeMeasurement.hh.

References Start().

BIAS::TimeMeasurement::TimeMeasurement ( const std::string &  str)
inline

constructor with additional description

Definition at line 72 of file TimeMeasurement.hh.

References description_, and Start().

Member Function Documentation

void BIAS::TimeMeasurement::Start ( )
inline

Reset and Start the timer.

Useful for earlier construction

Author
Jan Woetzel

Definition at line 81 of file TimeMeasurement.hh.

References BIAS::TimeMeasure::Reset(), BIAS::TimeMeasure::Start(), and timer_.

Referenced by TimeMeasurement().

Member Data Documentation

std::string BIAS::TimeMeasurement::description_
protected

Definition at line 89 of file TimeMeasurement.hh.

Referenced by TimeMeasurement(), and ~TimeMeasurement().

BIAS::TimeMeasure BIAS::TimeMeasurement::timer_
protected

local timer used by ctor and detor

Definition at line 88 of file TimeMeasurement.hh.

Referenced by Start(), and ~TimeMeasurement().


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