Ocean
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
This is the base class for all mediums.
Definition:
Medium.h:48
Ocean::Media::USB::USBLibrary
This class implements the USB library.
Definition:
USBLibrary.h:34
Ocean::Media::USB::USBMedium
This class implements the base class for all Medium objects in the USB library.
Definition:
USBMedium.h:29
Ocean::Media::USB::USBMedium::USBMedium
USBMedium(const std::string &url)
Creates a new medium by a given url.
USB.h
Ocean
The namespace covering the entire Ocean framework.
Definition:
Accessor.h:15
impl
ocean
media
usb
USBMedium.h
Generated on Wed Nov 13 2024 18:48:19 for Ocean by
1.9.1