YARP
Yet Another Robot Platform
yarp::dev::IAudioVisualGrabber Class Referenceabstract

Read a YARP-format image and sound from a device. More...

#include <yarp/dev/IAudioVisualGrabber.h>

+ Inheritance diagram for yarp::dev::IAudioVisualGrabber:

Public Member Functions

virtual ~IAudioVisualGrabber ()
 Destructor. More...
 
virtual bool getAudioVisual (yarp::sig::ImageOf< yarp::sig::PixelRgb > &image, yarp::sig::Sound &sound)=0
 Get an image and sound. More...
 

Detailed Description

Read a YARP-format image and sound from a device.

Definition at line 26 of file IAudioVisualGrabber.h.

Constructor & Destructor Documentation

◆ ~IAudioVisualGrabber()

yarp::dev::IAudioVisualGrabber::~IAudioVisualGrabber ( )
virtualdefault

Destructor.

Member Function Documentation

◆ getAudioVisual()

virtual bool yarp::dev::IAudioVisualGrabber::getAudioVisual ( yarp::sig::ImageOf< yarp::sig::PixelRgb > &  image,
yarp::sig::Sound sound 
)
pure virtual

Get an image and sound.

Parameters
imagethe image to be filled
soundthe sound to be filled
Returns
true/false upon success/failure

Implemented in ServerFrameGrabber, and FfmpegGrabber.


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