IceShard 1
A personal game engine project, with development focused on 2D/2.5D games.
Loading...
Searching...
No Matches
task_types.hxx
Go to the documentation of this file.
1
3
4#pragma once
5#include <ice/base.hxx>
6#include <coroutine>
7
8namespace ice
9{
10
11 template<typename Value = void>
12 class Task;
13
14 template<typename Result, typename ErrorType = ice::ErrorCode>
15 struct TaskExpected;
16
17 class TaskQueue;
18 class TaskScheduler;
19
20 class TaskCheckpoint;
22
23 class TaskThread;
24 class TaskThreadPool;
25
26 struct TaskFlags;
28 struct TaskAwaitableBase;
29
30 struct TaskContainer;
32
33 class ManualResetEvent;
35
36 // Generator task
37 template<typename Value>
38 class Generator;
39
40 // STD aliases
41 template<typename Type = void>
42 using coroutine_handle = std::coroutine_handle<Type>;
43 using suspend_always = std::suspend_always;
44 using suspend_never = std::suspend_never;
45
46} // namespace ice
Definition task_generator.hxx:55
Definition sync_manual_events.hxx:32
Definition sync_manual_events.hxx:12
Definition task_scoped_container.hxx:13
Definition task_checkpoint.hxx:35
Definition task_checkpoint.hxx:16
Definition task.hxx:12
Definition task_queue.hxx:13
Definition task_scheduler.hxx:13
Definition task_thread.hxx:49
Definition task_thread_pool.hxx:27
SPDX-License-Identifier: MIT.
Definition array.hxx:12
std::coroutine_handle< Type > coroutine_handle
Definition task_types.hxx:42
std::suspend_always suspend_always
Definition task_types.hxx:43
std::suspend_never suspend_never
Definition task_types.hxx:44
Definition task_awaitable.hxx:36
Definition task_awaitable.hxx:21
Definition task_container.hxx:14
Definition task_expected.hxx:12
Definition task_flags.hxx:42