7 #ifndef YARP_DEV_IFRAMEGRABBERRGB_H
8 #define YARP_DEV_IFRAMEGRABBERRGB_H
11 #if !defined(YARP_INCLUDING_DEPRECATED_HEADER_YARP_DEV_IFRAMEGRABBERRGB_H_ON_PURPOSE)
15 #ifndef YARP_NO_DEPRECATED
RGB Interface to a FrameGrabber device.
virtual ~IFrameGrabberRgb()
virtual int height() const =0
Return the height of each frame.
virtual bool getRgbBuffer(unsigned char *buffer)=0
Get a rgb buffer from the frame grabber, if required demosaicking/color reconstruction is applied.
virtual int width() const =0
Return the width of each frame.
The main, catch-all namespace for YARP.
#define YARP_COMPILER_WARNING(x)
Generate a warning at build time on supported compilers.
#define YARP_dev_DEPRECATED_API