LeviLamina
Loading...
Searching...
No Matches
RtcpPacket.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/rtc/FunctionView.h"
7
8namespace webrtc::rtcp {
9
10class RtcpPacket {
11public:
12 // member variables
13 // NOLINTBEGIN
15 // NOLINTEND
16
17public:
18 // prevent constructor by default
19 RtcpPacket& operator=(RtcpPacket const&);
20 RtcpPacket(RtcpPacket const&);
21 RtcpPacket();
22
23public:
24 // virtual functions
25 // NOLINTBEGIN
26 virtual ~RtcpPacket() = default;
27
28 virtual uint64 BlockLength() const = 0;
29
30 virtual bool Create(uchar*, uint64*, uint64, ::rtc::FunctionView<void(::rtc::ArrayView<uchar const>)>) const = 0;
31 // NOLINTEND
32
33public:
34 // member functions
35 // NOLINTBEGIN
36 MCNAPI uint64 HeaderLength() const;
37
38 MCNAPI bool
39 OnBufferFull(uchar* packet, uint64* index, ::rtc::FunctionView<void(::rtc::ArrayView<uchar const>)> callback) const;
40 // NOLINTEND
41
42public:
43 // static functions
44 // NOLINTBEGIN
45 MCNAPI static void
46 CreateHeader(uint64 count_or_format, uchar packet_type, uint64 length, uchar* buffer, uint64* pos);
47
48 MCNAPI static void
49 CreateHeader(uint64 count_or_format, uchar packet_type, uint64 length, bool padding, uchar* buffer, uint64* pos);
50 // NOLINTEND
51
52public:
53 // virtual function thunks
54 // NOLINTBEGIN
55
56 // NOLINTEND
57
58public:
59 // vftables
60 // NOLINTBEGIN
61 MCNAPI static void** $vftable();
62 // NOLINTEND
63};
64
65} // namespace webrtc::rtcp
Definition _HeaderOutputPredefine.h:311
Definition FunctionView.h:8
static MCAPI void CreateHeader(uint64 count_or_format, uchar packet_type, uint64 length, uchar *buffer, uint64 *pos)
MCAPI bool OnBufferFull(uchar *packet, uint64 *index, ::rtc::FunctionView< void(::rtc::ArrayView< uchar const >)> callback) const
MCAPI uint64 HeaderLength() const
static MCAPI void CreateHeader(uint64 count_or_format, uchar packet_type, uint64 length, bool padding, uchar *buffer, uint64 *pos)
static MCAPI void ** $vftable()
Definition buffer.h:5
Definition Alias.h:14