#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.
rosrt::detail::PublisherManager::~PublisherManager | ( | ) |
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.
|
private |
Definition at line 109 of file publisher.cpp.
|
private |
Definition at line 84 of file publisher_manager.h.
|
private |
Definition at line 85 of file publisher_manager.h.
|
private |
Definition at line 87 of file publisher_manager.h.
|
private |
Definition at line 86 of file publisher_manager.h.
|
private |
Definition at line 83 of file publisher_manager.h.
|
private |
Definition at line 88 of file publisher_manager.h.