22 #ifndef NDN_UTIL_SCHEDULER_SCOPED_EVENT_ID_HPP 23 #define NDN_UTIL_SCHEDULER_SCOPED_EVENT_ID_HPP 82 #endif // NDN_UTIL_SCHEDULER_SCOPED_EVENT_ID_HPP Copyright (c) 2013-2017 Regents of the University of California.
ScopedEventId(Scheduler &scheduler)
Construct ScopedEventId tied to the specified scheduler.
void release() noexcept
releases the event so that it won't be canceled when this ScopedEventId is destructed ...
~ScopedEventId() noexcept
cancels the event
Event that is automatically cancelled upon destruction.
void cancel()
cancels the event manually
ScopedEventId & operator=(const EventId &event)
assigns an event
Identifies a scheduled event.