5#ifndef OPENCV_CORE_ASYNC_PROMISE_HPP
6#define OPENCV_CORE_ASYNC_PROMISE_HPP
10#include "exception_ptr.hpp"
29 void release() CV_NOEXCEPT;
47 void setException(std::exception_ptr exception);
62 typedef struct AsyncArray::Impl Impl;
friend struct AsyncArray::Impl;
63 inline void* _getImpl() const CV_NOEXCEPT {
return p; }
Returns result of asynchronous operations
Definition: async.hpp:32
Provides result of asynchronous operations
Definition: async_promise.hpp:23
void setException(const cv::Exception &exception)
AsyncArray getArrayResult()
void setValue(InputArray value)
Class passed to an error.
Definition: core.hpp:119
CV_EXPORTS void swap(Mat &a, Mat &b)
Swaps two matrices
"black box" representation of the file storage associated with a file on disk.
Definition: aruco.hpp:75