Public Member Functions | Private Member Functions | Private Attributes | List of all members
rosrt::detail::PublisherManager Class Reference

#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_

Detailed Description

Definition at line 73 of file publisher_manager.h.

Constructor & Destructor Documentation

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.

Member Function Documentation

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 ( )

Definition at line 109 of file publisher.cpp.

Member Data Documentation

boost::condition_variable rosrt::detail::PublisherManager::cond_

Definition at line 84 of file publisher_manager.h.

boost::mutex rosrt::detail::PublisherManager::cond_mutex_

Definition at line 85 of file publisher_manager.h.

ros::atomic<uint32_t> rosrt::detail::PublisherManager::pub_count_

Definition at line 87 of file publisher_manager.h.

boost::thread rosrt::detail::PublisherManager::pub_thread_

Definition at line 86 of file publisher_manager.h.

PublishQueue rosrt::detail::PublisherManager::queue_

Definition at line 83 of file publisher_manager.h.

volatile bool rosrt::detail::PublisherManager::running_

Definition at line 88 of file publisher_manager.h.

The documentation for this class was generated from the following files:

Author(s): Josh Faust
autogenerated on Fri Apr 5 2019 02:16:39