NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
ndn::detail::CancelHandle Class Reference

Handle to cancel an operation. More...

#include <cancel-handle.hpp>

Inheritance diagram for ndn::detail::CancelHandle:

Public Member Functions

 CancelHandle () noexcept
 CancelHandle (std::function< void()> cancel) noexcept
void cancel () const
 Cancel the operation. More...

Detailed Description

Handle to cancel an operation.

Definition at line 32 of file cancel-handle.hpp.

Constructor & Destructor Documentation

◆ CancelHandle() [1/2]

ndn::detail::CancelHandle::CancelHandle ( )

Referenced by CancelHandle().

◆ CancelHandle() [2/2]

ndn::detail::CancelHandle::CancelHandle ( std::function< void()>  cancel)

Definition at line 38 of file cancel-handle.hpp.

References cancel(), and CancelHandle().

Member Function Documentation

◆ cancel()

void ndn::detail::CancelHandle::cancel ( ) const

The documentation for this class was generated from the following files: