Go to the documentation of this file.
36 #ifndef ROS_DURATION_H
37 #define ROS_DURATION_H
46 #pragma warning(disable: 4244)
47 #pragma warning(disable: 4661)
58 namespace posix_time {
89 inline bool operator!=(
const T &rhs)
const {
return !(*
static_cast<const T*
>(
this) == rhs); }
95 int64_t
toNSec()
const {
return (int64_t)
sec*1000000000ll + (int64_t)
nsec; };
158 std::ostream &
operator <<(std::ostream &os,
const WallDuration &rhs);
163 #endif // ROS_DURATION_H
ROSTIME_DECL void normalizeSecNSecSigned(int64_t &sec, int64_t &nsec)
bool operator<=(const T &rhs) const
T & operator-=(const T &rhs)
T operator*(double scale) const
Class to help run loops at a desired frequency.
std::ostream & operator<<(std::ostream &os, const Time &rhs)
T & operator*=(double scale)
const ROSTIME_DECL Duration DURATION_MIN
const ROSTIME_DECL Duration DURATION_MAX
T & operator+=(const T &rhs)
::std_msgs::Duration_< std::allocator< void > > Duration
bool operator<(const T &rhs) const
uint32_t nsec(const rosTime &time)
Duration representation for use with the Time class.
WallDuration(int32_t _sec, int32_t _nsec)
bool operator==(const T &rhs) const
bool operator>=(const T &rhs) const
Duration representation for use with the WallTime class.
uint32_t sec(const rosTime &time)
T operator+(const T &rhs) const
bool operator!=(const T &rhs) const
bool operator>(const T &rhs) const
Duration(int32_t _sec, int32_t _nsec)
Base class for Duration implementations. Provides storage, common functions and operator overloads....
geometry_msgs::TransformStamped t
sick_scan_xd
Author(s): Michael Lehning
, Jochen Sprickerhof , Martin Günther
autogenerated on Fri Oct 25 2024 02:47:08