|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
9 #ifndef YARP_DEV_RGBDSENSORCLIENT_RGBDSENSORCLIENT_STREAMINGMSGPARSER_H
10 #define YARP_DEV_RGBDSENSORCLIENT_RGBDSENSORCLIENT_STREAMINGMSGPARSER_H
27 double local_arrival_time {0.0};
30 mutable std::mutex mutex;
38 std::tuple<bool, yarp::sig::FlexImage, yarp::os::Stamp>
getImage()
const;
46 double local_arrival_time {0.0};
49 mutable std::mutex mutex;
85 #endif // YARP_DEV_RGBDSENSORCLIENT_RGBDSENSORCLIENT_STREAMINGMSGPARSER_H
bool read(yarp::sig::FlexImage &rgbImage, yarp::sig::ImageOf< yarp::sig::PixelFloat > &depthImage, yarp::os::Stamp *rgbStamp=nullptr, yarp::os::Stamp *depthStamp=nullptr)
A callback for typed data from a port.
~RgbImageBufferedPort() override=default
~FloatImageBufferedPort() override=default
A mini-server for performing network communication in the background.
void attach(RgbImageBufferedPort *_port_rgb, FloatImageBufferedPort *_port_depth)
Image class with user control of representation details.
bool readRgb(yarp::sig::FlexImage &data, yarp::os::Stamp *timeStamp=nullptr)
RgbImageBufferedPort()=default
FloatImageBufferedPort()=default
std::tuple< bool, yarp::sig::ImageOf< yarp::sig::PixelFloat >, yarp::os::Stamp > getImage() const
RGBDSensor_StreamingMsgParser()=default
An abstraction for a time stamp and/or sequence number.
std::tuple< bool, yarp::sig::FlexImage, yarp::os::Stamp > getImage() const
void onRead(yarp::sig::FlexImage &datum) override
void onRead(yarp::sig::ImageOf< yarp::sig::PixelFloat > &datum) override
bool readDepth(yarp::sig::ImageOf< yarp::sig::PixelFloat > &data, yarp::os::Stamp *timeStamp=nullptr)