| 32 | void enable(const TimeDuration& delay); |
| 33 | |
| 34 | void disable() |
| 35 | { |
| 36 | ReactorTask_rch reactor_task = reactor_task_.lock(); |
| 37 | if (reactor_task) { |
| 38 | reactor_task->execute_or_enqueue(make_rch<ScheduleDisableCommand>(rchandle_from(this))); |
| 39 | } |
| 40 | } |
| 41 | |
| 42 | virtual void execute(const MonotonicTimePoint& now) = 0; |
| 43 |
nothing calls this directly
no test coverage detected