Navigation
Unreal Engine C++ API Reference > Runtime > Core > Tasks
Inheritance Hierarchy
- FInheritedContextBase
- FTaskBase
- TTaskWithResult
- TExecutableTaskBase
- TExecutableTask
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/Tasks/TaskPrivate.h |
Include | #include "Tasks/TaskPrivate.h" |
Syntax
template<typename TaskBodyType, typename ResultType, typename Enable>
class TExecutableTaskBase : public UE::Tasks::Private::TTaskWithResult< ResultType >
Remarks
Task implementation that can be executed, as it stores task body. Generic version (for tasks that return non-void results). In most cases it should be allocated on the heap and used with TRefCountPtr, e.g.
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
TExecutableTaskBase
(
const TCHAR* InDebugName, |
2 init refs: one for the initial reference (we don't increment it on passing to `TRefCountPtr_), and one for the internal reference that keeps the task alive while it's in the system. |
Overridden from FTaskBase
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | ExecuteTask () |