C# Class Baku.LibqiDotNet.QiFuture

非同期的にリクエストの戻り値を受け取るコンテナを表します。
Afficher le fichier Open project: malaybaku/BakuLibQiDotNet

Private Properties

Свойство Type Description
QiFuture System

Méthodes publiques

Méthode Description
AddCallback ( IntPtr>.Action cb, IntPtr userData ) : void

(動作未確認)動作完了時のコールバック関数を登録します。

AddCallback ( Action cb ) : void

(動作未確認)動作完了時のコールバック関数を登録します。

Cancel ( ) : void

結果取得をキャンセルします。

CheckHasError ( ) : bool

エラーが起きたかどうかを無期限待機ののち確認します。

CheckHasError ( int timeout ) : bool

エラーが起きたかどうかを待機しつつ確認します。

CheckHasValue ( ) : bool

値を持っているかどうかを無期限待機ののち確認します。

CheckHasValue ( int timeout ) : bool

値を持っているかどうかを待機ののち確認します。

CloneFuture ( ) : QiFuture

コピーを生成します。

Destroy ( ) : void

インスタンスを破棄します。

GetError ( ) : string

エラーがある場合、それを文字列として取得します。

GetInt64 ( long def ) : long

結果を符号つき整数として取得します。

GetObject ( ) : QiObject

結果をQiObjectとして取得します。

GetString ( ) : string

結果を文字列として取得します。

GetUInt64 ( ulong def ) : ulong

結果を符号なし整数として取得します。

GetValue ( ) : QiValue

一般的な処理結果を取得します。

Wait ( ) : QiFuture

無期限に待機します。

Wait ( int timeout ) : QiFuture

指定した時間まで待機します。

Private Methods

Méthode Description
QiFuture ( IntPtr handle ) : System

Method Details

AddCallback() public méthode

(動作未確認)動作完了時のコールバック関数を登録します。
public AddCallback ( IntPtr>.Action cb, IntPtr userData ) : void
cb IntPtr>.Action コールバック関数
userData System.IntPtr ユーザーデータ
Résultat void

AddCallback() public méthode

(動作未確認)動作完了時のコールバック関数を登録します。
public AddCallback ( Action cb ) : void
cb Action コールバック関数
Résultat void

Cancel() public méthode

結果取得をキャンセルします。
public Cancel ( ) : void
Résultat void

CheckHasError() public méthode

エラーが起きたかどうかを無期限待機ののち確認します。
public CheckHasError ( ) : bool
Résultat bool

CheckHasError() public méthode

エラーが起きたかどうかを待機しつつ確認します。
public CheckHasError ( int timeout ) : bool
timeout int 待機時間の上限(ミリ秒)
Résultat bool

CheckHasValue() public méthode

値を持っているかどうかを無期限待機ののち確認します。
public CheckHasValue ( ) : bool
Résultat bool

CheckHasValue() public méthode

値を持っているかどうかを待機ののち確認します。
public CheckHasValue ( int timeout ) : bool
timeout int 待機時間の上限(ミリ秒)
Résultat bool

CloneFuture() public méthode

コピーを生成します。
public CloneFuture ( ) : QiFuture
Résultat QiFuture

Destroy() public méthode

インスタンスを破棄します。
public Destroy ( ) : void
Résultat void

GetError() public méthode

エラーがある場合、それを文字列として取得します。
public GetError ( ) : string
Résultat string

GetInt64() public méthode

結果を符号つき整数として取得します。
public GetInt64 ( long def ) : long
def long
Résultat long

GetObject() public méthode

結果をQiObjectとして取得します。
public GetObject ( ) : QiObject
Résultat QiObject

GetString() public méthode

結果を文字列として取得します。
public GetString ( ) : string
Résultat string

GetUInt64() public méthode

結果を符号なし整数として取得します。
public GetUInt64 ( ulong def ) : ulong
def ulong
Résultat ulong

GetValue() public méthode

一般的な処理結果を取得します。
public GetValue ( ) : QiValue
Résultat QiValue

Wait() public méthode

無期限に待機します。
public Wait ( ) : QiFuture
Résultat QiFuture

Wait() public méthode

指定した時間まで待機します。
public Wait ( int timeout ) : QiFuture
timeout int 待機時間の上限(ミリ秒)
Résultat QiFuture