LeviLamina
Loading...
Searching...
No Matches
WrappingActiveIceController.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/webrtc/ActiveIceControllerInterface.h"
7#include "mc/external/webrtc/IceControllerInterface.h"
8#include "mc/external/webrtc/IceMode.h"
9#include "mc/external/webrtc/IceSwitchReason.h"
10#include "mc/external/webrtc/NominationMode.h"
11
12// auto generated forward declare list
13// clang-format off
14namespace webrtc { class Connection; }
15namespace webrtc { class IceAgentInterface; }
16namespace webrtc { class IceControllerFactoryInterface; }
17namespace webrtc { struct IceConfig; }
18namespace webrtc { struct IceControllerFactoryArgs; }
19// clang-format on
20
21namespace webrtc {
22
23class WrappingActiveIceController : public ::webrtc::ActiveIceControllerInterface {
24public:
25 // member variables
26 // NOLINTBEGIN
34 // NOLINTEND
35
36public:
37 // prevent constructor by default
38 WrappingActiveIceController& operator=(WrappingActiveIceController const&);
39 WrappingActiveIceController(WrappingActiveIceController const&);
40 WrappingActiveIceController();
41
42public:
43 // virtual functions
44 // NOLINTBEGIN
45 virtual ~WrappingActiveIceController() /*override*/ = default;
46
47 virtual void SetIceConfig(::webrtc::IceConfig const& config) /*override*/;
48
49 virtual bool GetUseCandidateAttribute(
50 ::webrtc::Connection const* connection,
51 ::webrtc::NominationMode mode,
52 ::webrtc::IceMode remote_ice_mode
53 ) const /*override*/;
54
55 virtual void OnConnectionAdded(::webrtc::Connection const* connection) /*override*/;
56
57 virtual void OnConnectionPinged(::webrtc::Connection const* connection) /*override*/;
58
59 virtual void OnConnectionUpdated(::webrtc::Connection const* connection) /*override*/;
60
61 virtual void OnConnectionSwitched(::webrtc::Connection const* connection) /*override*/;
62
63 virtual void OnConnectionDestroyed(::webrtc::Connection const* connection) /*override*/;
64
65 virtual void OnSortAndSwitchRequest(::webrtc::IceSwitchReason reason) /*override*/;
66
67 virtual void OnImmediateSortAndSwitchRequest(::webrtc::IceSwitchReason reason) /*override*/;
68
69 virtual bool
70 OnImmediateSwitchRequest(::webrtc::IceSwitchReason reason, ::webrtc::Connection const* selected) /*override*/;
71
72 virtual ::webrtc::Connection const* FindNextPingableConnection() /*override*/;
73 // NOLINTEND
74
75public:
76 // member functions
77 // NOLINTBEGIN
78 MCNAPI void HandleSwitchResult(
79 ::webrtc::IceSwitchReason reason_for_switch,
81 );
82
84
85 MCNAPI void SortAndSwitchToBestConnection(::webrtc::IceSwitchReason reason);
86
88
92 ::webrtc::IceControllerFactoryArgs const& wrapped_factory_args
93 );
94 // NOLINTEND
95
96public:
97 // constructor thunks
98 // NOLINTBEGIN
99 MCNAPI void* $ctor(
102 ::webrtc::IceControllerFactoryArgs const& wrapped_factory_args
103 );
104 // NOLINTEND
105
106public:
107 // virtual function thunks
108 // NOLINTBEGIN
109 MCNAPI void $SetIceConfig(::webrtc::IceConfig const& config);
110
112 ::webrtc::Connection const* connection,
113 ::webrtc::NominationMode mode,
114 ::webrtc::IceMode remote_ice_mode
115 ) const;
116
117 MCNAPI void $OnConnectionAdded(::webrtc::Connection const* connection);
118
119 MCNAPI void $OnConnectionPinged(::webrtc::Connection const* connection);
120
121 MCNAPI void $OnConnectionUpdated(::webrtc::Connection const* connection);
122
123 MCNAPI void $OnConnectionSwitched(::webrtc::Connection const* connection);
124
125 MCNAPI void $OnConnectionDestroyed(::webrtc::Connection const* connection);
126
127 MCNAPI void $OnSortAndSwitchRequest(::webrtc::IceSwitchReason reason);
128
129 MCNAPI void $OnImmediateSortAndSwitchRequest(::webrtc::IceSwitchReason reason);
130
131 MCNAPI bool $OnImmediateSwitchRequest(::webrtc::IceSwitchReason reason, ::webrtc::Connection const* selected);
132
133 MCNAPI ::webrtc::Connection const* $FindNextPingableConnection();
134
135
136 // NOLINTEND
137
138public:
139 // vftables
140 // NOLINTBEGIN
141 MCNAPI static void** $vftable();
142 // NOLINTEND
143};
144
145} // namespace webrtc
Definition ActiveIceControllerInterface.h:18
Definition Connection.h:35
Definition IceAgentInterface.h:17
Definition IceControllerFactoryInterface.h:13
MCAPI void SortAndSwitchToBestConnection(::webrtc::IceSwitchReason reason)
MCAPI void $OnSortAndSwitchRequest(::webrtc::IceSwitchReason reason)
static MCAPI void ** $vftable()
MCAPI void HandleSwitchResult(::webrtc::IceSwitchReason reason_for_switch, ::webrtc::IceControllerInterface::SwitchResult result)
MCAPI WrappingActiveIceController(::webrtc::IceAgentInterface *ice_agent, ::webrtc::IceControllerFactoryInterface *wrapped_factory, ::webrtc::IceControllerFactoryArgs const &wrapped_factory_args)
MCAPI void $OnConnectionDestroyed(::webrtc::Connection const *connection)
MCAPI bool $GetUseCandidateAttribute(::webrtc::Connection const *connection, ::webrtc::NominationMode mode, ::webrtc::IceMode remote_ice_mode) const
MCAPI::webrtc::Connection const * $FindNextPingableConnection()
MCAPI void $OnConnectionUpdated(::webrtc::Connection const *connection)
MCAPI void $OnConnectionPinged(::webrtc::Connection const *connection)
MCAPI void $OnConnectionAdded(::webrtc::Connection const *connection)
MCAPI void $OnConnectionSwitched(::webrtc::Connection const *connection)
MCAPI bool $OnImmediateSwitchRequest(::webrtc::IceSwitchReason reason, ::webrtc::Connection const *selected)
MCAPI void $SetIceConfig(::webrtc::IceConfig const &config)
MCAPI void $OnImmediateSortAndSwitchRequest(::webrtc::IceSwitchReason reason)
MCAPI void * $ctor(::webrtc::IceAgentInterface *ice_agent, ::webrtc::IceControllerFactoryInterface *wrapped_factory, ::webrtc::IceControllerFactoryArgs const &wrapped_factory_args)
Definition Alias.h:14
Definition IceConfig.h:16
Definition IceControllerFactoryArgs.h:7
Definition IceControllerInterface.h:43