Public Member Functions | Public Attributes | Private Attributes
rtflann::StartStopTimer Class Reference

#include <timer.h>

List of all members.

Public Member Functions

void reset ()
void start ()
 StartStopTimer ()
double 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

Constructor.

Definition at line 59 of file timer.h.


Member Function Documentation

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

Resets the timer value to 0.

Definition at line 86 of file timer.h.

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

Starts the timer.

Definition at line 67 of file timer.h.

double rtflann::StartStopTimer::stop ( ) [inline]

Stops the timer and updates timer value.

Definition at line 75 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:


rtabmap
Author(s): Mathieu Labbe
autogenerated on Thu Jun 6 2019 21:59:43