LeviLamina
Loading...
Searching...
No Matches
TimerManager.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/webrtc/StrongAlias.h"
7
8// auto generated forward declare list
9// clang-format off
10namespace dcsctp { class TimeoutTag; }
11namespace dcsctp { class Timer; }
12namespace dcsctp { struct TimerOptions; }
13namespace webrtc { class TimeDelta; }
14// clang-format on
15
16namespace dcsctp {
17
19public:
20 // member variables
21 // NOLINTBEGIN
25 // NOLINTEND
26
27public:
28 // prevent constructor by default
29 TimerManager& operator=(TimerManager const&);
32
33public:
34 // member functions
35 // NOLINTBEGIN
36 MCNAPI ::std::unique_ptr<::dcsctp::Timer> CreateTimer(
37 ::std::string_view name,
38 ::std::function<::webrtc::TimeDelta()> on_expired,
39 ::dcsctp::TimerOptions const& options
40 );
41
43
44 MCNAPI ~TimerManager();
45 // NOLINTEND
46
47public:
48 // destructor thunk
49 // NOLINTBEGIN
50 MCNAPI void $dtor();
51 // NOLINTEND
52};
53
54} // namespace dcsctp
Definition Timer.h:5
Definition TimerManager.h:18
MCAPI void HandleTimeout(::webrtc::StrongAlias<::dcsctp::TimeoutTag, uint64 > timeout_id)
MCAPI void $dtor()
MCAPI ::std::unique_ptr<::dcsctp::Timer > CreateTimer(::std::string_view name, ::std::function<::webrtc::TimeDelta()> on_expired, ::dcsctp::TimerOptions const &options)
Definition StrongAlias.h:8
Definition TimeDelta.h:10
Definition TimerOptions.h:7
Definition Alias.h:14