43 #include "boost/thread.hpp" 80 it->
val.pub_func(it->
val.pub, clone);
95 :
queue_(ops.pubmanager_queue_size)
133 if (!
queue_.
push(pub, msg, pub_func, clone_func))
boost::condition_variable cond_
PublisherManager(const InitOptions &ops)
void wait(unique_lock< mutex > &m)
ros::atomic< uint32_t > pub_count_
VoidConstPtr(* CloneFunc)(const VoidConstPtr &msg)
PublisherManager * getPublisherManager()
boost::thread pub_thread_
void(* PublishFunc)(const ros::Publisher &pub, const VoidConstPtr &msg)
bool publish(const ros::Publisher &pub, const VoidConstPtr &msg, PublishFunc pub_func, CloneFunc clone_func)
MWSRQueue< PubItem > queue_
bool publish(const ros::Publisher &pub, const VoidConstPtr &msg, PublishFunc pub_func, CloneFunc clone_func)
void notify_one() BOOST_NOEXCEPT
PublishQueue(uint32_t size)
bool push(const ros::Publisher &pub, const VoidConstPtr &msg, PublishFunc pub_func, CloneFunc clone_func)