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
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 // vIndex: 0
67 virtual ~Sdes() /*override*/;
68
69 // vIndex: 1
70 virtual uint64 BlockLength() const /*override*/;
71
72 // vIndex: 2
73 virtual bool Create(
74 uchar* packet,
75 uint64* index,
76 uint64 max_length,
77 ::rtc::FunctionView<void(::rtc::ArrayView<uchar const>)> callback
78 ) const /*override*/;
79 // NOLINTEND
80
81public:
82 // member functions
83 // NOLINTBEGIN
84 MCNAPI bool AddCName(uint ssrc, ::std::string_view cname);
85
86 MCNAPI bool Parse(::webrtc::rtcp::CommonHeader const& packet);
87
88 MCNAPI Sdes();
89 // NOLINTEND
90
91public:
92 // constructor thunks
93 // NOLINTBEGIN
94 MCNAPI void* $ctor();
95 // NOLINTEND
96
97public:
98 // destructor thunk
99 // NOLINTBEGIN
100 MCNAPI void $dtor();
101 // NOLINTEND
102
103public:
104 // virtual function thunks
105 // NOLINTBEGIN
106 MCNAPI uint64 $BlockLength() const;
107
108 MCNAPI bool $Create(
109 uchar* packet,
110 uint64* index,
111 uint64 max_length,
112 ::rtc::FunctionView<void(::rtc::ArrayView<uchar const>)> callback
113 ) const;
114 // NOLINTEND
115
116public:
117 // vftables
118 // NOLINTBEGIN
119 MCNAPI static void** $vftable();
120 // NOLINTEND
121};
122
123} // namespace webrtc::rtcp
Definition CommonHeader.h:7
Definition RtcpPacket.h:10
Definition Sdes.h:16
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