LeviLamina
Loading...
Searching...
No Matches
Sdes.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/rtc/FunctionView.h"
7#include "mc/external/webrtc/RtcpPacket.h"
8
9// auto generated forward declare list
10// clang-format off
11namespace webrtc::rtcp { class CommonHeader; }
12// clang-format on
13
14namespace webrtc::rtcp {
15
16class Sdes : public ::webrtc::rtcp::RtcpPacket {
17public:
18 // Sdes inner types declare
19 // clang-format off
20 struct Chunk;
21 // clang-format on
22
23 // Sdes inner types define
24 struct Chunk {
25 public:
26 // member variables
27 // NOLINTBEGIN
30 // NOLINTEND
31
32 public:
33 // prevent constructor by default
34 Chunk& operator=(Chunk const&);
35 Chunk(Chunk const&);
36 Chunk();
37
38 public:
39 // member functions
40 // NOLINTBEGIN
41 MCNAPI ~Chunk();
42 // NOLINTEND
43
44 public:
45 // destructor thunk
46 // NOLINTBEGIN
47 MCNAPI void $dtor();
48 // NOLINTEND
49 };
50
51public:
52 // member variables
53 // NOLINTBEGIN
56 // NOLINTEND
57
58public:
59 // prevent constructor by default
60 Sdes& operator=(Sdes const&);
61 Sdes(Sdes const&);
62
63public:
64 // virtual functions
65 // NOLINTBEGIN
66 virtual ~Sdes() /*override*/;
67
68 virtual uint64 BlockLength() const /*override*/;
69
70 virtual bool Create(
71 uchar* packet,
72 uint64* index,
73 uint64 max_length,
74 ::rtc::FunctionView<void(::rtc::ArrayView<uchar const>)> callback
75 ) const /*override*/;
76 // NOLINTEND
77
78public:
79 // member functions
80 // NOLINTBEGIN
81 MCNAPI bool AddCName(uint ssrc, ::std::string_view cname);
82
83 MCNAPI bool Parse(::webrtc::rtcp::CommonHeader const& packet);
84
85 MCNAPI Sdes();
86 // NOLINTEND
87
88public:
89 // constructor thunks
90 // NOLINTBEGIN
91 MCNAPI void* $ctor();
92 // NOLINTEND
93
94public:
95 // destructor thunk
96 // NOLINTBEGIN
97 MCNAPI void $dtor();
98 // NOLINTEND
99
100public:
101 // virtual function thunks
102 // NOLINTBEGIN
103 MCNAPI uint64 $BlockLength() const;
104
105 MCNAPI bool $Create(
106 uchar* packet,
107 uint64* index,
108 uint64 max_length,
109 ::rtc::FunctionView<void(::rtc::ArrayView<uchar const>)> callback
110 ) const;
111
112
113 // NOLINTEND
114
115public:
116 // vftables
117 // NOLINTBEGIN
118 MCNAPI static void** $vftable();
119 // NOLINTEND
120};
121
122} // namespace webrtc::rtcp
Definition CommonHeader.h:7
Definition RtcpPacket.h:10
MCAPI bool AddCName(uint ssrc, ::std::string_view cname)
MCAPI void * $ctor()
MCAPI bool $Create(uchar *packet, uint64 *index, uint64 max_length, ::rtc::FunctionView< void(::rtc::ArrayView< uchar const >)> callback) const
static MCAPI void ** $vftable()
MCAPI bool Parse(::webrtc::rtcp::CommonHeader const &packet)
MCAPI void $dtor()
MCAPI uint64 $BlockLength() const
STL namespace.
Definition Alias.h:14
Definition Sdes.h:24