Go to the documentation of this file.
29 #ifndef ROSCPP_WALL_TIMER_H
30 #define ROSCPP_WALL_TIMER_H
73 void setPeriod(
const WallDuration& period,
bool reset=
true);
75 bool isValid() {
return impl_ && impl_->isValid(); }
76 operator void*() {
return isValid() ? (
void*)1 : (
void*)0; }
80 return impl_ < rhs.
impl_;
85 return impl_ == rhs.
impl_;
90 return impl_ != rhs.
impl_;
104 void setPeriod(
const WallDuration& period,
bool reset=
true);
VoidConstWPtr tracked_object_
std::function< void(const WallTimerEvent &)> WallTimerCallback
bool operator<(const WallTimer &rhs)
Encapsulates all options available for starting a timer.
std::shared_ptr< Impl > ImplPtr
std::weak_ptr< void const > VoidConstWPtr
Abstract interface for a queue used to handle all callbacks within roscpp.
CallbackQueueInterface * callback_queue_
bool operator==(const WallTimer &rhs)
Duration representation for use with the WallTime class.
roscpp's interface for creating subscribers, publishers, etc.
std::weak_ptr< Impl > ImplWPtr
bool operator!=(const WallTimer &rhs)
ROSCPP_DECL void start()
Actually starts the internals of the node (spins up threads, starts the network polling and xmlrpc lo...
Manages a wall-clock timer callback.
WallTimerCallback callback_
sick_scan_xd
Author(s): Michael Lehning
, Jochen Sprickerhof , Martin Günther
autogenerated on Fri Oct 25 2024 02:47:13