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