|
OpenCV 4.5.3(日本語機械翻訳)
|
Returns result of asynchronous operations [詳解]
#include <async.hpp>
公開メンバ関数 |
|
| AsyncArray (const AsyncArray &o) CV_NOEXCEPT | |
| AsyncArray & | operator= (const AsyncArray &o) CV_NOEXCEPT |
| CV_WRAP void | release () CV_NOEXCEPT |
| CV_WRAP void | get (OutputArray dst) const |
| bool | get (OutputArray dst, int64 timeoutNs) const |
| CV_WRAP bool | get (OutputArray dst, double timeoutNs) const |
| bool | wait_for (int64 timeoutNs) const |
| CV_WRAP bool | wait_for (double timeoutNs) const |
| CV_WRAP bool | valid () const CV_NOEXCEPT |
| void * | _getImpl () const CV_NOEXCEPT |
限定公開変数類 |
|
| Impl * | p |
フレンド |
|
| struct | Impl |
非同期操作の結果を返す
オブジェクトはアタッチされた非同期状態を持ちます。割り当て演算子では、非同期状態のクローンは作成されません(すべてのインスタンスで共有されます)。
結果はget()メソッドで取得できるのは一度だけです。
| CV_WRAP void cv::AsyncArray::get | ( | OutputArray | dst | ) | const |
結果をフェッチします.
| [out]. | dst | destination 配列. |
コンテナが有効な結果を得るまで,結果を待ちます.例外が結果として保存されていた場合は,例外を投げます.
コンテナの状態が無効な場合は例外をスローします。
| bool cv::AsyncArray::get | ( | OutputArray | dst, |
| int64 | timeoutNs | ||
| ) | const |
タイムアウトによる結果の取得
| [out]. | dst | destination 配列. |
| [in]. | timeoutNs | タイムアウトはナノ秒単位で、無限に待つ場合は-1です。 |