#include <publisher_manager.h>
Public Member Functions | |
bool | publish (const ros::Publisher &pub, const VoidConstPtr &msg, PublishFunc pub_func, CloneFunc clone_func) |
PublisherManager (const InitOptions &ops) | |
~PublisherManager () | |
Private Member Functions | |
void | publishThread () |
Private Attributes | |
boost::condition_variable | cond_ |
boost::mutex | cond_mutex_ |
ros::atomic< uint32_t > | pub_count_ |
boost::thread | pub_thread_ |
PublishQueue | queue_ |
volatile bool | running_ |
Definition at line 73 of file publisher_manager.h.
rosrt::detail::PublisherManager::PublisherManager | ( | const InitOptions & | ops | ) |
Definition at line 94 of file publisher.cpp.
Definition at line 102 of file publisher.cpp.
bool rosrt::detail::PublisherManager::publish | ( | const ros::Publisher & | pub, |
const VoidConstPtr & | msg, | ||
PublishFunc | pub_func, | ||
CloneFunc | clone_func | ||
) |
Definition at line 131 of file publisher.cpp.
void rosrt::detail::PublisherManager::publishThread | ( | ) | [private] |
Definition at line 109 of file publisher.cpp.
boost::condition_variable rosrt::detail::PublisherManager::cond_ [private] |
Definition at line 84 of file publisher_manager.h.
boost::mutex rosrt::detail::PublisherManager::cond_mutex_ [private] |
Definition at line 85 of file publisher_manager.h.
ros::atomic<uint32_t> rosrt::detail::PublisherManager::pub_count_ [private] |
Definition at line 87 of file publisher_manager.h.
boost::thread rosrt::detail::PublisherManager::pub_thread_ [private] |
Definition at line 86 of file publisher_manager.h.
Definition at line 83 of file publisher_manager.h.
volatile bool rosrt::detail::PublisherManager::running_ [private] |
Definition at line 88 of file publisher_manager.h.