LeviLamina
Loading...
Searching...
No Matches
IceControllerInterface.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/cricket/IceMode.h"
7#include "mc/external/cricket/IceSwitchReason.h"
8#include "mc/external/cricket/NominationMode.h"
9
10// auto generated forward declare list
11// clang-format off
12namespace cricket { class Connection; }
13namespace cricket { struct IceConfig; }
14// clang-format on
15
16namespace cricket {
17
19public:
20 // IceControllerInterface inner types declare
21 // clang-format off
22 struct PingResult;
23 struct SwitchResult;
24 // clang-format on
25
26 // IceControllerInterface inner types define
27 struct SwitchResult {
28 public:
29 // member variables
30 // NOLINTBEGIN
34 // NOLINTEND
35
36 public:
37 // prevent constructor by default
38 SwitchResult& operator=(SwitchResult const&);
40
41 public:
42 // member functions
43 // NOLINTBEGIN
45
46 MCNAPI ~SwitchResult();
47 // NOLINTEND
48
49 public:
50 // constructor thunks
51 // NOLINTBEGIN
53 // NOLINTEND
54
55 public:
56 // destructor thunk
57 // NOLINTBEGIN
58 MCNAPI void $dtor();
59 // NOLINTEND
60 };
61
62 struct PingResult {
63 public:
64 // member variables
65 // NOLINTBEGIN
68 // NOLINTEND
69
70 public:
71 // prevent constructor by default
72 PingResult& operator=(PingResult const&);
73 PingResult(PingResult const&);
74 PingResult();
75 };
76
77public:
78 // virtual functions
79 // NOLINTBEGIN
80 // vIndex: 0
81 virtual ~IceControllerInterface() = default;
82
83 // vIndex: 1
84 virtual void SetIceConfig(::cricket::IceConfig const&) = 0;
85
86 // vIndex: 2
87 virtual void SetSelectedConnection(::cricket::Connection const*) = 0;
88
89 // vIndex: 3
90 virtual void AddConnection(::cricket::Connection const*) = 0;
91
92 // vIndex: 4
93 virtual void OnConnectionDestroyed(::cricket::Connection const*) = 0;
94
95 // vIndex: 5
96 virtual ::rtc::ArrayView<::cricket::Connection const* const> GetConnections() const;
97
98 // vIndex: 6
99 virtual ::rtc::ArrayView<::cricket::Connection const*> connections() const;
100
101 // vIndex: 7
102 virtual bool HasPingableConnection() const = 0;
103
104 // vIndex: 8
105 virtual ::cricket::IceControllerInterface::PingResult SelectConnectionToPing(int64) = 0;
106
107 // vIndex: 9
108 virtual bool
109 GetUseCandidateAttr(::cricket::Connection const*, ::cricket::NominationMode, ::cricket::IceMode) const = 0;
110
111 // vIndex: 10
112 virtual ::cricket::Connection const* FindNextPingableConnection() = 0;
113
114 // vIndex: 11
115 virtual void MarkConnectionPinged(::cricket::Connection const*) = 0;
116
117 // vIndex: 12
118 virtual ::cricket::IceControllerInterface::SwitchResult
119 ShouldSwitchConnection(::cricket::IceSwitchReason, ::cricket::Connection const*) = 0;
120
121 // vIndex: 13
122 virtual ::cricket::IceControllerInterface::SwitchResult SortAndSwitchConnection(::cricket::IceSwitchReason) = 0;
123
124 // vIndex: 14
125 virtual ::std::vector<::cricket::Connection const*> PruneConnections() = 0;
126 // NOLINTEND
127
128public:
129 // virtual function thunks
130 // NOLINTBEGIN
131
132 // NOLINTEND
133};
134
135} // namespace cricket
Definition Connection.h:38
Definition IceControllerInterface.h:18
Definition IceConfig.h:10
Definition IceControllerInterface.h:62
Definition IceControllerInterface.h:27
MCAPI void * $ctor(::cricket::IceControllerInterface::SwitchResult const &)
MCAPI SwitchResult(::cricket::IceControllerInterface::SwitchResult const &)
Definition Alias.h:14