#include <image_publisher.h>
Definition at line 45 of file image_publisher.h.
Initialization of publisher.
- Parameters
-
it | Image transport handle. |
frame_id_prefix | Prefix for frame ids in published ros messages. |
left | True for left and false for right camera. |
color | True for sending color instead of monochrome images. |
out1_filter | True for also providing ...out1_low and ...out1_high topics. |
Definition at line 43 of file image_publisher.cc.
void rc::ImagePublisher::publish |
( |
const rcg::Buffer * |
buffer, |
|
|
uint32_t |
part, |
|
|
uint64_t |
pixelformat |
|
) |
| |
|
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.
- Parameters
-
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 81 of file image_publisher.cc.
void rc::ImagePublisher::publish |
( |
const rcg::Buffer * |
buffer, |
|
|
uint32_t |
part, |
|
|
uint64_t |
pixelformat, |
|
|
bool |
out1 |
|
) |
| |
void rc::ImagePublisher::setOut1OnlyLow |
( |
bool |
_out1_only_low | ) |
|
|
inline |
Set publishing only images with out1 low on the main topic.
This does have no effect on the optional ...out1_low and ...out1_high topics.
This should be true if out1 of the rc_visard is either in mode ExposureAlternateAcive or Low.
Definition at line 72 of file image_publisher.h.
bool rc::ImagePublisher::used |
( |
| ) |
|
|
overridevirtual |
bool rc::ImagePublisher::color |
|
private |
bool rc::ImagePublisher::left |
|
private |
bool rc::ImagePublisher::out1_only_low |
|
private |
uint32_t rc::ImagePublisher::seq |
|
private |
The documentation for this class was generated from the following files: