Go to the documentation of this file.
35 #ifndef ROSCPP_CALLBACK_QUEUE_H
36 #define ROSCPP_CALLBACK_QUEUE_H
42 #include <boost/shared_ptr.hpp>
43 #include <boost/thread/condition_variable.hpp>
44 #include <boost/thread/mutex.hpp>
45 #include <boost/thread/shared_mutex.hpp>
46 #include <boost/thread/tss.hpp>
64 virtual void removeByID(uint64_t removal_id);
139 CallOneResult callOneCB(TLS* tls);
155 , marked_for_removal(false)
174 : calling_in_this_thread(0xffffffffffffffffULL)
175 , cb_it(callbacks.end())
181 boost::thread_specific_ptr<TLS>
tls_;
D_CallbackInfo::iterator cb_it
D_CallbackInfo callbacks_
CallbackInterfacePtr callback
boost::shared_ptr< CallbackQueue > CallbackQueuePtr
boost::condition_variable condition_
std::list< CallbackInfo > L_CallbackInfo
bool empty()
returns whether or not the queue is empty
This is the default implementation of the ros::CallbackQueueInterface.
boost::shared_mutex calling_rw_mutex
std::deque< CallbackInfo > D_CallbackInfo
boost::mutex id_info_mutex_
CallOneResult callOne()
Pop a single callback off the front of the queue and invoke it. If the callback was not ready to be c...
boost::thread_specific_ptr< TLS > tls_
std::map< uint64_t, IDInfoPtr > M_IDInfo
void callAvailable()
Invoke all callbacks currently in the queue. If a callback was not ready to be called,...
Abstract interface for a queue used to handle all callbacks within roscpp.
uint64_t calling_in_this_thread
boost::shared_ptr< IDInfo > IDInfoPtr
roscpp
Author(s): Morgan Quigley, Josh Faust, Brian Gerkey, Troy Straszheim, Dirk Thomas
, Jacob Perron
autogenerated on Sat Sep 14 2024 02:59:35