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
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 // vIndex: 0
27 virtual ~RtcpPacket() = default;
28
29 // vIndex: 1
30 virtual uint64 BlockLength() const = 0;
31
32 // vIndex: 2
33 virtual bool Create(uchar*, uint64*, uint64, ::rtc::FunctionView<void(::rtc::ArrayView<uchar const>)>) const = 0;
34 // NOLINTEND
35
36public:
37 // member functions
38 // NOLINTBEGIN
39 MCNAPI uint64 HeaderLength() const;
40
41 MCNAPI bool
42 OnBufferFull(uchar* packet, uint64* index, ::rtc::FunctionView<void(::rtc::ArrayView<uchar const>)> callback) const;
43 // NOLINTEND
44
45public:
46 // static functions
47 // NOLINTBEGIN
48 MCNAPI static void
49 CreateHeader(uint64 count_or_format, uchar packet_type, uint64 length, uchar* buffer, uint64* pos);
50
51 MCNAPI static void
52 CreateHeader(uint64 count_or_format, uchar packet_type, uint64 length, bool padding, uchar* buffer, uint64* pos);
53 // NOLINTEND
54
55public:
56 // virtual function thunks
57 // NOLINTBEGIN
58
59 // NOLINTEND
60
61public:
62 // vftables
63 // NOLINTBEGIN
64 MCNAPI static void** $vftable();
65 // NOLINTEND
66};
67
68} // namespace webrtc::rtcp
Definition _HeaderOutputPredefine.h:260
Definition FunctionView.h:8
Definition RtcpPacket.h:10
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