LeviLamina
Loading...
Searching...
No Matches
PublisherBase.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/pub_sub/ConnectPosition.h"
7#include "mc/deps/core/utility/pub_sub/detail/PublisherDisconnector.h"
8#include "mc/platform/container/list.h"
9#include "mc/platform/container/list_base_hook.h"
10
11// auto generated forward declare list
12// clang-format off
13namespace Bedrock::PubSub::Detail { class SubscriptionBodyBase; }
14// clang-format on
15
16namespace Bedrock::PubSub::Detail {
17
19public:
20 // PublisherBase inner types define
21 using ConnectionList = ::Bedrock::Intrusive::list<
25
26public:
27 // member variables
28 // NOLINTBEGIN
29 ::ll::TypedStorage<
30 8,
31 16,
36 mSubscriptions;
37 ::ll::TypedStorage<4, 4, uint> mSubscriberCount;
38 // NOLINTEND
39
40public:
41 // member functions
42 // NOLINTBEGIN
43 MCAPI void _insertConnection(
44 ::std::shared_ptr<::Bedrock::PubSub::Detail::SubscriptionBodyBase> const& body,
45 ::Bedrock::PubSub::ConnectPosition at,
46 ::std::optional<int> group
47 );
48
49 MCFOLD bool empty() const;
50
51#ifdef LL_PLAT_C
52 MCFOLD uint64 size() const;
53#endif
54 // NOLINTEND
55
56public:
57 // vftables
58 // NOLINTBEGIN
59 MCNAPI static void** $vftable();
60 // NOLINTEND
61};
62
63} // namespace Bedrock::PubSub::Detail
Definition list_base_hook.h:8
Definition list.h:8
Definition PublisherBase.h:18
Definition PublisherDisconnector.h:12
Definition SubscriptionBodyBase.h:20