OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef DEVICE_SENSORS_PLATFORM_SENSOR_CONFIGURATION_H_ | |
6 #define DEVICE_SENSORS_PLATFORM_SENSOR_CONFIGURATION_H_ | |
7 | |
8 namespace device { | |
9 | |
10 class PlatformSensorConfiguration { | |
11 public: | |
12 PlatformSensorConfiguration(); | |
13 explicit PlatformSensorConfiguration(double frequency); | |
14 ~PlatformSensorConfiguration(); | |
15 | |
16 bool operator==(const PlatformSensorConfiguration& other) const; | |
17 bool operator>(const PlatformSensorConfiguration& other) const; | |
dcheng
2016/07/01 09:17:24
Is this operator used? I don't see it stored in an
shalamov
2016/07/01 14:22:47
We will be using it to find optimal configuration,
| |
18 | |
19 double GetFrequency() const; | |
20 | |
21 private: | |
22 double frequency_; | |
23 }; | |
24 | |
25 } // namespace device | |
26 | |
27 #endif // DEVICE_SENSORS_PLATFORM_SENSOR_CONFIGURATION_H_ | |
OLD | NEW |