A timer class, used to time things in real world walltime. More...
#include <common/common.hh>

| Public Member Functions | |
| Timer () | |
| Constructor.  More... | |
| virtual | ~Timer () | 
| Destructor.  More... | |
| Time | GetElapsed () const | 
| Get the elapsed time.  More... | |
| bool | GetRunning () const | 
| Returns true if the timer is running.  More... | |
| virtual void | Start () | 
| Start the timer.  More... | |
| virtual void | Stop () | 
| Stop the timer.  More... | |
| Friends | |
| std::ostream & | operator<< (std::ostream &out, const gazebo::common::Timer &t) | 
| Stream operator friendly.  More... | |
A timer class, used to time things in real world walltime.
| gazebo::common::Timer::Timer | ( | ) | 
Constructor.
| 
 | virtual | 
Destructor.
| Time gazebo::common::Timer::GetElapsed | ( | ) | const | 
Get the elapsed time.
| bool gazebo::common::Timer::GetRunning | ( | ) | const | 
Returns true if the timer is running.
| 
 | virtual | 
Start the timer.
Reimplemented in gazebo::util::DiagnosticTimer.
| 
 | virtual | 
Stop the timer.
Reimplemented in gazebo::util::DiagnosticTimer.
| 
 | friend | 
Stream operator friendly.