#include "ros/time.h"
#include "ros/impl/time.h"
#include <cmath>
#include <ctime>
#include <iomanip>
#include <stdexcept>
#include <limits>
#include <thread>
#include <mutex>
#include <sstream>
Go to the source code of this file.
|
const Duration | roswrap::DURATION_MAX (std::numeric_limits< int32_t >::max(), 999999999) |
|
const Duration | roswrap::DURATION_MIN (std::numeric_limits< int32_t >::min(), 0) |
|
static bool | roswrap::g_initialized (true) |
|
static bool | roswrap::g_stopped (false) |
|
static bool | roswrap::g_use_sim_time (true) |
|
void | roswrap::normalizeSecNSec (uint32_t &sec, uint32_t &nsec) |
|
void | roswrap::normalizeSecNSec (uint64_t &sec, uint64_t &nsec) |
|
void | roswrap::normalizeSecNSecUnsigned (int64_t &sec, int64_t &nsec) |
|
std::ostream & | roswrap::operator<< (std::ostream &os, const Duration &rhs) |
|
std::ostream & | roswrap::operator<< (std::ostream &os, const Time &rhs) |
|
std::ostream & | roswrap::operator<< (std::ostream &os, const WallDuration &rhs) |
|
std::ostream & | roswrap::operator<< (std::ostream &os, const WallTime &rhs) |
|
int | roswrap::ros_nanosleep (const uint32_t &sec, const uint32_t &nsec) |
| Simple representation of the rt library nanosleep function. More...
|
|
void | roswrap::ros_steadytime (uint32_t &sec, uint32_t &nsec) |
|
bool | roswrap::ros_wallsleep (uint32_t sec, uint32_t nsec) |
| Go to the wall! More...
|
|
void | roswrap::ros_walltime (uint32_t &sec, uint32_t &nsec) |
|
const Time | roswrap::TIME_MAX (std::numeric_limits< uint32_t >::max(), 999999999) |
|
◆ HAS_CLOCK_GETTIME
#define HAS_CLOCK_GETTIME (_POSIX_C_SOURCE >= 199309L) |