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 105 of file publisher_manager.h.

Constructor & Destructor Documentation

◆ PublisherManager()

rosrt::detail::PublisherManager::PublisherManager ( const InitOptions ops)

Definition at line 158 of file publisher.cpp.

◆ ~PublisherManager()

rosrt::detail::PublisherManager::~PublisherManager ( )

Definition at line 166 of file publisher.cpp.

Member Function Documentation

◆ publish()

bool rosrt::detail::PublisherManager::publish ( const ros::Publisher pub,
const VoidConstPtr msg,
PublishFunc  pub_func,
CloneFunc  clone_func 
)

Definition at line 195 of file publisher.cpp.

◆ publishThread()

void rosrt::detail::PublisherManager::publishThread ( )
private

Definition at line 173 of file publisher.cpp.

Member Data Documentation

◆ cond_

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

Definition at line 116 of file publisher_manager.h.

◆ cond_mutex_

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

Definition at line 117 of file publisher_manager.h.

◆ pub_count_

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

Definition at line 119 of file publisher_manager.h.

◆ pub_thread_

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

Definition at line 118 of file publisher_manager.h.

◆ queue_

PublishQueue rosrt::detail::PublisherManager::queue_
private

Definition at line 115 of file publisher_manager.h.

◆ running_

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

Definition at line 120 of file publisher_manager.h.


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


rosrt
Author(s): Josh Faust
autogenerated on Wed Mar 2 2022 00:54:17