blob: a0ac8a1726cda7072876b0aeacb46950a221ecac [file] [log] [blame]
hbos27e177c2016-09-19 06:05:56 -07001/*
2 * Copyright 2016 The WebRTC Project Authors. All rights reserved.
3 *
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
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
10
11#ifndef WEBRTC_STATS_TEST_RTCTESTSTATS_H_
12#define WEBRTC_STATS_TEST_RTCTESTSTATS_H_
13
14#include <string>
15#include <vector>
16
17#include "webrtc/api/stats/rtcstats.h"
18
19namespace webrtc {
20
21class RTCTestStats : public RTCStats {
22 public:
hbosfc5e0502016-10-06 02:06:10 -070023 WEBRTC_RTCSTATS_DECL();
hbos27e177c2016-09-19 06:05:56 -070024
hbosfc5e0502016-10-06 02:06:10 -070025 RTCTestStats(const std::string& id, int64_t timestamp_us);
26 RTCTestStats(const RTCTestStats& other);
27 ~RTCTestStats() override;
hbos27e177c2016-09-19 06:05:56 -070028
hbosb20f3872016-10-04 14:37:11 -070029 RTCStatsMember<bool> m_bool;
hbos27e177c2016-09-19 06:05:56 -070030 RTCStatsMember<int32_t> m_int32;
31 RTCStatsMember<uint32_t> m_uint32;
32 RTCStatsMember<int64_t> m_int64;
33 RTCStatsMember<uint64_t> m_uint64;
34 RTCStatsMember<double> m_double;
35 RTCStatsMember<std::string> m_string;
hbosb20f3872016-10-04 14:37:11 -070036 RTCStatsMember<std::vector<bool>> m_sequence_bool;
hbos27e177c2016-09-19 06:05:56 -070037 RTCStatsMember<std::vector<int32_t>> m_sequence_int32;
38 RTCStatsMember<std::vector<uint32_t>> m_sequence_uint32;
39 RTCStatsMember<std::vector<int64_t>> m_sequence_int64;
40 RTCStatsMember<std::vector<uint64_t>> m_sequence_uint64;
41 RTCStatsMember<std::vector<double>> m_sequence_double;
42 RTCStatsMember<std::vector<std::string>> m_sequence_string;
43};
44
45} // namespace webrtc
46
47#endif // WEBRTC_STATS_TEST_RTCTESTSTATS_H_