48class DistLockedTask
final :
public engine::
TaskBase {
50 using WorkerFunc = std::function<
void()>;
56 DistLockedTask(DistLockedTask&&) =
delete;
57 DistLockedTask& operator=(DistLockedTask&&) =
delete;
59 DistLockedTask(
const DistLockedTask&) =
delete;
60 DistLockedTask& operator=(
const DistLockedTask&&) =
delete;
77 WorkerFunc worker_func,
86 engine::TaskProcessor& task_processor,
88 WorkerFunc worker_func,
99 void Get()
noexcept(
false);
102 DistLockedTask(engine::TaskProcessor&, std::shared_ptr<impl::Locker>,
DistLockWaitingMode);
104 std::shared_ptr<impl::Locker> locker_ptr_;