LeviLamina
Loading...
Searching...
No Matches
InternalTaskGroup.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/threading/IAsyncResult.h"
7#include "mc/deps/core/threading/IBackgroundTaskOwner.h"
8#include "mc/deps/core/threading/TaskGroupState.h"
9#include "mc/platform/brstd/move_only_function.h"
10
11// auto generated forward declare list
12// clang-format off
14class TaskResult;
15struct TaskStartInfo;
16// clang-format on
17
19public:
20 // virtual functions
21 // NOLINTBEGIN
22 // vIndex: 1
23 virtual ::std::shared_ptr<::Bedrock::Threading::IAsyncResult<void>> queue_DEPRECATED(
24 ::TaskStartInfo const&,
26 ::std::function<void()>&&
27 ) /*override*/;
28
29 // vIndex: 2
30 virtual ::std::shared_ptr<::Bedrock::Threading::IAsyncResult<void>>
31 queueSync_DEPRECATED(::TaskStartInfo const&, ::brstd::move_only_function<::TaskResult()>&&) /*override*/;
32
33 // vIndex: 3
34 virtual void taskRegister(::std::shared_ptr<::BackgroundTaskBase>) /*override*/;
35
36 // vIndex: 4
37 virtual void requeueTask(::std::shared_ptr<::BackgroundTaskBase>, bool) /*override*/;
38
39 // vIndex: 5
40 virtual ::TaskGroupState getState() const /*override*/;
41
42 // vIndex: 6
43 virtual void processCoroutines() /*override*/;
44
45 // vIndex: 7
46 virtual void taskComplete(::gsl::not_null<::BackgroundTaskBase*> task) /*override*/;
47
48 // vIndex: 0
49 virtual ~InternalTaskGroup() /*override*/ = default;
50 // NOLINTEND
51
52public:
53 // virtual function thunks
54 // NOLINTBEGIN
55 MCNAPI ::std::shared_ptr<::Bedrock::Threading::IAsyncResult<void>>
57
58 MCNAPI ::std::shared_ptr<::Bedrock::Threading::IAsyncResult<void>>
60
61 MCNAPI void $taskRegister(::std::shared_ptr<::BackgroundTaskBase>);
62
63 MCNAPI void $requeueTask(::std::shared_ptr<::BackgroundTaskBase>, bool);
64
65 MCNAPI ::TaskGroupState $getState() const;
66
67 MCNAPI void $processCoroutines();
68
69 MCNAPI void $taskComplete(::gsl::not_null<::BackgroundTaskBase*> task);
70 // NOLINTEND
71
72public:
73 // vftables
74 // NOLINTBEGIN
75 MCNAPI static void** $vftable();
76 // NOLINTEND
77};
Definition BackgroundTaskBase.h:15
Definition IBackgroundTaskOwner.h:17
Definition InternalTaskGroup.h:18
MCAPI void $taskComplete(::gsl::not_null<::BackgroundTaskBase * > task)
MCAPI::TaskGroupState $getState() const
MCAPI ::std::shared_ptr<::Bedrock::Threading::IAsyncResult< void > > $queue_DEPRECATED(::TaskStartInfo const &, ::brstd::move_only_function<::TaskResult()> &&, ::std::function< void()> &&)
MCAPI void $requeueTask(::std::shared_ptr<::BackgroundTaskBase >, bool)
MCAPI void $taskRegister(::std::shared_ptr<::BackgroundTaskBase >)
MCAPI void $processCoroutines()
MCAPI ::std::shared_ptr<::Bedrock::Threading::IAsyncResult< void > > $queueSync_DEPRECATED(::TaskStartInfo const &, ::brstd::move_only_function<::TaskResult()> &&)
static MCAPI void ** $vftable()
Definition TaskResult.h:5
Definition move_only_function.h:9
Definition TaskStartInfo.h:5