OpenCV 5.0.0-pre
Open Source Computer Vision
|
Provides result of asynchronous operations. More...
#include <opencv2/core/detail/async_promise.hpp>
Public Types | |
typedef struct AsyncArray::Impl | Impl |
Public Member Functions | |
AsyncPromise () CV_NOEXCEPT | |
AsyncPromise (AsyncPromise &&o) | |
AsyncPromise (const AsyncPromise &o) CV_NOEXCEPT | |
~AsyncPromise () CV_NOEXCEPT | |
void * | _getImpl () const CV_NOEXCEPT |
AsyncArray | getArrayResult () |
AsyncPromise & | operator= (AsyncPromise &&o) CV_NOEXCEPT |
AsyncPromise & | operator= (const AsyncPromise &o) CV_NOEXCEPT |
void | release () CV_NOEXCEPT |
void | setException (const cv::Exception &exception) |
void | setException (std::exception_ptr exception) |
void | setValue (InputArray value) |
Protected Attributes | |
Impl * | p |
Friends | |
struct | AsyncArray::Impl |
Provides result of asynchronous operations.
struct AsyncArray::Impl cv::AsyncPromise::Impl |
cv::AsyncPromise::~AsyncPromise | ( | ) |
cv::AsyncPromise::AsyncPromise | ( | ) |
|
explicit |
|
inlineexplicit |
|
inline |
AsyncArray cv::AsyncPromise::getArrayResult | ( | ) |
Returns associated AsyncArray
|
inline |
AsyncPromise & cv::AsyncPromise::operator= | ( | const AsyncPromise & | o | ) |
void cv::AsyncPromise::release | ( | ) |
void cv::AsyncPromise::setException | ( | const cv::Exception & | exception | ) |
Stores exception.
[in] | exception | exception to be raised in AsyncArray |
void cv::AsyncPromise::setException | ( | std::exception_ptr | exception | ) |
Stores exception.
[in] | exception | exception to be raised in AsyncArray |
void cv::AsyncPromise::setValue | ( | InputArray | value | ) |
Stores asynchronous result.
[in] | value | result |
|
friend |
|
protected |