Classes | Namespaces | Macros
Time.hh File Reference
#include <string>
#include <stdlib.h>
#include <time.h>
#include <iostream>
#include "gazebo/common/CommonTypes.hh"
#include "gazebo/util/system.hh"
Include dependency graph for Time.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  gazebo::common::Time
 A Time class, can be used to hold wall- or sim-time. More...
 

Namespaces

 gazebo
 Forward declarations for the common classes.
 
 gazebo::common
 Common namespace.
 

Macros

#define GZ_SEC_TO_HOUR(_s)   ((_s) / 3600.0)
 Convert seconds to hours. More...
 

Macro Definition Documentation

#define GZ_SEC_TO_HOUR (   _s)    ((_s) / 3600.0)

Convert seconds to hours.

This divides the given value by the number of seconds in an hour, which is 3600.

Parameters
[in]_sSeconds to convert.