LeviLamina
Loading...
Searching...
No Matches
PriorityDeferredSubscriptionHub.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/threading/MPSCQueue.h"
7#include "mc/deps/core/utility/pub_sub/ConnectPosition.h"
8#include "mc/deps/core/utility/pub_sub/DeferredSubscriptionHub.h"
9#include "mc/deps/core/utility/pub_sub/DeferredSubscriptionHubBase.h"
10
11namespace Bedrock::PubSub {
12
14public:
15 // PriorityDeferredSubscriptionHub inner types declare
16 // clang-format off
17 struct DequeuedEntry;
18 struct QueueEntry;
19 // clang-format on
20
21 // PriorityDeferredSubscriptionHub inner types define
23 public:
24 // member variables
25 // NOLINTBEGIN
28 // NOLINTEND
29
30 public:
31 // prevent constructor by default
32 DequeuedEntry& operator=(DequeuedEntry const&);
35
36 public:
37 // member functions
38 // NOLINTBEGIN
39 MCAPI ~DequeuedEntry();
40 // NOLINTEND
41
42 public:
43 // destructor thunk
44 // NOLINTBEGIN
45 MCFOLD void $dtor();
46 // NOLINTEND
47 };
48
49 struct QueueEntry {
50 public:
51 // member variables
52 // NOLINTBEGIN
56 // NOLINTEND
57
58 public:
59 // prevent constructor by default
60 QueueEntry& operator=(QueueEntry const&);
61 QueueEntry(QueueEntry const&);
62 QueueEntry();
63
64 public:
65 // member functions
66 // NOLINTBEGIN
67 MCAPI ~QueueEntry();
68 // NOLINTEND
69
70 public:
71 // destructor thunk
72 // NOLINTBEGIN
73 MCFOLD void $dtor();
74 // NOLINTEND
75 };
76
77public:
78 // member variables
79 // NOLINTBEGIN
82 // NOLINTEND
83
84public:
85 // prevent constructor by default
88
89public:
90 // virtual functions
91 // NOLINTBEGIN
92 // vIndex: 3
93 virtual void flushPendingEvents() /*override*/;
94
95 // vIndex: 8
96 virtual ::Bedrock::PubSub::DeferredSubscriptionHub::HubType getHubType() const /*override*/;
97
98 // vIndex: 11
99 virtual bool _runOneEvent() /*override*/;
100
101 // vIndex: 10
102 virtual void _enqueue(
103 ::std::function<void()> fn,
104 ::Bedrock::PubSub::ConnectPosition at,
105 ::std::optional<int> group
106 ) /*override*/;
107
108 // vIndex: 12
109 virtual void _runDequeuedEntry(::Bedrock::PubSub::PriorityDeferredSubscriptionHub::DequeuedEntry const& entry);
110
111 // vIndex: 0
112 virtual ~PriorityDeferredSubscriptionHub() /*override*/ = default;
113 // NOLINTEND
114
115public:
116 // member functions
117 // NOLINTBEGIN
119 // NOLINTEND
120
121public:
122 // constructor thunks
123 // NOLINTBEGIN
124 MCAPI void* $ctor();
125 // NOLINTEND
126
127public:
128 // destructor thunk
129 // NOLINTBEGIN
130
131 // NOLINTEND
132
133public:
134 // virtual function thunks
135 // NOLINTBEGIN
136 MCAPI void $flushPendingEvents();
137
138 MCFOLD ::Bedrock::PubSub::DeferredSubscriptionHub::HubType $getHubType() const;
139
140 MCAPI bool $_runOneEvent();
141
142 MCAPI void $_enqueue(::std::function<void()> fn, ::Bedrock::PubSub::ConnectPosition at, ::std::optional<int> group);
143
144 MCAPI void $_runDequeuedEntry(::Bedrock::PubSub::PriorityDeferredSubscriptionHub::DequeuedEntry const& entry);
145 // NOLINTEND
146
147public:
148 // vftables
149 // NOLINTBEGIN
150 MCAPI static void** $vftable();
151 // NOLINTEND
152};
153
154} // namespace Bedrock::PubSub
Definition DeferredSubscriptionHubBase.h:16
Definition DeferredSubscriptionHub.h:16
Definition PriorityDeferredSubscriptionHub.h:13
STL namespace.
Definition PriorityDeferredSubscriptionHub.h:22
Definition PriorityDeferredSubscriptionHub.h:49
Definition Alias.h:14