Ignore:
Timestamp:
Jun 24, 2012, 7:42:09 PM (12 years ago)
Author:
okuma-top
Message:

totally brush up

Location:
SimpleSample/trunk/SimpleSampleTrace
Files:
1 added
1 moved

Legend:

Unmodified
Added
Removed
  • SimpleSample/trunk/SimpleSampleTrace/SimpleSample.cdl

    r30 r34  
    55 *  |             |           |             |          |             |
    66 *  |   tTask     | sTaskBody |   tSimple   |  sSample |   tSample   |
    7  *  |   Task      |-----------|>  Simple    |----------|>  Sample    |
     7 *  |   Task      |-----------|>  Simple    |==========|>  Sample    |
    88 *  |             |cTask eBody|             |cCall eEnt|             |
    99 *  |             |Body       |             |          |             |
    1010 *  +-------------+           +-------------+          +-------------+
     11 *
     12 *  * SimpleSample/SimpleSample.cdl を参照
     13 *  * この例では Trace プラグインが指定される。以下の※を参照
     14 *  * Trace プラグインのため tSysLog, tKernel を用いる
    1115 */
    12 
    1316
    1417// cygwin 用の簡易な型定義
    1518import( <cygwin_kernel.cdl> );
    16   // TECS 対応 TOPPERS/ASP ならば import( <kernel.cdl> ); でよい
     19  // TECS 対応 TOPPERS/ASP ならば import( <kernel.cdl> ); に相当する
    1720
     21// tSysLog の定義 (Trace の出力先)
    1822import( <tSysLog.cdl> );
    1923
     24// セル SysLog (Trace の出力先)
    2025cell tSysLog SysLog {
    2126};
     27// セル Kernel (Trace の時刻を得る)
    2228cell tKernel Kernel {
    2329};
    2430
     31// シグニチャ sSample
    2532signature sSample {
    2633        ER  sayHello( [in]int32_t times );
     
    2835};
    2936
     37// セルタイプ tSample
    3038celltype tSample {
    3139        entry sSample eEnt;
    3240};
    3341
    34 [singleton,active]
     42// セルタイプ tSimple
    3543celltype tSimple {
    3644        call sSample cCall;
     
    3846};
    3947
     48// セル Sample
    4049cell tSample Sample {
    4150};
    4251
     52// セル Simple
    4353cell tSimple Simple {
    44         [through(TracePlugin,"")]
     54        [through(TracePlugin,"")]       //  <<< ※ この行を挿入
    4555                cCall = Sample.eEnt;
    4656};
    4757
     58// セル Task
    4859cell tTask Task {
    4960        cBody = Simple.eBody;
     
    5263        taskAttribute = C_EXP( "TA_ACT" );
    5364};
     65
Note: See TracChangeset for help on using the changeset viewer.