28 #ifndef ROSCPP_WALL_TIMER_H 29 #define ROSCPP_WALL_TIMER_H 72 void setPeriod(
const WallDuration& period,
bool reset=
true);
74 bool isValid() {
return impl_ && impl_->isValid(); }
75 operator void*() {
return isValid() ? (
void*)1 : (
void*)0; }
79 return impl_ < rhs.
impl_;
84 return impl_ == rhs.
impl_;
89 return impl_ != rhs.
impl_;
103 void setPeriod(
const WallDuration& period,
bool reset=
true);
ROSCPP_DECL void start()
Actually starts the internals of the node (spins up threads, starts the network polling and xmlrpc lo...
Encapsulates all options available for starting a timer.
Abstract interface for a queue used to handle all callbacks within roscpp.
bool operator==(const WallTimer &rhs)
boost::weak_ptr< void const > VoidConstWPtr
roscpp's interface for creating subscribers, publishers, etc.
WallTimerCallback callback_
CallbackQueueInterface * callback_queue_
boost::shared_ptr< Impl > ImplPtr
bool operator!=(const WallTimer &rhs)
VoidConstWPtr tracked_object_
boost::function< void(const WallTimerEvent &)> WallTimerCallback
bool operator<(const WallTimer &rhs)
Manages a wall-clock timer callback.
boost::weak_ptr< Impl > ImplWPtr