LeviLamina
Loading...
Searching...
No Matches
TaskGroup Class Reference
+ Inheritance diagram for TaskGroup:

Public Member Functions

TaskGroupoperator= (TaskGroup const &)
 
 TaskGroup (TaskGroup const &)
 
virtual ::std::shared_ptr<::Bedrock::Threading::IAsyncResult< void > > queue_DEPRECATED (::TaskStartInfo const &startInfo, ::brstd::move_only_function<::TaskResult()> &&task, ::std::function< void()> &&callback)
 
virtual ::std::shared_ptr<::Bedrock::Threading::IAsyncResult< void > > queueSync_DEPRECATED (::TaskStartInfo const &startInfo, ::brstd::move_only_function<::TaskResult()> &&task)
 
virtual void taskRegister (::std::shared_ptr<::BackgroundTaskBase > task)
 
virtual void requeueTask (::std::shared_ptr<::BackgroundTaskBase > task, bool queueImmediate)
 
virtual::TaskGroupState getState () const
 
virtual void processCoroutines ()
 
virtual void taskComplete (::gsl::not_null<::BackgroundTaskBase * > task)
 
virtual bool _workerPoolIsAsync () const
 
MCAPI TaskGroup (::WorkerPool &workers, ::Scheduler &context, ::std::string name)
 
MCAPI void _forAllTasks (::Bedrock::Threading::UniqueLock<::Bedrock::Threading::Mutex > &lock, ::std::function< void(::std::shared_ptr<::BackgroundTaskBase > const &)> callback)
 
MCAPI void _queueInternal (::std::shared_ptr<::BackgroundTaskBase > bgtask)
 
MCAPI void flush (::std::function< void()> waitFn)
 
MCAPI bool isEmpty () const
 
MCAPI void sync_DEPRECATED_ASK_TOMMO (::std::function< void()> waitFn)
 
MCAPI void * $ctor (::WorkerPool &workers, ::Scheduler &context, ::std::string name)
 
MCAPI void $dtor ()
 
MCAPI ::std::shared_ptr<::Bedrock::Threading::IAsyncResult< void > > $queue_DEPRECATED (::TaskStartInfo const &startInfo, ::brstd::move_only_function<::TaskResult()> &&task, ::std::function< void()> &&callback)
 
MCAPI ::std::shared_ptr<::Bedrock::Threading::IAsyncResult< void > > $queueSync_DEPRECATED (::TaskStartInfo const &startInfo, ::brstd::move_only_function<::TaskResult()> &&task)
 
MCAPI void $taskRegister (::std::shared_ptr<::BackgroundTaskBase > task)
 
MCAPI void $requeueTask (::std::shared_ptr<::BackgroundTaskBase > task, bool queueImmediate)
 
MCAPI::TaskGroupState $getState () const
 
MCAPI void $processCoroutines ()
 
MCAPI void $taskComplete (::gsl::not_null<::BackgroundTaskBase * > task)
 
MCAPI bool $_workerPoolIsAsync () const
 

Static Public Member Functions

static MCAPI ::IBackgroundTaskOwnergetCurrentTaskGroup ()
 
static MCAPI ::std::shared_ptr<::Bedrock::Threading::IAsyncResult< void > > queueChild_DEPRECATED (::TaskStartInfo const &startInfo, ::brstd::move_only_function<::TaskResult()> &&task, ::std::function< void()> &&callback)
 
static MCAPI void ** $vftable ()
 

Public Attributes

::ll::UntypedStorage< 8, 24 > mUnka60b44
 
::ll::UntypedStorage< 8, 24 > mUnk52e5c4
 
::ll::UntypedStorage< 8, 32 > mUnkb19a11
 
::ll::UntypedStorage< 1, 1 > mUnk10d96b
 
::ll::UntypedStorage< 8, 80 > mUnk77531a
 
::ll::UntypedStorage< 4, 4 > mUnk10adf7
 
::ll::UntypedStorage< 8, 16 > mUnk5e5b8e
 
::ll::UntypedStorage< 8, 8 > mUnk5bad41
 
::ll::UntypedStorage< 8, 16 > mUnkfe21d9
 
::ll::UntypedStorage< 8, 16 > mUnke12816
 
::ll::UntypedStorage< 8, 16 > mUnk71fca4
 
::ll::UntypedStorage< 8, 80 > mUnk6a91ad
 

Constructor & Destructor Documentation

◆ TaskGroup()

MCAPI TaskGroup::TaskGroup ( ::WorkerPool & workers,
::Scheduler & context,
::std::string name )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

