Namespaces | Classes | Typedefs | Functions | Variables
rs2rosinternal Namespace Reference

Namespaces

 debug
 
 message_operations
 
 message_traits
 
 serialization
 
 service_traits
 

Classes

struct  DefaultMessageCreator
 
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
 Base class for all exceptions thrown by ROS. More...
 
class  Header
 Provides functionality to parse a connection header and retrieve values from it. More...
 
class  MessageEvent
 Event type for subscriptions, const rs2rosinternal::MessageEvent<M const>& can be used in your callback instead of const std::shared_ptr<M const>&. 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  SerializedMessage
 
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::stringM_string
 
typedef std::shared_ptr< M_stringM_stringPtr
 
typedef std::set< std::stringS_string
 
typedef std::pair< std::string, std::stringStringPair
 
typedef std::vector< std::stringV_string
 
typedef std::vector< std::pair< std::string, std::string > > VP_string
 

Functions

template<typename M >
ROS_DEPRECATED std::shared_ptr< M > defaultMessageCreateFunction ()
 
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 (uint64_t &sec, uint64_t &nsec)
 
ROSTIME_DECL void normalizeSecNSec (uint32_t &sec, uint32_t &nsec)
 
ROSTIME_DECL void normalizeSecNSecSigned (int64_t &sec, int64_t &nsec)
 
ROSTIME_DECL void normalizeSecNSecSigned (int32_t &sec, int32_t &nsec)
 
ROSTIME_DECL void normalizeSecNSecUnsigned (int64_t &sec, int64_t &nsec)
 
std::ostream & operator<< (std::ostream &os, const Duration &rhs)
 
std::ostream & operator<< (std::ostream &os, const WallDuration &rhs)
 
ROSTIME_DECL std::ostream & operator<< (std::ostream &os, const Time &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...
 
bool ros_wallsleep (uint32_t sec, uint32_t nsec)
 Go to the wall! More...
 
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

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

Typedef Documentation

Definition at line 45 of file datatypes.h.

typedef std::shared_ptr<M_string> rs2rosinternal::M_stringPtr

Definition at line 48 of file datatypes.h.

Definition at line 44 of file datatypes.h.

Definition at line 46 of file datatypes.h.

typedef std::vector<std::string> rs2rosinternal::V_string

Definition at line 43 of file datatypes.h.

typedef std::vector<std::pair<std::string, std::string> > rs2rosinternal::VP_string

Definition at line 42 of file datatypes.h.

Function Documentation

template<typename M >
ROS_DEPRECATED std::shared_ptr<M> rs2rosinternal::defaultMessageCreateFunction ( )
inline

Definition at line 58 of file message_event.h.

const Duration rs2rosinternal::DURATION_MAX ( std::numeric_limits< int32_t ::max(),
999999999   
)
const Duration rs2rosinternal::DURATION_MIN ( std::numeric_limits< int32_t ::min(),
 
)
static bool rs2rosinternal::g_initialized ( false  )
static
static bool rs2rosinternal::g_stopped ( false  )
static
static bool rs2rosinternal::g_use_sim_time ( true  )
static
bool rs2rosinternal::get_environment_variable ( std::string str,
const char *  environment_variable 
)
inline

Convenient cross platform function for returning a std::string of an environment variable.

Definition at line 67 of file platform.h.

void rs2rosinternal::normalizeSecNSec ( uint64_t sec,
uint64_t nsec 
)

Definition at line 467 of file time.cpp.

void rs2rosinternal::normalizeSecNSec ( uint32_t sec,
uint32_t nsec 
)

Definition at line 479 of file time.cpp.

void rs2rosinternal::normalizeSecNSecSigned ( int64_t sec,
int64_t nsec 
)

Definition at line 47 of file duration.cpp.

void rs2rosinternal::normalizeSecNSecSigned ( int32_t sec,
int32_t nsec 
)

Definition at line 64 of file duration.cpp.

void rs2rosinternal::normalizeSecNSecUnsigned ( int64_t sec,
int64_t nsec 
)

Definition at line 490 of file time.cpp.

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

Definition at line 340 of file time.cpp.

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

Definition at line 448 of file time.cpp.

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

Definition at line 333 of file time.cpp.

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

Definition at line 433 of file time.cpp.

int rs2rosinternal::ros_nanosleep ( const uint32_t sec,
const uint32_t nsec 
)

Simple representation of the rt library nanosleep function.

Definition at line 174 of file time.cpp.

bool rs2rosinternal::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 210 of file time.cpp.

void rs2rosinternal::ros_walltime ( uint32_t sec,
uint32_t nsec 
)
throw (NoHighPerformanceTimersException
)

Definition at line 97 of file time.cpp.

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

Variable Documentation

ROSTIME_DECL const Duration rs2rosinternal::DURATION_MAX
ROSTIME_DECL const Duration rs2rosinternal::DURATION_MIN
Time rs2rosinternal::g_sim_time(0, 0)
static
std::mutex rs2rosinternal::g_sim_time_mutex
static

Definition at line 84 of file time.cpp.

ROSTIME_DECL const Time rs2rosinternal::TIME_MAX
const Time rs2rosinternal::TIME_MIN(0, 1)


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