YARP
Yet Another Robot Platform
IAudioVisualStream.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 
18 #ifndef YARP_DEV_IAUDIOVISUALSTREAM_H
19 #define YARP_DEV_IAUDIOVISUALSTREAM_H
20 
21 #include <yarp/dev/api.h>
22 
23 namespace yarp {
24 namespace dev {
25 
27 {
28 public:
33 
34  virtual bool hasAudio() = 0;
35 
36  virtual bool hasVideo() = 0;
37 
38  virtual bool hasRawVideo() {
39  return hasVideo();
40  }
41 };
42 
43 } // namespace dev
44 } // namespace yarp
45 
46 #endif // YARP_DEV_IAUDIOVISUALSTREAM_H
yarp::dev::IAudioVisualStream::hasAudio
virtual bool hasAudio()=0
yarp::dev::IAudioVisualStream::hasVideo
virtual bool hasVideo()=0
yarp::dev::IAudioVisualStream::hasRawVideo
virtual bool hasRawVideo()
Definition: IAudioVisualStream.h:38
YARP_dev_API
#define YARP_dev_API
Definition: api.h:19
yarp::dev::IAudioVisualStream
Definition: IAudioVisualStream.h:27
yarp
The main, catch-all namespace for YARP.
Definition: environment.h:18
yarp::dev::IAudioVisualStream::~IAudioVisualStream
virtual ~IAudioVisualStream()
Destructor.
api.h