All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Friends | List of all members
gazebo::common::Timer Class Reference

A timer class, used to time things in real world walltime. More...

#include <Timer.hh>

Inheritance diagram for gazebo::common::Timer:
Inheritance graph

Public Member Functions

 Timer ()
virtual ~Timer ()
Time GetElapsed () const
 Get the elapsed time.
void Start ()
 Start the timer.


std::ostream & operator<< (std::ostream &out, const gazebo::common::Timer &t)
 stream operator friendly

Detailed Description

A timer class, used to time things in real world walltime.

Constructor & Destructor Documentation

gazebo::common::Timer::Timer ( )


virtual gazebo::common::Timer::~Timer ( )


Member Function Documentation

Time gazebo::common::Timer::GetElapsed ( ) const

Get the elapsed time.

void gazebo::common::Timer::Start ( )

Start the timer.

Referenced by gazebo::common::DiagnosticTimer::DiagnosticTimer().

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  out,
const gazebo::common::Timer t 

stream operator friendly

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