11inline HandleGuard<CancellationToken>::HandleGuard(
void* handle) noexcept
12 : HandleGuard<CancellationToken>(handle, [](
void* handle) { CVB_CALL_CAPI(ReleaseObject(handle)); })
27 : handle_(std::move(guard))
40 return handle_.Handle();
50 CExports::cvbbool_t status =
false;
51 CVB_CALL_CAPI(CVCCancellationTokenIsCanceled(
Handle(), status));
58 HandleGuard<CancellationToken> handle_;
A token to enable cancellation on wait operations.
Definition: cancellation_token.hpp:20
bool IsCanceled() const noexcept
Check if token has been canceled.
Definition: cancellation_token.hpp:48
void * Handle() const noexcept
Classic API image handle.
Definition: cancellation_token.hpp:38
Provides tokens and signals tokens cancellation.
Definition: cancellation_token_source.hpp:20
Root namespace for the Image Manager interface.
Definition: c_barcode.h:24