8#ifndef ROBOTSIO_YARPIMAGEOFPROBE_H
9#define ROBOTSIO_YARPIMAGEOFPROBE_H
11#include <RobotsIO/Utils/Data.h>
12#include <RobotsIO/Utils/Probe.h>
13#include <RobotsIO/Utils/YarpBufferedPort.hpp>
14#include <RobotsIO/Utils/any.h>
18#include <yarp/cv/Cv.h>
19#include <yarp/sig/Image.h>
24 class YarpImageOfProbe;
39 void on_new_data()
override;
44 yarp::sig::ImageOf<T> data_;
46 const std::string log_name_ =
"YarpImageOfProbe";
64 data_cv_ = RobotsIO::Utils::any_cast<cv::Mat>(get_data());
66 data_ = yarp::cv::fromCvMat<T>(data_cv_);
68 this->send_data(data_);