YARP
Yet Another Robot Platform
RGBDSensor_StreamingMsgParser Class Reference

#include <RGBDSensorClient/RGBDSensorClient_StreamingMsgParser.h>

Public Member Functions

 RGBDSensor_StreamingMsgParser ()=default
 
bool readRgb (yarp::sig::FlexImage &data, yarp::os::Stamp *timeStamp=nullptr)
 
bool readDepth (yarp::sig::ImageOf< yarp::sig::PixelFloat > &data, yarp::os::Stamp *timeStamp=nullptr)
 
bool read (yarp::sig::FlexImage &rgbImage, yarp::sig::ImageOf< yarp::sig::PixelFloat > &depthImage, yarp::os::Stamp *rgbStamp=nullptr, yarp::os::Stamp *depthStamp=nullptr)
 
void attach (RgbImageBufferedPort *_port_rgb, FloatImageBufferedPort *_port_depth)
 

Detailed Description

Definition at line 61 of file RGBDSensorClient_StreamingMsgParser.h.

Constructor & Destructor Documentation

◆ RGBDSensor_StreamingMsgParser()

RGBDSensor_StreamingMsgParser::RGBDSensor_StreamingMsgParser ( )
default

Member Function Documentation

◆ attach()

void RGBDSensor_StreamingMsgParser::attach ( RgbImageBufferedPort _port_rgb,
FloatImageBufferedPort _port_depth 
)

Definition at line 124 of file RGBDSensorClient_StreamingMsgParser.cpp.

◆ read()

bool RGBDSensor_StreamingMsgParser::read ( yarp::sig::FlexImage rgbImage,
yarp::sig::ImageOf< yarp::sig::PixelFloat > &  depthImage,
yarp::os::Stamp rgbStamp = nullptr,
yarp::os::Stamp depthStamp = nullptr 
)

Definition at line 100 of file RGBDSensorClient_StreamingMsgParser.cpp.

◆ readDepth()

bool RGBDSensor_StreamingMsgParser::readDepth ( yarp::sig::ImageOf< yarp::sig::PixelFloat > &  data,
yarp::os::Stamp timeStamp = nullptr 
)

Definition at line 84 of file RGBDSensorClient_StreamingMsgParser.cpp.

◆ readRgb()

bool RGBDSensor_StreamingMsgParser::readRgb ( yarp::sig::FlexImage data,
yarp::os::Stamp timeStamp = nullptr 
)

Definition at line 68 of file RGBDSensorClient_StreamingMsgParser.cpp.


The documentation for this class was generated from the following files: