Apollo  v5.5.0
Open source self driving car software
Macros
macros.h File Reference
#include <iomanip>
Include dependency graph for macros.h:

Go to the source code of this file.

Macros

#define GLOG_TIMESTAMP(timestamp)   std::fixed << std::setprecision(9) << timestamp
 
#define GLOG_DOUBLE(value)   std::fixed << std::setprecision(6) << value
 
#define GLOG_DOUBLE_WITH_PRECISION(value, precision)   std::fixed << std::setprecision(precision) << value
 
#define UNUSED(x)   (void)(x)
 

Macro Definition Documentation

◆ GLOG_DOUBLE

#define GLOG_DOUBLE (   value)    std::fixed << std::setprecision(6) << value

◆ GLOG_DOUBLE_WITH_PRECISION

#define GLOG_DOUBLE_WITH_PRECISION (   value,
  precision 
)    std::fixed << std::setprecision(precision) << value

◆ GLOG_TIMESTAMP

#define GLOG_TIMESTAMP (   timestamp)    std::fixed << std::setprecision(9) << timestamp

◆ UNUSED

#define UNUSED (   x)    (void)(x)