Allows publication of an image to a single subscriber. Only available inside subscriber connection callbacks.
More...
#include <single_subscriber_publisher.h>
Allows publication of an image to a single subscriber. Only available inside subscriber connection callbacks.
Definition at line 81 of file single_subscriber_publisher.h.
◆ GetNumSubscribersFn
◆ PublishFn
◆ SingleSubscriberPublisher()
image_transport::SingleSubscriberPublisher::SingleSubscriberPublisher |
( |
const std::string & |
caller_id, |
|
|
const std::string & |
topic, |
|
|
const GetNumSubscribersFn & |
num_subscribers_fn, |
|
|
const PublishFn & |
publish_fn |
|
) |
| |
◆ getNumSubscribers()
uint32_t image_transport::SingleSubscriberPublisher::getNumSubscribers |
( |
| ) |
const |
◆ getSubscriberName()
std::string image_transport::SingleSubscriberPublisher::getSubscriberName |
( |
| ) |
const |
◆ getTopic()
std::string image_transport::SingleSubscriberPublisher::getTopic |
( |
| ) |
const |
◆ publish() [1/2]
void image_transport::SingleSubscriberPublisher::publish |
( |
const sensor_msgs::Image & |
message | ) |
const |
◆ publish() [2/2]
void image_transport::SingleSubscriberPublisher::publish |
( |
const sensor_msgs::ImageConstPtr & |
message | ) |
const |
◆ Publisher
◆ caller_id_
std::string image_transport::SingleSubscriberPublisher::caller_id_ |
|
private |
◆ num_subscribers_fn_
◆ publish_fn_
PublishFn image_transport::SingleSubscriberPublisher::publish_fn_ |
|
private |
◆ topic_
std::string image_transport::SingleSubscriberPublisher::topic_ |
|
private |
The documentation for this class was generated from the following files: