cvflann::StartStopTimer Class Reference

#include <timer.h>

List of all members.

Public Member Functions

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

Public Attributes

double value

Private Attributes

clock_t startTime

Detailed Description

A start-stop timer class.

Can be used to time portions of code.

Definition at line 45 of file timer.h.


Constructor & Destructor Documentation

cvflann::StartStopTimer::StartStopTimer (  )  [inline]

Constructor.

Definition at line 59 of file timer.h.


Member Function Documentation

void cvflann::StartStopTimer::reset (  )  [inline]

Resets the timer value to 0.

Definition at line 82 of file timer.h.

void cvflann::StartStopTimer::start (  )  [inline]

Starts the timer.

Definition at line 67 of file timer.h.

void cvflann::StartStopTimer::stop (  )  [inline]

Stops the timer and updates timer value.

Definition at line 74 of file timer.h.


Member Data Documentation

Definition at line 47 of file timer.h.

Value of the timer.

Definition at line 53 of file timer.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines


opencv2
Author(s): Gary Bradski and many others. See web page for a full contributor list. ROS package maintained by James Bowman.
autogenerated on Fri Jan 11 10:00:49 2013