|
BluFedora Job System v1.0.0
This is a C++ job system library for use in game engines.
|
Public Member Functions | |
| Task (const char *const name, const job::internal::JobFn job_fn, job::Counter *const counter) noexcept | |
Public Attributes | |
| const char * | name |
| Debug name of this task. More... | |
| internal::JobFn | job_fn |
| The function that will be run. More... | |
| Counter * | counter |
| The counter to be decremented. More... | |
| std::uint8_t | userdata_align |
| Alignment offset needed by userdata. More... | |
| std::atomic_bool | is_ready_for_gc |
| Set to true when the task can be reused. More... | |
| Byte | user_data [k_TaskPaddingDataSize] |
| User data storage. More... | |
Static Public Attributes | |
| static constexpr std::size_t | k_SizeOfMembers |
| static constexpr std::size_t | k_TaskPaddingDataSize = k_ExpectedTaskSize - k_SizeOfMembers |
Definition at line 117 of file job_system.cpp.
|
inlinenoexcept |
Definition at line 135 of file job_system.cpp.
|
staticconstexpr |
Definition at line 119 of file job_system.cpp.
|
staticconstexpr |
Definition at line 126 of file job_system.cpp.
| const char* job::Task::name |
Debug name of this task.
Definition at line 128 of file job_system.cpp.
| internal::JobFn job::Task::job_fn |
The function that will be run.
Definition at line 129 of file job_system.cpp.
| Counter* job::Task::counter |
The counter to be decremented.
Definition at line 130 of file job_system.cpp.
| std::uint8_t job::Task::userdata_align |
Alignment offset needed by userdata.
Definition at line 131 of file job_system.cpp.
| std::atomic_bool job::Task::is_ready_for_gc |
Set to true when the task can be reused.
Definition at line 132 of file job_system.cpp.
| Byte job::Task::user_data[k_TaskPaddingDataSize] |
User data storage.
Definition at line 133 of file job_system.cpp.