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

クラス テンプレートtoppers::overrunhandler_body< Diagnostics, Stub > の解説
[カーネルオブジェクト管理]

オーバーランハンドラの本体動作を定義する基底クラス [詳細]

#include <toppers/overrunhandler.hpp>

toppers::overrunhandler_body< Diagnostics, Stub >に対する継承グラフ

toppers::non_task_context_body< Diagnostics, Stub > すべてのメンバ一覧

Public メンバ関数

 overrunhandler_body (ID tskid, VP_INT exinf)
 コンストラクタ

const task< 0, Diagnostics,
Stub > & 
get_task () const
 タスク管理オブジェクトの参照

VP_INT get_extended_info () const
 拡張情報の取得

void run ()
 ハンドラ本体動作の実行


Static Public 変数

const task_context_tag task_context = toppers::task_context
 タスクコンテキストを指定する定数

const non_task_context_tag non_task_context = toppers::non_task_context
 非タスクコンテキストを指定する定数

const non_task_context_tag context_independent = toppers::non_task_context
 現在のコンテキスト(すなわち非タスクコンテキスト)を指定する定数


Protected 型

typedef Stub stub
 サービスコールスタブ


Protected メンバ関数

 ~overrunhandler_body ()
 デストラクタ


Static Protected メンバ関数

ID get_task_id ()
 実行中のタスクID番号を参照する


解説

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

  オーバーランハンドラを作成する場合、overrunhandler_body テンプレートクラスから public 継承したクラスを定義し、その型をoverrunhandler_entry テンプレート関数のテンプレート 引数に渡す。

参照:
overrunhandler overrunhandler_entry