#include <error_disparity_publisher.h>
Definition at line 46 of file error_disparity_publisher.h.
◆ ErrorDisparityPublisher() [1/2]
rc::ErrorDisparityPublisher::ErrorDisparityPublisher |
( |
ros::NodeHandle & |
nh, |
|
|
const std::string & |
frame_id, |
|
|
std::function< void()> & |
sub_changed |
|
) |
| |
◆ ErrorDisparityPublisher() [2/2]
◆ operator=()
◆ publish()
void rc::ErrorDisparityPublisher::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. The buffer is already attached to the nodemap for accessing the chunk data. |
part | Part index of image. |
pixelformat | The pixelformat as given by buffer->getPixelFormat(part). |
Implements rc::GenICam2RosPublisher.
Definition at line 65 of file error_disparity_publisher.cpp.
◆ requiresComponents()
void rc::ErrorDisparityPublisher::requiresComponents |
( |
int & |
components, |
|
|
bool & |
color |
|
) |
| |
|
overridevirtual |
Adds components and if color images are required to the given values.
Nothing will be changed if there are no subscribers, i.e. used() == false.
- Parameters
-
components | Components Flags that will be updated according to the needs of this publisher. |
color | Value that will be updated if this publisher needs color. |
Implements rc::GenICam2RosPublisher.
Definition at line 57 of file error_disparity_publisher.cpp.
◆ used()
bool rc::ErrorDisparityPublisher::used |
( |
| ) |
|
|
overridevirtual |
◆ pub
The documentation for this class was generated from the following files: