Point Cloud Library (PCL)  1.6.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions
pcl::StopWatch Class Reference

Simple stopwatch. More...

#include <pcl/common/time.h>

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

Public Member Functions

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

Detailed Description

Simple stopwatch.

Definition at line 58 of file time.h.

Constructor & Destructor Documentation

pcl::StopWatch::StopWatch ( )
inline

Constructor.

Definition at line 62 of file time.h.

virtual pcl::StopWatch::~StopWatch ( )
inlinevirtual

Destructor.

Definition at line 67 of file 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 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 time.h.

void pcl::StopWatch::reset ( )
inline

Reset the stopwatch to 0.

Definition at line 86 of file time.h.


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