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
20
namespace
yarp::dev
{
21
22
class
YARP_dev_API
IAudioVisualStream
23
{
24
public
:
28
virtual
~IAudioVisualStream
();
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
yarp::dev::IAudioVisualStream
Definition
IAudioVisualStream.h:23
yarp::dev::IAudioVisualStream::hasAudio
virtual bool hasAudio()=0
yarp::dev::IAudioVisualStream::hasRawVideo
virtual bool hasRawVideo()
Definition
IAudioVisualStream.h:34
yarp::dev::IAudioVisualStream::hasVideo
virtual bool hasVideo()=0
yarp::dev::IAudioVisualStream::~IAudioVisualStream
virtual ~IAudioVisualStream()
Destructor.
yarp::dev
For streams capable of holding different kinds of content, check what they actually have.
Definition
jointData.cpp:13
api.h
YARP_dev_API
#define YARP_dev_API
Definition
api.h:18
YARP
3.11.2
src
libYARP_dev
src
yarp
dev
IAudioVisualStream.h
Generated on Sat Mar 1 2025 02:35:32 for YARP by
1.9.8