#include <threadqueue.hpp>
◆ JobFunction
◆ Job() [1/2]
| uvgutils::Job::Job |
( |
std::string |
name, |
|
|
std::size_t |
priority, |
|
|
JobFunction |
func |
|
) |
| |
|
inline |
◆ Job() [2/2]
template<typename Func , typename... Args>
| uvgutils::Job::Job |
( |
std::string |
name, |
|
|
std::size_t |
priority, |
|
|
Func && |
func, |
|
|
Args &&... |
args |
|
) |
| |
|
inline |
◆ addDependency()
| void uvgutils::Job::addDependency |
( |
const std::shared_ptr< Job > & |
dependency | ) |
|
◆ complete()
| void uvgutils::Job::complete |
( |
| ) |
|
◆ execute()
| void uvgutils::Job::execute |
( |
| ) |
const |
◆ getName()
| std::string uvgutils::Job::getName |
( |
| ) |
const |
|
inline |
◆ getState()
◆ isReady()
| bool uvgutils::Job::isReady |
( |
| ) |
const |
◆ setState()
◆ wait()
| void uvgutils::Job::wait |
( |
| ) |
|
◆ dependencies_
| std::atomic<int> uvgutils::Job::dependencies_ |
◆ func_
◆ mtx_
| std::mutex uvgutils::Job::mtx_ |
|
mutable |
◆ name_
| std::string uvgutils::Job::name_ |
◆ priority
| std::atomic<std::size_t> uvgutils::Job::priority |
◆ reverseDependencies_
| std::vector<std::shared_ptr<Job> > uvgutils::Job::reverseDependencies_ |
◆ state_
The documentation for this class was generated from the following files: