35 #ifndef ROSRT_PUBLISHER_MANAGER_H 36 #define ROSRT_PUBLISHER_MANAGER_H 44 #include <boost/thread.hpp> 94 #endif // ROSRT_PUBLISHER_MANAGER_H
boost::condition_variable cond_
ros::atomic< uint32_t > pub_count_
VoidConstPtr(* CloneFunc)(const VoidConstPtr &msg)
boost::thread pub_thread_
void publishThread(Publisher< std_msgs::UInt32 > &pub, bool &done)
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_
PublishQueue(uint32_t size)
bool push(const ros::Publisher &pub, const VoidConstPtr &msg, PublishFunc pub_func, CloneFunc clone_func)