26 #ifndef NFD_CORE_SCHEDULER_HPP 27 #define NFD_CORE_SCHEDULER_HPP 30 #include <ndn-cxx/util/scheduler.hpp> 42 using ndn::util::scheduler::EventCallback;
47 schedule(time::nanoseconds after,
const EventCallback& event);
52 cancel(
const EventId& eventId);
101 #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(time::nanoseconds after, const EventCallback &event)
schedule an event
void cancel()
cancels the event manually