メインページ | モジュール | 名前空間一覧 | クラス階層 | 構成 | ファイル一覧 | 名前空間メンバ | 構成メンバ | ファイルメンバ | 関連ページ

クラス toppers::task_body< Diagnostics, Stub >::terminator の解説
[カーネルオブジェクト管理]

自タスクを終了させる場合にスローする例外クラス [詳細]

#include <toppers/task.hpp>

すべてのメンバ一覧

Public メンバ関数

 terminator (FP exit_proc, int x=0)
 コンストラクタ

FP get_exit_proc () const
 終了関数の参照


解説

template<class Diagnostics = TOPPERS_DEFAULT_DIAGNOSTICS, class Stub = TOPPERS_DEFAULT_STUB>
class toppers::task_body< Diagnostics, Stub >::terminator

  task_body::terminater クラスは、task_body::exit またはtask_body::exit_and_destroy メンバ関数からスローされる例外クラスである。 このクラスのコンストラクタで指定された終了関数が、例外オブジェクトがキャッチされた後に実行される。

参照:
task_body::exit