YARP
Yet Another Robot Platform
IAudioVisualGrabber.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2006-2020 Istituto Italiano di Tecnologia (IIT)
3  * Copyright (C) 2006-2010 RobotCub Consortium
4  * All rights reserved.
5  *
6  * This software may be modified and distributed under the terms of the
7  * BSD-3-Clause license. See the accompanying LICENSE file for details.
8  */
9 
10 #ifndef YARP_DEV_IAUDIOVISUALGRABBER_H
11 #define YARP_DEV_IAUDIOVISUALGRABBER_H
12 
13 #include <yarp/dev/api.h>
14 
15 #include <yarp/sig/Image.h>
16 #include <yarp/sig/Sound.h>
17 
18 namespace yarp {
19 namespace dev {
20 
27 {
28 public:
33 
42  yarp::sig::Sound& sound) = 0;
43 };
44 
45 } // namespace dev
46 } // namespace yarp
47 
48 #endif // YARP_DEV_IAUDIOVISUALGRABBER_H
yarp::dev::IAudioVisualGrabber::~IAudioVisualGrabber
virtual ~IAudioVisualGrabber()
Destructor.
yarp::sig::ImageOf< yarp::sig::PixelRgb >
yarp::dev::IAudioVisualGrabber
Read a YARP-format image and sound from a device.
Definition: IAudioVisualGrabber.h:27
YARP_dev_API
#define YARP_dev_API
Definition: api.h:19
Image.h
yarp::sig::Sound
Class for storing sounds.
Definition: Sound.h:28
yarp
The main, catch-all namespace for YARP.
Definition: environment.h:18
yarp::dev::IAudioVisualGrabber::getAudioVisual
virtual bool getAudioVisual(yarp::sig::ImageOf< yarp::sig::PixelRgb > &image, yarp::sig::Sound &sound)=0
Get an image and sound.
api.h
Sound.h