YARP
Yet Another Robot Platform
IAudioVisualGrabber.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2006-2021 Istituto Italiano di Tecnologia (IIT)
3 * SPDX-FileCopyrightText: 2006-2010 RobotCub Consortium
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#ifndef YARP_DEV_IAUDIOVISUALGRABBER_H
8#define YARP_DEV_IAUDIOVISUALGRABBER_H
9
10#include <yarp/dev/api.h>
11
12#include <yarp/sig/Image.h>
13#include <yarp/sig/Sound.h>
14
15namespace yarp::dev {
16
23{
24public:
29
38 yarp::sig::Sound& sound) = 0;
39};
40
41} // namespace yarp::dev
42
43#endif // YARP_DEV_IAUDIOVISUALGRABBER_H
Read a YARP-format image and sound from a device.
virtual ~IAudioVisualGrabber()
Destructor.
virtual bool getAudioVisual(yarp::sig::ImageOf< yarp::sig::PixelRgb > &image, yarp::sig::Sound &sound)=0
Get an image and sound.
Class for storing sounds See Audio in YARP for additional documentation on YARP audio.
Definition: Sound.h:25
For streams capable of holding different kinds of content, check what they actually have.
#define YARP_dev_API
Definition: api.h:18