Ocean
Loading...
Searching...
No Matches
AndroidDevice.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_DEVICES_ANDROID_ANDROID_DEVICE_H
9#define META_OCEAN_DEVICES_ANDROID_ANDROID_DEVICE_H
10
12
14
15namespace Ocean
16{
17
18namespace Devices
19{
20
21namespace Android
22{
23
24/**
25 * This class implements a device for the Android library.
26 * @ingroup devicesandroid
27 */
28class OCEAN_DEVICES_ANDROID_EXPORT AndroidDevice : virtual public Device
29{
30 public:
31
32 /**
33 * Returns the name of the owner library.
34 * @see Device::library().
35 */
36 const std::string& library() const override;
37
38 protected:
39
40 /**
41 * Creates a new device by is name.
42 * @param name The name of the device
43 * @param type Major and minor device type of the device
44 */
45 AndroidDevice(const std::string& name, const DeviceType type);
46};
47
48}
49
50}
51
52}
53
54#endif // META_OCEAN_DEVICES_ANDROID_ANDROID_DEVICE_H
This class implements a device for the Android library.
Definition AndroidDevice.h:29
AndroidDevice(const std::string &name, const DeviceType type)
Creates a new device by is name.
const std::string & library() const override
Returns the name of the owner library.
Definition of a class holding the major and minor device type.
Definition devices/Device.h:62
This class is the base class for all devices of any type.
Definition devices/Device.h:28
The namespace covering the entire Ocean framework.
Definition Accessor.h:15