LeviLamina
Loading...
Searching...
No Matches
RateLimiter.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7namespace webrtc { class Clock; }
8// clang-format on
9
10namespace webrtc {
11
13public:
14 // member variables
15 // NOLINTBEGIN
21 // NOLINTEND
22
23public:
24 // prevent constructor by default
25 RateLimiter& operator=(RateLimiter const&);
28
29public:
30 // member functions
31 // NOLINTBEGIN
32 MCNAPI RateLimiter(::webrtc::Clock* clock, int64 max_window_ms);
33
34 MCNAPI void SetMaxRate(uint max_rate_bps);
35
36 MCNAPI bool TryUseRate(uint64 packet_size_bytes);
37
38 MCNAPI ~RateLimiter();
39 // NOLINTEND
40
41public:
42 // constructor thunks
43 // NOLINTBEGIN
44 MCNAPI void* $ctor(::webrtc::Clock* clock, int64 max_window_ms);
45 // NOLINTEND
46
47public:
48 // destructor thunk
49 // NOLINTBEGIN
50 MCNAPI void $dtor();
51 // NOLINTEND
52};
53
54} // namespace webrtc
Definition Clock.h:13
Definition RateLimiter.h:12
MCAPI RateLimiter(::webrtc::Clock *clock, int64 max_window_ms)
MCAPI bool TryUseRate(uint64 packet_size_bytes)
MCAPI void SetMaxRate(uint max_rate_bps)
MCAPI void * $ctor(::webrtc::Clock *clock, int64 max_window_ms)
MCAPI void $dtor()
Definition Alias.h:14