44class DistLockedTask
final :
public engine::
TaskBase {
46 using WorkerFunc = std::function<
void()>;
52 DistLockedTask(DistLockedTask&&) =
delete;
53 DistLockedTask& operator=(DistLockedTask&&) =
delete;
55 DistLockedTask(
const DistLockedTask&) =
delete;
56 DistLockedTask& operator=(
const DistLockedTask&&) =
delete;
74 WorkerFunc worker_func,
84 engine::TaskProcessor& task_processor,
86 WorkerFunc worker_func,
98 void Get()
noexcept(
false);
101 DistLockedTask(engine::TaskProcessor&, std::shared_ptr<impl::Locker>,
DistLockWaitingMode);
103 std::shared_ptr<impl::Locker> locker_ptr_;