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

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

非タスクコンテキストのハンドラ本体定義用基底クラス [詳細]

#include <toppers/context.hpp>

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

toppers::alarmhandler_body< Diagnostics, Stub > toppers::cyclichandler_body< Diagnostics, Stub > toppers::interrupthandler_body< Diagnostics, Stub > toppers::isr_body< Diagnostics, Stub > toppers::overrunhandler_body< Diagnostics, Stub > すべてのメンバ一覧

Public メンバ関数

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 メンバ関数

 non_task_context_body ()
 コンストラクタ

 ~non_task_context_body ()
 デストラクタ


Static Protected メンバ関数

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


解説

template<class Diagnostics, class Stub>
class toppers::non_task_context_body< Diagnostics, Stub >

  non_task_context_body テンプレートクラスは、非タスクコンテキスト用ボディクラスの基底クラスとして使用される。
  non_task_context_body テンプレートクラスから派生したクラスでは、context_independent 定数は non_task_context 定数と同じであり、シンタックスを汎用化するために使用することができる。

参照:
task_context_body