#include <confidence_publisher.h>

Public Member Functions | |
| ConfidencePublisher (ros::NodeHandle &nh, const std::string &frame_id_prefix) | |
| Initialization of publisher. More... | |
| void | publish (const rcg::Buffer *buffer, uint32_t part, uint64_t pixelformat) override |
| Offers a buffer for publication. More... | |
| bool | used () override |
| Returns true if there are subscribers to the topic. More... | |
Public Member Functions inherited from rc::GenICam2RosPublisher | |
| GenICam2RosPublisher (const std::string &frame_id_prefix) | |
| virtual | ~GenICam2RosPublisher () |
Private Member Functions | |
| ConfidencePublisher (const ConfidencePublisher &) | |
| ConfidencePublisher & | operator= (const ConfidencePublisher &) |
Private Attributes | |
| ros::Publisher | pub |
| uint32_t | seq |
Additional Inherited Members | |
Protected Attributes inherited from rc::GenICam2RosPublisher | |
| std::string | frame_id |
Definition at line 44 of file confidence_publisher.h.
| rc::ConfidencePublisher::ConfidencePublisher | ( | ros::NodeHandle & | nh, |
| const std::string & | frame_id_prefix | ||
| ) |
Initialization of publisher.
| nh | Node handle. |
Definition at line 42 of file confidence_publisher.cc.
|
private |
|
private |
|
overridevirtual |
Offers a buffer for publication.
It depends on the the kind of buffer data and the implementation and configuration of the sub-class if the data is published.
| buffer | Buffer with data to be published. |
| part | Part index of image. |
| pixelformat | The pixelformat as given by buffer.getPixelFormat(). |
Implements rc::GenICam2RosPublisher.
Definition at line 53 of file confidence_publisher.cc.
|
overridevirtual |
Returns true if there are subscribers to the topic.
Implements rc::GenICam2RosPublisher.
Definition at line 48 of file confidence_publisher.cc.
|
private |
Definition at line 64 of file confidence_publisher.h.
|
private |
Definition at line 63 of file confidence_publisher.h.