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 MCAPI Candidate();
45
46 MCAPI Candidate(::cricket::Candidate const&);
47
48 MCAPI Candidate(
49 int,
50 ::std::string_view,
52 uint,
53 ::std::string_view,
54 ::std::string_view,
55 ::webrtc::IceCandidateType,
56 uint,
57 ::std::string_view,
58 ushort,
59 ushort
60 );
61
62 MCAPI void ComputeFoundation(::rtc::SocketAddress const&, uint64);
63
64 MCAPI void ComputePrflxFoundation();
65
66 MCAPI uint GetPriority(uint, int, int, bool) const;
67
68 MCAPI bool IsEquivalent(::cricket::Candidate const&) const;
69
70 MCAPI bool MatchesForRemoval(::cricket::Candidate const&) const;
71
72 MCAPI ::cricket::Candidate ToSanitizedCopy(bool, bool) const;
73
74 MCAPI ::std::string ToStringInternal(bool) const;
75
76 MCAPI void generate_id();
77
78 MCAPI bool is_local() const;
79
80 MCAPI bool is_prflx() const;
81
82 MCAPI bool is_relay() const;
83
84 MCAPI bool is_stun() const;
85
86 MCAPI bool operator!=(::cricket::Candidate const&) const;
87
88 MCAPI ::cricket::Candidate& operator=(::cricket::Candidate const&);
89
90 MCAPI bool operator==(::cricket::Candidate const&) const;
91
92 MCAPI void set_password(::std::string_view);
93
94 MCAPI void set_username(::std::string_view);
95
96 MCAPI ::std::string_view type_name() const;
97
98 MCAPI ~Candidate();
99 // NOLINTEND
100
101public:
102 // static functions
103 // NOLINTBEGIN
104 MCAPI static void Assign(::std::string&, ::std::string_view);
105 // NOLINTEND
106
107public:
108 // constructor thunks
109 // NOLINTBEGIN
110 MCAPI void* $ctor();
111
112 MCAPI void* $ctor(::cricket::Candidate const&);
113
114 MCAPI void* $ctor(
115 int,
116 ::std::string_view,
118 uint,
119 ::std::string_view,
120 ::std::string_view,
121 ::webrtc::IceCandidateType,
122 uint,
123 ::std::string_view,
124 ushort,
125 ushort
126 );
127 // NOLINTEND
128
129public:
130 // destructor thunk
131 // NOLINTBEGIN
132 MCAPI void $dtor();
133 // NOLINTEND
134};
135
136} // namespace cricket
Definition Candidate.h:15
Definition SocketAddress.h:12
Definition Alias.h:14