Handle to cancel an operation. More...
#include <cancel-handle.hpp>
Public Member Functions | |
CancelHandle () noexcept=default | |
CancelHandle (function< void()> cancel) | |
void | cancel () const |
Cancel the operation. More... | |
Handle to cancel an operation.
Definition at line 32 of file cancel-handle.hpp.
|
defaultnoexcept |
|
explicit |
Definition at line 27 of file cancel-handle.cpp.
void ndn::detail::CancelHandle::cancel | ( | ) | const |
Cancel the operation.
Definition at line 33 of file cancel-handle.cpp.
Referenced by nfd::scheduler::cancel(), ndn::detail::ScopedCancelHandle::cancel(), ndn::util::scheduler::Scheduler::cancelEvent(), nfd::rib::Route::cancelExpirationEvent(), and ndn::detail::ScopedCancelHandle::~ScopedCancelHandle().