29 : m_scheduler(&scheduler)
36 if (m_event != event) {
38 m_event = std::move(event);
void reset() noexcept
clear this EventId
Copyright (c) 2013-2017 Regents of the University of California.
void cancelEvent(const EventId &eventId)
Cancel a scheduled event.
~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.