#include <genicam2ros_publisher.h>

Public Member Functions | |
| GenICam2RosPublisher (std::string frame_id_prefix) | |
| virtual void | publish (const rcg::Buffer *buffer, uint64_t pixelformat)=0 |
| virtual bool | used ()=0 |
| virtual | ~GenICam2RosPublisher () |
Protected Attributes | |
| std::string | frame_id |
Private Member Functions | |
| GenICam2RosPublisher & | operator= (const GenICam2RosPublisher &) |
Interface for all publishers relating to images, point clouds or other stereo-camera data
Definition at line 49 of file genicam2ros_publisher.h.
| rc::GenICam2RosPublisher::GenICam2RosPublisher | ( | std::string | frame_id_prefix | ) | [inline] |
| frame_id_prefix | prefix for frame ids in published ros messages |
Definition at line 56 of file genicam2ros_publisher.h.
| virtual rc::GenICam2RosPublisher::~GenICam2RosPublisher | ( | ) | [inline, virtual] |
Definition at line 60 of file genicam2ros_publisher.h.
| GenICam2RosPublisher& rc::GenICam2RosPublisher::operator= | ( | const GenICam2RosPublisher & | ) | [private] |
| virtual void rc::GenICam2RosPublisher::publish | ( | const rcg::Buffer * | buffer, |
| uint64_t | pixelformat | ||
| ) | [pure virtual] |
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. |
| pixelformat | The pixelformat as given by buffer.getPixelFormat(). |
Implemented in rc::DisparityColorPublisher, rc::DisparityPublisher, rc::Points2Publisher, rc::ErrorDepthPublisher, rc::CameraInfoPublisher, rc::DepthPublisher, rc::ErrorDisparityPublisher, rc::ImagePublisher, and rc::ConfidencePublisher.
| virtual bool rc::GenICam2RosPublisher::used | ( | ) | [pure virtual] |
Returns true if there are subscribers to the topic.
Implemented in rc::DisparityColorPublisher, rc::DisparityPublisher, rc::Points2Publisher, rc::ErrorDepthPublisher, rc::CameraInfoPublisher, rc::DepthPublisher, rc::ErrorDisparityPublisher, rc::ImagePublisher, and rc::ConfidencePublisher.
std::string rc::GenICam2RosPublisher::frame_id [protected] |
Definition at line 83 of file genicam2ros_publisher.h.