LeviLamina
Loading...
Searching...
No Matches
JsepSessionDescription.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/webrtc/SdpType.h"
7#include "mc/external/webrtc/SessionDescriptionInterface.h"
8
9// auto generated forward declare list
10// clang-format off
11namespace cricket { class Candidate; }
12namespace cricket { class SessionDescription; }
13namespace webrtc { class IceCandidateCollection; }
14namespace webrtc { class IceCandidateInterface; }
15// clang-format on
16
17namespace webrtc {
18
20public:
21 // member variables
22 // NOLINTBEGIN
28 // NOLINTEND
29
30public:
31 // prevent constructor by default
35
36public:
37 // virtual functions
38 // NOLINTBEGIN
39 // vIndex: 0
40 virtual ~JsepSessionDescription() /*override*/;
41
42 // vIndex: 1
43 virtual ::std::unique_ptr<::webrtc::SessionDescriptionInterface> Clone() const /*override*/;
44
45 // vIndex: 3
46 virtual ::cricket::SessionDescription* description() /*override*/;
47
48 // vIndex: 2
49 virtual ::cricket::SessionDescription const* description() const /*override*/;
50
51 // vIndex: 4
52 virtual ::std::string session_id() const /*override*/;
53
54 // vIndex: 5
55 virtual ::std::string session_version() const /*override*/;
56
57 // vIndex: 6
58 virtual ::webrtc::SdpType GetType() const /*override*/;
59
60 // vIndex: 7
61 virtual ::std::string type() const /*override*/;
62
63 // vIndex: 8
64 virtual bool AddCandidate(::webrtc::IceCandidateInterface const* candidate) /*override*/;
65
66 // vIndex: 9
67 virtual uint64 RemoveCandidates(::std::vector<::cricket::Candidate> const& candidates) /*override*/;
68
69 // vIndex: 10
70 virtual uint64 number_of_mediasections() const /*override*/;
71
72 // vIndex: 11
73 virtual ::webrtc::IceCandidateCollection const* candidates(uint64 mediasection_index) const /*override*/;
74
75 // vIndex: 12
76 virtual bool ToString(::std::string* out) const /*override*/;
77 // NOLINTEND
78
79public:
80 // member functions
81 // NOLINTBEGIN
82 MCNAPI bool GetMediasectionIndex(::webrtc::IceCandidateInterface const* candidate, uint64* index);
83
84 MCNAPI int GetMediasectionIndex(::cricket::Candidate const& candidate);
85
86 MCNAPI bool Initialize(
87 ::std::unique_ptr<::cricket::SessionDescription> description,
88 ::std::string const& session_id,
89 ::std::string const& session_version
90 );
91
92 MCNAPI explicit JsepSessionDescription(::webrtc::SdpType type);
93
95 ::webrtc::SdpType type,
96 ::std::unique_ptr<::cricket::SessionDescription> description,
97 ::std::string_view session_id,
98 ::std::string_view session_version
99 );
100 // NOLINTEND
101
102public:
103 // constructor thunks
104 // NOLINTBEGIN
105 MCNAPI void* $ctor(::webrtc::SdpType type);
106
107 MCNAPI void* $ctor(
108 ::webrtc::SdpType type,
109 ::std::unique_ptr<::cricket::SessionDescription> description,
110 ::std::string_view session_id,
111 ::std::string_view session_version
112 );
113 // NOLINTEND
114
115public:
116 // destructor thunk
117 // NOLINTBEGIN
118 MCNAPI void $dtor();
119 // NOLINTEND
120
121public:
122 // virtual function thunks
123 // NOLINTBEGIN
124 MCNAPI ::std::unique_ptr<::webrtc::SessionDescriptionInterface> $Clone() const;
125
126 MCNAPI ::cricket::SessionDescription* $description();
127
128 MCNAPI ::cricket::SessionDescription const* $description() const;
129
130 MCNAPI ::std::string $session_id() const;
131
132 MCNAPI ::std::string $session_version() const;
133
134 MCNAPI ::webrtc::SdpType $GetType() const;
135
136 MCNAPI ::std::string $type() const;
137
138 MCNAPI bool $AddCandidate(::webrtc::IceCandidateInterface const* candidate);
139
140 MCNAPI uint64 $RemoveCandidates(::std::vector<::cricket::Candidate> const& candidates);
141
142 MCNAPI uint64 $number_of_mediasections() const;
143
144 MCNAPI ::webrtc::IceCandidateCollection const* $candidates(uint64 mediasection_index) const;
145
146 MCNAPI bool $ToString(::std::string* out) const;
147 // NOLINTEND
148
149public:
150 // vftables
151 // NOLINTBEGIN
152 MCNAPI static void** $vftable();
153 // NOLINTEND
154};
155
156} // namespace webrtc
Definition Candidate.h:15
Definition IceCandidateInterface.h:12
Definition JsepSessionDescription.h:19
MCAPI ::std::unique_ptr<::webrtc::SessionDescriptionInterface > $Clone() const
MCAPI::std::string $session_id() const
MCAPI::webrtc::IceCandidateCollection const * $candidates(uint64 mediasection_index) const
MCAPI JsepSessionDescription(::webrtc::SdpType type)
MCAPI uint64 $RemoveCandidates(::std::vector<::cricket::Candidate > const &candidates)
MCAPI int GetMediasectionIndex(::cricket::Candidate const &candidate)
MCAPI bool Initialize(::std::unique_ptr<::cricket::SessionDescription > description, ::std::string const &session_id, ::std::string const &session_version)
MCAPI::webrtc::SdpType $GetType() const
MCAPI::std::string $session_version() const
MCAPI uint64 $number_of_mediasections() const
MCAPI JsepSessionDescription(::webrtc::SdpType type, ::std::unique_ptr<::cricket::SessionDescription > description, ::std::string_view session_id, ::std::string_view session_version)
MCAPI::std::string $type() const
MCAPI bool GetMediasectionIndex(::webrtc::IceCandidateInterface const *candidate, uint64 *index)
MCAPI void * $ctor(::webrtc::SdpType type, ::std::unique_ptr<::cricket::SessionDescription > description, ::std::string_view session_id, ::std::string_view session_version)
MCAPI bool $AddCandidate(::webrtc::IceCandidateInterface const *candidate)
static MCAPI void ** $vftable()
MCAPI void * $ctor(::webrtc::SdpType type)
MCAPI bool $ToString(::std::string *out) const
MCAPI::cricket::SessionDescription const * $description() const
MCAPI::cricket::SessionDescription * $description()
Definition SessionDescriptionInterface.h:18
Definition Alias.h:14