LeviLamina
Loading...
Searching...
No Matches
Statistics.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7namespace Json { class Value; }
8namespace NetherNet { class PeerConnectionObserver; }
9// clang-format on
10
11namespace NetherNet {
12
14public:
15 // Statistics inner types declare
16 // clang-format off
17 struct Snapshot;
18 // clang-format on
19
20 // Statistics inner types define
21 struct Snapshot {
22 public:
23 // Snapshot inner types declare
24 // clang-format off
25 struct CandidateInfo;
26 struct CandidatePairInfo;
27 struct Error;
28 // clang-format on
29
30 // Snapshot inner types define
32 public:
33 // member variables
34 // NOLINTBEGIN
39 // NOLINTEND
40
41 public:
42 // prevent constructor by default
43 CandidateInfo& operator=(CandidateInfo const&);
46
47 public:
48 // member functions
49 // NOLINTBEGIN
50 MCNAPI ::NetherNet::Statistics::Snapshot::CandidateInfo&
52
54 // NOLINTEND
55
56 public:
57 // destructor thunk
58 // NOLINTBEGIN
59 MCNAPI void $dtor();
60 // NOLINTEND
61 };
62
64 public:
65 // member variables
66 // NOLINTBEGIN
88 // NOLINTEND
89
90 public:
91 // prevent constructor by default
92 CandidatePairInfo& operator=(CandidatePairInfo const&);
95
96 public:
97 // member functions
98 // NOLINTBEGIN
99 MCNAPI ::NetherNet::Statistics::Snapshot::CandidatePairInfo&
101
102 MCNAPI ::Json::Value toJson() const;
103 // NOLINTEND
104 };
105
106 struct Error {
107 public:
108 // member variables
109 // NOLINTBEGIN
116 // NOLINTEND
117
118 public:
119 // prevent constructor by default
120 Error& operator=(Error const&);
121 Error(Error const&);
122 Error();
123
124 public:
125 // member functions
126 // NOLINTBEGIN
127 MCNAPI ::Json::Value toJson() const;
128
129 MCNAPI ~Error();
130 // NOLINTEND
131
132 public:
133 // destructor thunk
134 // NOLINTBEGIN
135 MCNAPI void $dtor();
136 // NOLINTEND
137 };
138
139 public:
140 // member variables
141 // NOLINTBEGIN
149 // NOLINTEND
150
151 public:
152 // prevent constructor by default
153 Snapshot& operator=(Snapshot const&);
154 Snapshot(Snapshot const&);
155 Snapshot();
156
157 public:
158 // member functions
159 // NOLINTBEGIN
160 MCNAPI ::Json::Value summarize() const;
161
162 MCNAPI ~Snapshot();
163 // NOLINTEND
164
165 public:
166 // destructor thunk
167 // NOLINTBEGIN
168 MCNAPI void $dtor();
169 // NOLINTEND
170 };
171
172public:
173 // member variables
174 // NOLINTBEGIN
178 // NOLINTEND
179
180public:
181 // prevent constructor by default
182 Statistics& operator=(Statistics const&);
183 Statistics(Statistics const&);
184 Statistics();
185
186public:
187 // member functions
188 // NOLINTBEGIN
189 MCNAPI explicit Statistics(::NetherNet::PeerConnectionObserver& peerObserver);
190
192 ::std::string const& address,
193 int port,
194 ::std::string const& url,
195 int errorCode,
196 ::std::string const& errorMessage
197 );
198 // NOLINTEND
199
200public:
201 // constructor thunks
202 // NOLINTBEGIN
203 MCNAPI void* $ctor(::NetherNet::PeerConnectionObserver& peerObserver);
204 // NOLINTEND
205};
206
207} // namespace NetherNet
Definition PeerConnectionObserver.h:22
Definition Statistics.h:13
MCAPI void _onIceCandidateError(::std::string const &address, int port, ::std::string const &url, int errorCode, ::std::string const &errorMessage)
MCAPI Statistics(::NetherNet::PeerConnectionObserver &peerObserver)
MCAPI void * $ctor(::NetherNet::PeerConnectionObserver &peerObserver)
MCAPI::NetherNet::Statistics::Snapshot::CandidateInfo & operator=(::NetherNet::Statistics::Snapshot::CandidateInfo &&)
MCAPI::NetherNet::Statistics::Snapshot::CandidatePairInfo & operator=(::NetherNet::Statistics::Snapshot::CandidatePairInfo &&)
Definition Statistics.h:106
MCAPI::Json::Value toJson() const
Definition Statistics.h:21
MCAPI::Json::Value summarize() const
Definition Alias.h:14