OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
11 #ifndef WEBRTC_MODULES_AUDIO_CODING_AUDIO_NETWORK_ADAPTOR_CONTROLLER_MANAGER_H_ | 11 #ifndef WEBRTC_MODULES_AUDIO_CODING_AUDIO_NETWORK_ADAPTOR_CONTROLLER_MANAGER_H_ |
12 #define WEBRTC_MODULES_AUDIO_CODING_AUDIO_NETWORK_ADAPTOR_CONTROLLER_MANAGER_H_ | 12 #define WEBRTC_MODULES_AUDIO_CODING_AUDIO_NETWORK_ADAPTOR_CONTROLLER_MANAGER_H_ |
13 | 13 |
14 #include <map> | 14 #include <map> |
15 #include <memory> | 15 #include <memory> |
16 #include <vector> | 16 #include <vector> |
17 | 17 |
18 #include "webrtc/base/constructormagic.h" | |
19 #include "webrtc/base/protobuf_utils.h" | |
20 #include "webrtc/modules/audio_coding/audio_network_adaptor/controller.h" | 18 #include "webrtc/modules/audio_coding/audio_network_adaptor/controller.h" |
| 19 #include "webrtc/rtc_base/constructormagic.h" |
| 20 #include "webrtc/rtc_base/protobuf_utils.h" |
21 | 21 |
22 namespace webrtc { | 22 namespace webrtc { |
23 | 23 |
24 class DebugDumpWriter; | 24 class DebugDumpWriter; |
25 | 25 |
26 class ControllerManager { | 26 class ControllerManager { |
27 public: | 27 public: |
28 virtual ~ControllerManager() = default; | 28 virtual ~ControllerManager() = default; |
29 | 29 |
30 // Sort controllers based on their significance. | 30 // Sort controllers based on their significance. |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 // |scoring_points_| saves the scoring points of various | 114 // |scoring_points_| saves the scoring points of various |
115 // controllers. | 115 // controllers. |
116 std::map<const Controller*, ScoringPoint> controller_scoring_points_; | 116 std::map<const Controller*, ScoringPoint> controller_scoring_points_; |
117 | 117 |
118 RTC_DISALLOW_COPY_AND_ASSIGN(ControllerManagerImpl); | 118 RTC_DISALLOW_COPY_AND_ASSIGN(ControllerManagerImpl); |
119 }; | 119 }; |
120 | 120 |
121 } // namespace webrtc | 121 } // namespace webrtc |
122 | 122 |
123 #endif // WEBRTC_MODULES_AUDIO_CODING_AUDIO_NETWORK_ADAPTOR_CONTROLLER_MANAGER_
H_ | 123 #endif // WEBRTC_MODULES_AUDIO_CODING_AUDIO_NETWORK_ADAPTOR_CONTROLLER_MANAGER_
H_ |
OLD | NEW |