cvflann::StartStopTimer Class Reference

#include <timer.h>

List of all members.

Public Member Functions

 StartStopTimer ()
void start ()
void stop ()
void reset ()

Public Attributes

double value

Detailed Description

A start-stop timer class.

Can be used to time portions of code.


Constructor & Destructor Documentation

cvflann::StartStopTimer::StartStopTimer (  ) 

Constructor.


Member Function Documentation

void cvflann::StartStopTimer::start (  ) 

Starts the timer.

void cvflann::StartStopTimer::stop (  ) 

Stops the timer and updates timer value.

void cvflann::StartStopTimer::reset (  ) 

Resets the timer value to 0.


Member Data Documentation

Value of the timer.


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