Public Member Functions | Protected Attributes
pcl::StopWatch Class Reference

Simple stopwatch. More...

#include <time.h>

Inheritance diagram for pcl::StopWatch:
Inheritance graph
[legend]

List of all members.

Public Member Functions

double getTime ()
 Retrieve the time in milliseconds spent since the last call to reset().
double getTimeSeconds ()
 Retrieve the time in seconds spent since the last call to reset().
void reset ()
 Reset the stopwatch to 0.
 StopWatch ()
 Constructor.
virtual ~StopWatch ()
 Destructor.

Protected Attributes

boost::posix_time::ptime start_time_

Detailed Description

Simple stopwatch.

Definition at line 58 of file common/time.h.


Constructor & Destructor Documentation

Constructor.

Definition at line 62 of file common/time.h.

virtual pcl::StopWatch::~StopWatch ( ) [inline, virtual]

Destructor.

Definition at line 67 of file common/time.h.


Member Function Documentation

double pcl::StopWatch::getTime ( ) [inline]

Retrieve the time in milliseconds spent since the last call to reset().

Definition at line 71 of file common/time.h.

double pcl::StopWatch::getTimeSeconds ( ) [inline]

Retrieve the time in seconds spent since the last call to reset().

Definition at line 79 of file common/time.h.

void pcl::StopWatch::reset ( ) [inline]

Reset the stopwatch to 0.

Definition at line 86 of file common/time.h.


Member Data Documentation

boost::posix_time::ptime pcl::StopWatch::start_time_ [protected]

Definition at line 92 of file common/time.h.


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


pcl
Author(s): Open Perception
autogenerated on Mon Oct 6 2014 03:20:17