Namespaces | Macros | Functions | Variables
time.cpp File Reference
#include "ros/time.h"
#include "ros/impl/time.h"
#include <cmath>
#include <ctime>
#include <iomanip>
#include <stdexcept>
#include <limits>
#include <mutex>
#include "math.h"
#include <boost/io/ios_state.hpp>
Include dependency graph for time.cpp:

Go to the source code of this file.

Namespaces

 rs2rosinternal
 

Macros

#define HAS_CLOCK_GETTIME   (_POSIX_C_SOURCE >= 199309L)
 

Functions

const Duration rs2rosinternal::DURATION_MAX (std::numeric_limits< int32_t >::max(), 999999999)
 
const Duration rs2rosinternal::DURATION_MIN (std::numeric_limits< int32_t >::min(), 0)
 
static bool rs2rosinternal::g_initialized (false)
 
static bool rs2rosinternal::g_stopped (false)
 
static bool rs2rosinternal::g_use_sim_time (true)
 
ROSTIME_DECL void rs2rosinternal::normalizeSecNSec (uint64_t &sec, uint64_t &nsec)
 
ROSTIME_DECL void rs2rosinternal::normalizeSecNSec (uint32_t &sec, uint32_t &nsec)
 
ROSTIME_DECL void rs2rosinternal::normalizeSecNSecUnsigned (int64_t &sec, int64_t &nsec)
 
std::ostream & rs2rosinternal::operator<< (std::ostream &os, const Duration &rhs)
 
std::ostream & rs2rosinternal::operator<< (std::ostream &os, const WallDuration &rhs)
 
ROSTIME_DECL std::ostream & rs2rosinternal::operator<< (std::ostream &os, const Time &rhs)
 
ROSTIME_DECL std::ostream & rs2rosinternal::operator<< (std::ostream &os, const WallTime &rhs)
 
int rs2rosinternal::ros_nanosleep (const uint32_t &sec, const uint32_t &nsec)
 Simple representation of the rt library nanosleep function. More...
 
bool rs2rosinternal::ros_wallsleep (uint32_t sec, uint32_t nsec)
 Go to the wall! More...
 
void rs2rosinternal::ros_walltime (uint32_t &sec, uint32_t &nsec) throw (NoHighPerformanceTimersException)
 
const Time rs2rosinternal::TIME_MAX (std::numeric_limits< uint32_t >::max(), 999999999)
 
const Time rs2rosinternal::TIME_MIN (0, 1)
 

Variables

static Time rs2rosinternal::g_sim_time (0, 0)
 
static std::mutex rs2rosinternal::g_sim_time_mutex
 

Macro Definition Documentation

#define HAS_CLOCK_GETTIME   (_POSIX_C_SOURCE >= 199309L)

Definition at line 59 of file time.cpp.



librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:30