Member Function Documentation

◆ queue_DEPRECATED()

virtual ::std::shared_ptr<::Bedrock::Threading::IAsyncResult< void > > TaskGroup::queue_DEPRECATED ( ::TaskStartInfo const & startInfo,
::brstd::move_only_function<::TaskResult()> && task,
::std::function< void()> && callback )
virtual

Implements IBackgroundTaskOwner.

◆ queueSync_DEPRECATED()

virtual ::std::shared_ptr<::Bedrock::Threading::IAsyncResult< void > > TaskGroup::queueSync_DEPRECATED ( ::TaskStartInfo const & startInfo,
::brstd::move_only_function<::TaskResult()> && task )
virtual

Implements IBackgroundTaskOwner.

◆ taskRegister()

virtual void TaskGroup::taskRegister ( ::std::shared_ptr<::BackgroundTaskBase > task)
virtual

Implements IBackgroundTaskOwner.

◆ requeueTask()

virtual void TaskGroup::requeueTask ( ::std::shared_ptr<::BackgroundTaskBase > task,
bool queueImmediate )
virtual

Implements IBackgroundTaskOwner.

◆ getState()

virtual::TaskGroupState TaskGroup::getState ( ) const
virtual

Implements IBackgroundTaskOwner.

◆ processCoroutines()

virtual void TaskGroup::processCoroutines ( )
virtual

Implements IBackgroundTaskOwner.

◆ taskComplete()

virtual void TaskGroup::taskComplete ( ::gsl::not_null<::BackgroundTaskBase * > task)
virtual

Implements IBackgroundTaskOwner.

◆ _forAllTasks()

MCAPI void TaskGroup::_forAllTasks ( ::Bedrock::Threading::UniqueLock<::Bedrock::Threading::Mutex > & lock,
::std::function< void(::std::shared_ptr<::BackgroundTaskBase > const &)> callback )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _queueInternal()

MCAPI void TaskGroup::_queueInternal ( ::std::shared_ptr<::BackgroundTaskBase > bgtask)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ flush()

MCAPI void TaskGroup::flush ( ::std::function< void()> waitFn)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ isEmpty()

MCAPI bool TaskGroup::isEmpty ( ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ sync_DEPRECATED_ASK_TOMMO()

MCAPI void TaskGroup::sync_DEPRECATED_ASK_TOMMO ( ::std::function< void()> waitFn)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ getCurrentTaskGroup()

static MCAPI ::IBackgroundTaskOwner * TaskGroup::getCurrentTaskGroup ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ queueChild_DEPRECATED()

static MCAPI ::std::shared_ptr<::Bedrock::Threading::IAsyncResult< void > > TaskGroup::queueChild_DEPRECATED ( ::TaskStartInfo const & startInfo,
::brstd::move_only_function<::TaskResult()> && task,
::std::function< void()> && callback )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $ctor()

MCAPI void * TaskGroup::$ctor ( ::WorkerPool & workers,
::Scheduler & context,
::std::string name )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $dtor()

MCAPI void TaskGroup::$dtor ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $queue_DEPRECATED()

MCAPI ::std::shared_ptr<::Bedrock::Threading::IAsyncResult< void > > TaskGroup::$queue_DEPRECATED ( ::TaskStartInfo const & startInfo,
::brstd::move_only_function<::TaskResult()> && task,
::std::function< void()> && callback )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $queueSync_DEPRECATED()

MCAPI ::std::shared_ptr<::Bedrock::Threading::IAsyncResult< void > > TaskGroup::$queueSync_DEPRECATED ( ::TaskStartInfo const & startInfo,
::brstd::move_only_function<::TaskResult()> && task )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $taskRegister()

MCAPI void TaskGroup::$taskRegister ( ::std::shared_ptr<::BackgroundTaskBase > task)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $requeueTask()

MCAPI void TaskGroup::$requeueTask ( ::std::shared_ptr<::BackgroundTaskBase > task,
bool queueImmediate )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $getState()

MCAPI::TaskGroupState TaskGroup::$getState ( ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $processCoroutines()

MCAPI void TaskGroup::$processCoroutines ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $taskComplete()

MCAPI void TaskGroup::$taskComplete ( ::gsl::not_null<::BackgroundTaskBase * > task)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $_workerPoolIsAsync()

MCAPI bool TaskGroup::$_workerPoolIsAsync ( ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $vftable()

static MCAPI void ** TaskGroup::$vftable ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

The documentation for this class was generated from the following file: