ros Namespace Reference

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  NoHighPerformanceTimersException
 Thrown if windoze high perf. timestamping is unavailable. More...
class  Rate
 Class to help run loops at a desired frequency. 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...

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)
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 WallTime &rhs)
ROSTIME_DECL std::ostream & operator<< (std::ostream &os, const Time &rhs)
std::ostream & operator<< (std::ostream &os, const WallDuration &rhs)
std::ostream & operator<< (std::ostream &os, const Duration &rhs)
int ros_nanosleep (const uint32_t &sec, const uint32_t &nsec)
 Simple representation of the rt library nanosleep function.
bool ros_wallsleep (uint32_t sec, uint32_t nsec)
 Go to the wall!
void ros_walltime (uint32_t &sec, uint32_t &nsec) throw (NoHighPerformanceTimersException)
const Time TIME_MAX (std::numeric_limits< uint32_t >::max(), 999999999)
const Time TIME_MIN (0, 1)

Variables

const Duration DURATION_MAX
const Duration DURATION_MIN
static Time g_sim_time (0, 0)
static boost::mutex g_sim_time_mutex
const Time TIME_MAX
const Time TIME_MIN

Function Documentation

const Duration ros::DURATION_MAX ( std::numeric_limits< int32_t >::  max(),
999999999   
)
const Duration ros::DURATION_MIN ( std::numeric_limits< int32_t >::  min(),
 
)
static bool ros::g_initialized ( false   )  [static]
static bool ros::g_stopped ( false   )  [static]
static bool ros::g_use_sim_time ( true   )  [static]
void ros::normalizeSecNSec ( uint32_t &  sec,
uint32_t &  nsec 
)

Definition at line 443 of file time.cpp.

void ros::normalizeSecNSec ( uint64_t &  sec,
uint64_t &  nsec 
)

Definition at line 431 of file time.cpp.

void ros::normalizeSecNSecSigned ( int32_t &  sec,
int32_t &  nsec 
)

Definition at line 29 of file duration.cpp.

void ros::normalizeSecNSecSigned ( int64_t &  sec,
int64_t &  nsec 
)

Definition at line 6 of file duration.cpp.

void ros::normalizeSecNSecUnsigned ( int64_t &  sec,
int64_t &  nsec 
)

Definition at line 454 of file time.cpp.

std::ostream & ros::operator<< ( std::ostream &  os,
const WallTime &  rhs 
)

Definition at line 404 of file time.cpp.

std::ostream & ros::operator<< ( std::ostream &  os,
const Time &  rhs 
)

Definition at line 313 of file time.cpp.

std::ostream & ros::operator<< ( std::ostream &  os,
const WallDuration &  rhs 
)

Definition at line 419 of file time.cpp.

std::ostream & ros::operator<< ( std::ostream &  os,
const Duration &  rhs 
)

Definition at line 320 of file 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 172 of file time.cpp.

bool ros::ros_wallsleep ( uint32_t  sec,
uint32_t  nsec 
)

Go to the wall!

Todo:
Fully implement the win32 parts, currently just like a regular sleep.

Definition at line 208 of file time.cpp.

void ros::ros_walltime ( uint32_t &  sec,
uint32_t &  nsec 
) throw (NoHighPerformanceTimersException)

Definition at line 95 of file time.cpp.

const Time ros::TIME_MAX ( std::numeric_limits< uint32_t >::  max(),
999999999   
)
const Time ros::TIME_MIN ( ,
 
)

Variable Documentation

Time ros::g_sim_time(0, 0) [static]
boost::mutex ros::g_sim_time_mutex [static]

Definition at line 82 of file time.cpp.

const Time ros::TIME_MIN(0, 1)
 All Classes Namespaces Files Functions Variables Defines


rostime
Author(s): Josh Faust
autogenerated on Fri Jan 11 12:08:10 2013