43class DistLockedTask
final :
public engine::
TaskBase {
45 using WorkerFunc = std::function<
void()>;
51 DistLockedTask(DistLockedTask&&) =
delete;
52 DistLockedTask& operator=(DistLockedTask&&) =
delete;
54 DistLockedTask(
const DistLockedTask&) =
delete;
55 DistLockedTask& operator=(
const DistLockedTask&&) =
delete;
72 WorkerFunc worker_func,
81 engine::TaskProcessor& task_processor,
83 WorkerFunc worker_func,
94 void Get()
noexcept(
false);
99 std::shared_ptr<impl::Locker> locker_ptr_;