構造体 toppers::itron::jsp::eventflag_policyイベントフラグのためのポリシークラス
[詳細]
#include "toppers/itron/jsp/eventflag.hpp"
toppers::itron::jsp::eventflag_policyに対する継承グラフ
[凡例]toppers::itron::jsp::eventflag_policyのコラボレーション図
[凡例]すべてのメンバ一覧
|
Static Public メソッド |
static void | generate_assertions (const kernel_cfg &cfg, std::ostream &ostr) |
| パラメータチェックコード の生成
|
Static Public 変数 |
static const char | name_ [] = "eventflag" |
static const char | symbol_ [] = "flg" |
static const char *const | apis_ [] = { "CRE_FLG", 0 } |
static const char *const | params_ [] = { "$flgid { #flgatr iflgptn }", 0 } |
static const char | init_format_ [] = "\t{ @#flgatr, @iflgptn }" |
説明
イベントフラグのためのポリシークラス
このクラスで実現される静的API
eventflag.hpp の 77 行で定義されています。
関数
void toppers::itron::jsp::eventflag_policy::generate_assertions |
( |
const kernel_cfg & |
cfg, |
|
|
std::ostream & |
ostr |
|
) |
[static] |
|
|
パラメータチェックコード の生成
- 引数:
-
| cfg | kernel_cfg.c 生成情報 |
| ostr | 出力ストリーム |
toppers::itron::kernel_object_policy_baseを再定義しています。
eventflag.cpp の 54 行で定義されています。
参照先 toppers::kernel_cfg::get_inib_array()・name_. 00055 {
00056 const kernel_cfg::inib_array* pinibs = cfg.get_inib_array( name_ );
00057 static const char pattern[] =
00058 "#if ((@#flgatr) & 0x02u) != 0x00u\n"
00059 "#error \"`flgatr\' of eventflag `@name\' is specified TA_WMUL\"\n"
00060 "#endif\n"
00061 "__CFG_ASSERT(((@#flgatr) & 0x02u) == 0x00u);\n"
00062 "\n";
00063 std::transform( pinibs->begin(), pinibs->end(), std::ostream_iterator<std::string>( ostr ), generator( pattern ) );
00064 }
関数の呼び出しグラフ:
|
この構造体の説明は次のファイルから生成されました:
Copyright © 2006 by TAKAGI Nobuhisa.
このページは Wed Apr 12 16:32:07 2006 に Doxygen によって生成されました。
|
|