OpenCV453
公開型 | 公開メンバ関数 | 限定公開変数類 | フレンド | 全メンバ一覧
cv::AsyncPromise クラス

Provides result of asynchronous operations [詳解]

#include <async_promise.hpp>

公開型

typedef struct AsyncArray::Impl Impl
 

公開メンバ関数

 AsyncPromise (const AsyncPromise &o) CV_NOEXCEPT
 
AsyncPromiseoperator= (const AsyncPromise &o) CV_NOEXCEPT
 
void release () CV_NOEXCEPT
 
AsyncArray getArrayResult ()
 
void setValue (InputArray value)
 
void setException (const cv::Exception &exception)
 
void * _getImpl () const CV_NOEXCEPT
 

限定公開変数類

Impl * p
 

フレンド

struct AsyncArray::Impl
 

詳解

Provides result of asynchronous operations

関数詳解

◆ getArrayResult()

AsyncArray cv::AsyncPromise::getArrayResult ( )

Returns associated AsyncArray

覚え書き
Can be called once

◆ setException()

void cv::AsyncPromise::setException ( const cv::Exception exception)

Stores exception.

引数
[in]exceptionexception to be raised in AsyncArray

◆ setValue()

void cv::AsyncPromise::setValue ( InputArray  value)

Stores asynchronous result.

引数
[in]valueresult

このクラス詳解は次のファイルから抽出されました: