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
15namespace Ocean
16{
17
18namespace Media
19{
20
21namespace USB
22{
23
24/**
25 * This class implements the base class for all Medium objects in the USB library.
26 * @ingroup mediausb
27 */
28class 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
This is the base class for all mediums.
Definition Medium.h:48
This class implements the USB library.
Definition USBLibrary.h:34
This class implements the base class for all Medium objects in the USB library.
Definition USBMedium.h:29
USBMedium(const std::string &url)
Creates a new medium by a given url.
The namespace covering the entire Ocean framework.
Definition Accessor.h:15