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