26 #ifndef NFD_CORE_SCHEDULER_HPP
27 #define NFD_CORE_SCHEDULER_HPP
30 #include <ndn-cxx/util/scheduler.hpp>
45 schedule(
const time::nanoseconds& after,
const Scheduler::Event& event);
50 cancel(
const EventId& eventId);
99 #endif // NFD_CORE_SCHEDULER_HPP
~ScopedEventId()
cancels the event
void cancel(const EventId &eventId)
cancel a scheduled event
cancels an event automatically upon destruction
void release()
releases the event so that it won't be disconnected when this ScopedEventId is destructed ...
Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents...
ScopedEventId & operator=(const EventId &event)
assigns an event
EventId schedule(const time::nanoseconds &after, const Scheduler::Event &event)
schedule an event
void cancel()
cancels the event manually