YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
IAudioVisualStream.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
15#ifndef YARP_DEV_IAUDIOVISUALSTREAM_H
16#define YARP_DEV_IAUDIOVISUALSTREAM_H
17
18#include <yarp/dev/api.h>
19
20namespace yarp::dev {
21
23{
24public:
29
30 virtual bool hasAudio() = 0;
31
32 virtual bool hasVideo() = 0;
33
34 virtual bool hasRawVideo() {
35 return hasVideo();
36 }
37};
38
39} // namespace yarp::dev
40
41#endif // YARP_DEV_IAUDIOVISUALSTREAM_H
virtual ~IAudioVisualStream()
Destructor.
For streams capable of holding different kinds of content, check what they actually have.
Definition jointData.cpp:13
#define YARP_dev_API
Definition api.h:18