progress_reporter クラス

progress reporter クラスは、特定の型の進行状況の通知をレポートできます。 各 progress_reporter オブジェクトが、特定の非同期アクションまたは操作にバインドされます。

構文

template<typename _ProgressType>
class progress_reporter;

パラメーター

_ProgressType
progress_reporter クラスによって報告される進行状況の各通知のペイロードの種類。

メンバー

パブリック コンストラクター

名前 説明
progress_reporter

パブリック メソッド

名前 説明
レポート progress reporter クラスのバインド先となる非同期アクションまたは非同期操作に、進行状況レポートを送信します。

解説

この型は、Windows ランタイム アプリでのみ使用できます。

継承階層

progress_reporter

必要条件

ヘッダー: ppltasks.h

名前空間: concurrency

progress_reporter

progress_reporter();

report

progress reporter クラスのバインド先となる非同期アクションまたは非同期操作に、進行状況レポートを送信します。

void report(const _ProgressType& val) const;

パラメーター

val
進行状況を示す通知によって報告されるペイロード。

関連項目

コンカレンシー名前空間