Time.hh File Reference
#include <string>
#include <stdlib.h>
#include <time.h>
#include <iostream>
#include "gazebo/common/CommonTypes.hh"
#include "gazebo/util/system.hh"

Go to the source code of this file.

Classes

class  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

◆ GZ_SEC_TO_HOUR

#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.