Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
AsyncBase.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5namespace Bedrock::Threading {
6
7class AsyncBase : public ::std::enable_shared_from_this<::Bedrock::Threading::AsyncBase> {
8public:
9 // AsyncBase inner types declare
10 // clang-format off
11 struct DiagnosticInfo;
12 // clang-format on
13
14 // AsyncBase inner types define
16 public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<8, 8, uint64> mPendingCount;
20 ::ll::TypedStorage<8, 8, uint64> mTotalCount;
21 ::ll::TypedStorage<1, 1, bool> mHasPendingCount;
22 // NOLINTEND
23 };
24
25public:
26 // virtual functions
27 // NOLINTBEGIN
28 virtual ~AsyncBase() = default;
29
30 virtual ::Bedrock::Threading::AsyncBase::DiagnosticInfo getAsyncDiagnosticInfo() const;
31 // NOLINTEND
32
33public:
34 // virtual function thunks
35 // NOLINTBEGIN
36 MCNAPI ::Bedrock::Threading::AsyncBase::DiagnosticInfo $getAsyncDiagnosticInfo() const;
37
38
39 // NOLINTEND
40};
41
42} // namespace Bedrock::Threading
Definition AsyncBase.h:7
MCAPI::Bedrock::Threading::AsyncBase::DiagnosticInfo $getAsyncDiagnosticInfo() const