|
IceShard 1
A personal game engine project, with development focused on 2D/2.5D games.
|
#include <ice/task_queue.hxx>
Public Member Functions | |
| TaskQueue (ice::TaskFlags flags={}) noexcept | |
| bool | is_empty () const noexcept |
| bool | not_empty () const noexcept |
| bool | push_back (ice::TaskAwaitableBase *awaitable) noexcept |
| bool | push_back (ice::AtomicLinkedQueueRange< ice::TaskAwaitableBase > awaitable_range) noexcept |
| bool | contains (ice::TaskAwaitableBase *awaitable) const noexcept |
| auto | take_front () noexcept -> ice::TaskAwaitableBase * |
| auto | take_all () noexcept -> ice::AtomicLinkedQueueRange< ice::TaskAwaitableBase > |
| bool | process_one (void *result_value=nullptr) noexcept |
| auto | process_all (void *result_value=nullptr) noexcept -> ice::ncount |
| void | wait_any () noexcept |
| template<typename Value> | |
| constexpr bool | process_one (Value &result_value) noexcept |
| template<typename Value> | |
| constexpr auto | process_all (Value &result_value) noexcept -> ice::ncount |
Public Attributes | |
| ice::TaskFlags const | flags |
| Flags of task allowed to be pushed onto this queue. | |
|
noexcept |
|
noexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlineconstexprnoexcept |
|
noexcept |
|
inlineconstexprnoexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
nodiscardnoexcept |
|
nodiscardnoexcept |
|
noexcept |
| ice::TaskFlags const ice::TaskQueue::flags |
Flags of task allowed to be pushed onto this queue.