Ocean
Loading...
Searching...
No Matches
USBMedium.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) Meta Platforms, Inc. and affiliates.
3
*
4
* This source code is licensed under the MIT license found in the
5
* LICENSE file in the root directory of this source tree.
6
*/
7
8
#ifndef META_OCEAN_MEDIA_USB_USB_MEDIUM_H
9
#define META_OCEAN_MEDIA_USB_USB_MEDIUM_H
10
11
#include "
ocean/media/usb/USB.h
"
12
13
#include "
ocean/media/Medium.h
"
14
15
namespace
Ocean
16
{
17
18
namespace
Media
19
{
20
21
namespace
USB
22
{
23
24
/**
25
* This class implements the base class for all Medium objects in the USB library.
26
* @ingroup mediausb
27
*/
28
class
OCEAN_MEDIA_USB_EXPORT
USBMedium
:
virtual
public
Medium
29
{
30
friend
class
USBLibrary
;
31
32
protected
:
33
34
/**
35
* Creates a new medium by a given url.
36
* @param url The URL of the medium
37
*/
38
explicit
USBMedium
(
const
std::string&
url
);
39
};
40
41
}
42
43
}
44
45
}
46
47
#endif
// META_OCEAN_MEDIA_USB_USB_MEDIUM_H
Medium.h
Ocean::Media::Medium::Medium
Medium(const Medium &medium)=delete
Disabled copy constructor.
Ocean::Media::Medium::url
const std::string & url() const
Returns the url of the medium.
Definition
Medium.h:236
Ocean::Media::USB::USBMedium::USBMedium
USBMedium(const std::string &url)
Creates a new medium by a given url.
Ocean::Media::USB::USBMedium::USBLibrary
friend class USBLibrary
Definition
USBMedium.h:30
USB.h
Ocean::Media::USB
Namespace of the Media USB library.
Definition
media/usb/jni/JNI.h:22
Ocean::Media
Namespace of the Media library.
Definition
AAudio.h:26
Ocean
The namespace covering the entire Ocean framework.
Definition
Accessor.h:15
impl
ocean
media
usb
USBMedium.h
Generated on
for Ocean by
1.15.0