LeviLamina
Loading...
Searching...
No Matches
Candidate.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/webrtc/IceCandidateType.h"
7
8// auto generated forward declare list
9// clang-format off
10namespace rtc { class SocketAddress; }
11// clang-format on
12
13namespace cricket {
14
15class Candidate {
16public:
17 // member variables
18 // NOLINTBEGIN
39 // NOLINTEND
40
41public:
42 // member functions
43 // NOLINTBEGIN
44 MCNAPI Candidate();
45
47
48 MCNAPI Candidate(
49 int component,
50 ::std::string_view protocol,
51 ::rtc::SocketAddress const& address,
52 uint priority,
53 ::std::string_view username,
54 ::std::string_view password,
55 ::webrtc::IceCandidateType type,
56 uint generation,
57 ::std::string_view foundation,
58 ushort network_id,
59 ushort network_cost
60 );
61
62 MCNAPI void ComputeFoundation(::rtc::SocketAddress const& base_address, uint64 tie_breaker);
63
65
66 MCNAPI uint GetPriority(
67 uint type_preference,
68 int network_adapter_preference,
69 int relay_preference,
70 bool adjust_local_preference
71 ) const;
72
73 MCNAPI bool IsEquivalent(::cricket::Candidate const& c) const;
74
75 MCNAPI bool MatchesForRemoval(::cricket::Candidate const& c) const;
76
77 MCNAPI ::cricket::Candidate ToSanitizedCopy(bool use_hostname_address, bool filter_related_address) const;
78
79 MCNAPI ::std::string ToStringInternal(bool sensitive) const;
80
81 MCNAPI void generate_id();
82
83 MCNAPI bool is_local() const;
84
85 MCNAPI bool is_prflx() const;
86
87 MCNAPI bool is_relay() const;
88
89 MCNAPI bool is_stun() const;
90
91 MCNAPI bool operator!=(::cricket::Candidate const& o) const;
92
93 MCNAPI ::cricket::Candidate& operator=(::cricket::Candidate const&);
94
95 MCNAPI bool operator==(::cricket::Candidate const& o) const;
96
97 MCNAPI ::std::string_view type_name() const;
98
99 MCNAPI ~Candidate();
100 // NOLINTEND
101
102public:
103 // static functions
104 // NOLINTBEGIN
105 MCNAPI static void Assign(::std::string& s, ::std::string_view view);
106 // NOLINTEND
107
108public:
109 // constructor thunks
110 // NOLINTBEGIN
111 MCNAPI void* $ctor();
112
113 MCNAPI void* $ctor(::cricket::Candidate const&);
114
115 MCNAPI void* $ctor(
116 int component,
117 ::std::string_view protocol,
118 ::rtc::SocketAddress const& address,
119 uint priority,
120 ::std::string_view username,
121 ::std::string_view password,
122 ::webrtc::IceCandidateType type,
123 uint generation,
124 ::std::string_view foundation,
125 ushort network_id,
126 ushort network_cost
127 );
128 // NOLINTEND
129
130public:
131 // destructor thunk
132 // NOLINTBEGIN
133 MCNAPI void $dtor();
134 // NOLINTEND
135};
136
137} // namespace cricket
Definition Candidate.h:15
MCAPI void ComputeFoundation(::rtc::SocketAddress const &base_address, uint64 tie_breaker)
MCAPI bool MatchesForRemoval(::cricket::Candidate const &c) const
MCAPI bool is_prflx() const
MCAPI bool operator==(::cricket::Candidate const &o) const
MCAPI Candidate(int component, ::std::string_view protocol, ::rtc::SocketAddress const &address, uint priority, ::std::string_view username, ::std::string_view password, ::webrtc::IceCandidateType type, uint generation, ::std::string_view foundation, ushort network_id, ushort network_cost)
MCAPI Candidate(::cricket::Candidate const &)
MCAPI bool operator!=(::cricket::Candidate const &o) const
MCAPI bool is_local() const
MCAPI void generate_id()
MCAPI::std::string_view type_name() const
MCAPI bool is_relay() const
MCAPI void $dtor()
MCAPI bool is_stun() const
MCAPI void ComputePrflxFoundation()
MCAPI uint GetPriority(uint type_preference, int network_adapter_preference, int relay_preference, bool adjust_local_preference) const
MCAPI bool IsEquivalent(::cricket::Candidate const &c) const
MCAPI::cricket::Candidate ToSanitizedCopy(bool use_hostname_address, bool filter_related_address) const
MCAPI void * $ctor(int component, ::std::string_view protocol, ::rtc::SocketAddress const &address, uint priority, ::std::string_view username, ::std::string_view password, ::webrtc::IceCandidateType type, uint generation, ::std::string_view foundation, ushort network_id, ushort network_cost)
MCAPI::cricket::Candidate & operator=(::cricket::Candidate const &)
MCAPI void * $ctor()
MCAPI::std::string ToStringInternal(bool sensitive) const
static MCAPI void Assign(::std::string &s, ::std::string_view view)
MCAPI void * $ctor(::cricket::Candidate const &)
Definition SocketAddress.h:12
Definition Alias.h:14