83 port_depth = _port_depth;
void onRead(yarp::sig::ImageOf< yarp::sig::PixelFloat > &datum) override
yarp::sig::ImageOf< yarp::sig::PixelFloat > getImage()
bool readDepth(yarp::sig::ImageOf< yarp::sig::PixelFloat > &data, yarp::os::Stamp *timeStamp=NULL)
bool read(yarp::sig::FlexImage &rgbImage, yarp::sig::ImageOf< yarp::sig::PixelFloat > &depthImage, yarp::os::Stamp *rgbStamp=NULL, yarp::os::Stamp *depthStamp=NULL)
void attach(yarp::os::BufferedPort< yarp::sig::FlexImage > *_port_rgb, yarp::os::BufferedPort< yarp::sig::ImageOf< yarp::sig::PixelFloat >> *_port_depth)
bool readRgb(yarp::sig::FlexImage &data, yarp::os::Stamp *timeStamp=NULL)
RGBDSensor_StreamingMsgParser()
void onRead(yarp::sig::FlexImage &datum) override
yarp::sig::FlexImage getImage()
bool getEnvelope(PortReader &envelope) override
Get the envelope information (e.g., a timestamp) from the last message received on the port.
void useCallback(TypedReaderCallback< T > &callback) override
Set an object whose onRead method will be called when data is available.
An abstraction for a time stamp and/or sequence number.
Image class with user control of representation details.
An interface for the device drivers.