Navigation
API > API/Runtime > API/Runtime/Core
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.
| Name | TExecutableTaskBase |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Tasks/TaskPrivate.h |
| Include Path | #include "Tasks/TaskPrivate.h" |
Syntax
template<typename TaskBodyType, typename ResultType, typename Enable>
class TExecutableTaskBase : public UE::Tasks::Private::TTaskWithResult< TInvokeResult_T< TaskBodyType > >
Inheritance Hierarchy
- FInheritedContextBase → FTaskBase → TTaskWithResult → TExecutableTaskBase
- FTaskBase → TTaskWithResult → TExecutableTaskBase
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Tasks/TaskPrivate.h | |||
TExecutableTaskBase
(
const TExecutableTaskBase& |
Tasks/TaskPrivate.h | ||
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. | Tasks/TaskPrivate.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| TaskBodyStorage | TTypeCompatibleBytes< TaskBodyType > | Tasks/TaskPrivate.h |
Functions
Public
Overridden from FTaskBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ExecuteTask() |
Tasks/TaskPrivate.h |
Protected
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TExecutableTaskBase & operator=
(
const TExecutableTaskBase& |
Tasks/TaskPrivate.h | ||
| Tasks/TaskPrivate.h |