|
engine-mk1
|
A data structure for representing a Task. More...
#include <TaskScheduler.hpp>
Public Member Functions | |
| bool | operator== (const Task &rhs) const noexcept |
| Basic equality comparator. More... | |
Public Attributes | |
| std::size_t | taskID {} |
| The ID of this Task. More... | |
| std::size_t | parentID {} |
| The parents Task ID. More... | |
| std::size_t | dependencyID {} |
| The ID of the Task that must finish as a prerequisite. More... | |
| WorkFunc | work {} |
| The work function to run. More... | |
| std::size_t | openWorkItems {} |
| The remaing work items equal to N+1 where N is the number of children Tasks. More... | |
A data structure for representing a Task.
|
inlinenoexcept |
Basic equality comparator.
| std::size_t rz::taskscheduler::Task::dependencyID {} |
The ID of the Task that must finish as a prerequisite.
| std::size_t rz::taskscheduler::Task::openWorkItems {} |
The remaing work items equal to N+1 where N is the number of children Tasks.
| std::size_t rz::taskscheduler::Task::parentID {} |
The parents Task ID.
| std::size_t rz::taskscheduler::Task::taskID {} |
The ID of this Task.
| WorkFunc rz::taskscheduler::Task::work {} |
The work function to run.
1.8.11