クラス テンプレート nine::concurrent::Future< T >
[ユーティリティ]

非同期的に結果を受け取るための汎用クラス [詳細]

#include <future.h>

すべてのメンバ一覧

Public メソッド

 Future (const Future< T > &r)
Future< T > & operator= (const Future< T > &r)
 明示的に Future への参照を解放する。
void release ()
bool isDone () const
 非同期計算が終了していれば真を返す。キャンセルされた場合も真を返す。
bool isCancel () const
 非同期計算がキャンセルによって終了していれば真を返す。
get () const
 非同期計算の終了を待ち、結果を返す。
take () const
 非同期計算の終了を待ち、結果を返す。結果オブジェクトの解放はユーザーの責任となる。
bool set (const T &v)
 非同期計算の結果をセットし、正常完了状態にする。
bool cancel (const T &v)
 非同期計算をキャンセルする。結果の意味はアプリケーション側で決める。

Public 変数

SharedPtr< _FutureCore< T > > m_core


説明

template<typename T>
class nine::concurrent::Future< T >

非同期的に結果を受け取るための汎用クラス
このクラスの説明は次のファイルから生成されました:

nineに対してMon Jul 26 21:44:49 2010に生成されました。  doxygen 1.5.6