Namespaces | |
debug | |
Classes | |
class | Duration |
Duration representation for use with the Time class. More... | |
class | DurationBase |
Base class for Duration implementations. Provides storage, common functions and operator overloads. This should not need to be used directly. More... | |
class | Exception |
class | Header |
class | NoHighPerformanceTimersException |
Thrown if windows high perf. timestamping is unavailable. More... | |
class | Rate |
Class to help run loops at a desired frequency. More... | |
class | SteadyTime |
Time representation. Always steady-clock time. More... | |
class | Time |
Time representation. May either represent wall clock time or ROS clock time. More... | |
class | TimeBase |
Base class for Time implementations. Provides storage, common functions and operator overloads. This should not need to be used directly. More... | |
class | TimeNotInitializedException |
Thrown if the ros subsystem hasn't been initialised before use. More... | |
class | WallDuration |
Duration representation for use with the WallTime class. More... | |
class | WallRate |
Class to help run loops at a desired frequency. This version always uses wall-clock time. More... | |
class | WallTime |
Time representation. Always wall-clock time. More... | |
Typedefs | |
typedef std::map< std::string, std::string > | M_string |
typedef boost::shared_ptr< M_string > | M_stringPtr |
typedef std::set< std::string > | S_string |
typedef std::pair< std::string, std::string > | StringPair |
typedef std::vector< std::string > | V_string |
typedef std::vector< std::pair< std::string, std::string > > | VP_string |
Functions | |
const Duration | DURATION_MAX (std::numeric_limits< int32_t >::max(), 999999999) |
const Duration | DURATION_MIN (std::numeric_limits< int32_t >::min(), 0) |
static bool | g_initialized (false) |
static bool | g_stopped (false) |
static bool | g_use_sim_time (true) |
bool | get_environment_variable (std::string &str, const char *environment_variable) |
ROSTIME_DECL void | normalizeSecNSec (uint32_t &sec, uint32_t &nsec) |
ROSTIME_DECL void | normalizeSecNSec (uint64_t &sec, uint64_t &nsec) |
ROSTIME_DECL void | normalizeSecNSecSigned (int32_t &sec, int32_t &nsec) |
ROSTIME_DECL void | normalizeSecNSecSigned (int64_t &sec, int64_t &nsec) |
ROSTIME_DECL void | normalizeSecNSecUnsigned (int64_t &sec, int64_t &nsec) |
ROSTIME_DECL std::ostream & | operator<< (std::ostream &os, const Duration &rhs) |
ROSTIME_DECL std::ostream & | operator<< (std::ostream &os, const SteadyTime &rhs) |
ROSTIME_DECL std::ostream & | operator<< (std::ostream &os, const Time &rhs) |
ROSTIME_DECL std::ostream & | operator<< (std::ostream &os, const WallDuration &rhs) |
ROSTIME_DECL std::ostream & | operator<< (std::ostream &os, const WallTime &rhs) |
int | ros_nanosleep (const uint32_t &sec, const uint32_t &nsec) |
Simple representation of the rt library nanosleep function. More... | |
ROSTIME_DECL void | ros_steadytime (uint32_t &sec, uint32_t &nsec) |
bool | ros_wallsleep (uint32_t sec, uint32_t nsec) |
Go to the wall! More... | |
ROSTIME_DECL void | ros_walltime (uint32_t &sec, uint32_t &nsec) |
const Time | TIME_MAX (std::numeric_limits< uint32_t >::max(), 999999999) |
const Time | TIME_MIN (0, 1) |
Variables | |
const ROSTIME_DECL Duration | DURATION_MAX |
const ROSTIME_DECL Duration | DURATION_MIN |
static Time | g_sim_time (0, 0) |
static boost::mutex | g_sim_time_mutex |
const ROSTIME_DECL Time | TIME_MAX |
const ROSTIME_DECL Time | TIME_MIN |
const Duration ros::DURATION_MAX | ( | std::numeric_limits< int32_t > | ::max(), |
999999999 | |||
) |
const Duration ros::DURATION_MIN | ( | std::numeric_limits< int32_t > | ::min(), |
0 | |||
) |
|
static |
|
static |
|
static |
void ros::normalizeSecNSec | ( | uint32_t & | sec, |
uint32_t & | nsec | ||
) |
Definition at line 526 of file src/time.cpp.
void ros::normalizeSecNSec | ( | uint64_t & | sec, |
uint64_t & | nsec | ||
) |
Definition at line 514 of file src/time.cpp.
void ros::normalizeSecNSecSigned | ( | int32_t & | sec, |
int32_t & | nsec | ||
) |
Definition at line 96 of file src/duration.cpp.
void ros::normalizeSecNSecSigned | ( | int64_t & | sec, |
int64_t & | nsec | ||
) |
Definition at line 79 of file src/duration.cpp.
void ros::normalizeSecNSecUnsigned | ( | int64_t & | sec, |
int64_t & | nsec | ||
) |
Definition at line 537 of file src/time.cpp.
std::ostream & ros::operator<< | ( | std::ostream & | os, |
const Duration & | rhs | ||
) |
Definition at line 359 of file src/time.cpp.
std::ostream & ros::operator<< | ( | std::ostream & | os, |
const SteadyTime & | rhs | ||
) |
Definition at line 472 of file src/time.cpp.
std::ostream & ros::operator<< | ( | std::ostream & | os, |
const Time & | rhs | ||
) |
Definition at line 352 of file src/time.cpp.
std::ostream & ros::operator<< | ( | std::ostream & | os, |
const WallDuration & | rhs | ||
) |
Definition at line 495 of file src/time.cpp.
std::ostream & ros::operator<< | ( | std::ostream & | os, |
const WallTime & | rhs | ||
) |
Definition at line 465 of file src/time.cpp.
int ros::ros_nanosleep | ( | const uint32_t & | sec, |
const uint32_t & | nsec | ||
) |
Simple representation of the rt library nanosleep function.
Definition at line 210 of file src/time.cpp.
void ros::ros_steadytime | ( | uint32_t & | sec, |
uint32_t & | nsec | ||
) |
Definition at line 172 of file src/time.cpp.
bool ros::ros_wallsleep | ( | uint32_t | sec, |
uint32_t | nsec | ||
) |
Go to the wall!
Definition at line 226 of file src/time.cpp.
void ros::ros_walltime | ( | uint32_t & | sec, |
uint32_t & | nsec | ||
) |
Definition at line 143 of file src/time.cpp.
const Time ros::TIME_MAX | ( | std::numeric_limits< uint32_t > | ::max(), |
999999999 | |||
) |
const Time ros::TIME_MIN | ( | 0 | , |
1 | |||
) |
const ROSTIME_DECL Duration ros::DURATION_MAX |
const ROSTIME_DECL Duration ros::DURATION_MIN |
|
static |
|
static |
Definition at line 134 of file src/time.cpp.
const ROSTIME_DECL Time ros::TIME_MAX |
const Time ros::TIME_MIN(0, 1) |