LeviLamina
Loading...
Searching...
No Matches
PacketStash.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/absl/flat_hash_set.h"
7#include "mc/external/webrtc/ArrayView.h"
8
9// abseil definitions
10namespace absl::hash_internal {
11template <typename T>
12struct Hash;
13}
14
15namespace webrtc {
16
17class PacketStash {
18public:
19 // PacketStash inner types declare
20 // clang-format off
21 struct StashedPacket;
22 // clang-format on
23
24 // PacketStash inner types define
25 struct StashedPacket {
26 public:
27 // member variables
28 // NOLINTBEGIN
31 // NOLINTEND
32
33 public:
34 // prevent constructor by default
35 StashedPacket& operator=(StashedPacket const&);
36 StashedPacket(StashedPacket const&);
37 StashedPacket();
38
39 public:
40 // member functions
41 // NOLINTBEGIN
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 PacketStash& operator=(PacketStash const&);
62 PacketStash(PacketStash const&);
63 PacketStash();
64
65public:
66 // member functions
67 // NOLINTBEGIN
69
71
72 MCNAPI ::webrtc::ArrayView<uchar const> GetNext();
73
74 MCNAPI void Prune(
75 ::absl::
76 flat_hash_set<uint, ::absl::hash_internal::Hash<uint>, ::std::equal_to<uint>, ::std::allocator<uint>> const&
77 hashes
78 );
79
80 MCNAPI void Prune(uint max_size);
81
82 MCNAPI void clear();
83
84 MCNAPI ~PacketStash();
85 // NOLINTEND
86
87public:
88 // destructor thunk
89 // NOLINTBEGIN
90 MCNAPI void $dtor();
91 // NOLINTEND
92};
93
94} // namespace webrtc
Definition ArrayView.h:8
MCAPI void clear()
MCAPI void Prune(::absl::flat_hash_set< uint, ::absl::hash_internal::Hash< uint >, ::std::equal_to< uint >, ::std::allocator< uint > > const &hashes)
MCAPI void Add(::webrtc::ArrayView< uchar const > packet)
MCAPI void Prune(uint max_size)
MCAPI void $dtor()
MCAPI ::webrtc::ArrayView< uchar const > GetNext()
MCAPI bool AddIfUnique(::webrtc::ArrayView< uchar const > packet)
Definition PacketStash.h:12
Definition Alias.h:14
Definition PacketStash.h:25