7#ifndef YARP_DEV_IFRAMEGRABBER_H
8#define YARP_DEV_IFRAMEGRABBER_H
11#if !defined(YARP_INCLUDING_DEPRECATED_HEADER_YARP_DEV_IFRAMEGRABBER_H_ON_PURPOSE)
15#ifndef YARP_NO_DEPRECATED
Common interface to a FrameGrabber.
virtual int height() const =0
Return the height of each frame.
virtual int getRawBufferSize()=0
Get the size of the card's internal buffer, the user should use this method to allocate the storage t...
virtual bool getRawBuffer(unsigned char *buffer)=0
Get the raw buffer from the frame grabber.
virtual int width() const =0
Return the width of each frame.
For streams capable of holding different kinds of content, check what they actually have.
#define YARP_COMPILER_WARNING(x)
Generate a warning at build time on supported compilers.
#define YARP_dev_DEPRECATED_API