Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
Nack.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/Rtpfb.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 Nack : public ::webrtc::rtcp::Rtpfb {
18public:
19 // Nack inner types declare
20 // clang-format off
21 struct PackedNack;
22 // clang-format on
23
24 // Nack inner types define
25 struct PackedNack {
26 public:
27 // member variables
28 // NOLINTBEGIN
31 // NOLINTEND
32
33 public:
34 // prevent constructor by default
35 PackedNack& operator=(PackedNack const&);
36 PackedNack(PackedNack const&);
37 PackedNack();
38 };
39
40public:
41 // member variables
42 // NOLINTBEGIN
45 // NOLINTEND
46
47public:
48 // prevent constructor by default
49 Nack& operator=(Nack const&);
50 Nack(Nack const&);
51
52public:
53 // virtual functions
54 // NOLINTBEGIN
55 virtual ~Nack() /*override*/;
56
57 virtual uint64 BlockLength() const /*override*/;
58
59 virtual bool Create(
60 uchar* packet,
61 uint64* index,
62 uint64 max_length,
63 ::webrtc::FunctionView<void(::webrtc::ArrayView<uchar const>)> callback
64 ) const /*override*/;
65 // NOLINTEND
66
67public:
68 // member functions
69 // NOLINTBEGIN
70 MCNAPI Nack();
71
72 MCNAPI bool Parse(::webrtc::rtcp::CommonHeader const& packet);
73
74 MCNAPI void SetPacketIds(::std::vector<ushort> nack_list);
75
76 MCNAPI void SetPacketIds(ushort const* nack_list, uint64 length);
77 // NOLINTEND
78
79public:
80 // constructor thunks
81 // NOLINTBEGIN
82 MCNAPI void* $ctor();
83 // NOLINTEND
84
85public:
86 // destructor thunk
87 // NOLINTBEGIN
88 MCNAPI void $dtor();
89 // NOLINTEND
90
91public:
92 // virtual function thunks
93 // NOLINTBEGIN
94 MCNAPI uint64 $BlockLength() const;
95
96 MCNAPI bool $Create(
97 uchar* packet,
98 uint64* index,
99 uint64 max_length,
100 ::webrtc::FunctionView<void(::webrtc::ArrayView<uchar const>)> callback
101 ) const;
102
103
104 // NOLINTEND
105
106public:
107 // vftables
108 // NOLINTBEGIN
109 MCNAPI static void** $vftable();
110 // NOLINTEND
111};
112
113} // namespace webrtc::rtcp
Definition ArrayView.h:8
Definition FunctionView.h:8
Definition CommonHeader.h:7
MCAPI bool $Create(uchar *packet, uint64 *index, uint64 max_length, ::webrtc::FunctionView< void(::webrtc::ArrayView< uchar const >)> callback) const
MCAPI void $dtor()
MCAPI uint64 $BlockLength() const
MCAPI bool Parse(::webrtc::rtcp::CommonHeader const &packet)
static MCAPI void ** $vftable()
MCAPI void * $ctor()
MCAPI void SetPacketIds(::std::vector< ushort > nack_list)
Definition Rtpfb.h:10
STL namespace.
Definition Alias.h:14
Definition Nack.h:25