Generic time-based scheduler. More...
#include <ndn-cxx/util/scheduler.hpp>
Public Member Functions | |
Scheduler (boost::asio::io_service &ioService) | |
~Scheduler () | |
void | cancelAllEvents () |
Cancel all scheduled events. More... | |
EventId | schedule (time::nanoseconds after, EventCallback callback) |
Schedule a one-time event after the specified delay. More... | |
Generic time-based scheduler.
Definition at line 134 of file scheduler.hpp.
|
explicit |
Definition at line 84 of file scheduler.cpp.
|
default |
void ndn::scheduler::Scheduler::cancelAllEvents | ( | ) |
Cancel all scheduled events.
Definition at line 125 of file scheduler.cpp.
EventId ndn::scheduler::Scheduler::schedule | ( | time::nanoseconds | after, |
EventCallback | callback | ||
) |
Schedule a one-time event after the specified delay.
Definition at line 92 of file scheduler.cpp.