persian.idl

来自「这是广泛使用的通信开源项目,对于大容量,高并发的通讯要求完全能够胜任,他广泛可用」· IDL 代码 · 共 69 行

IDL
69
字号
// Persian.idl,v 1.1 1999/11/20 00:10:05 cdgill Exp

// ===========================================================================
//
// = FILE  
//     Persian.idl
//
// = DESCRIPTION
//     Data struct and termination interface for the
//     DOVE Persian Recursion Demo.

// = AUTHOR
//     Chris Gill <cdgill@cs.wustl.edu>

// ============================================================================

#ifndef TAO_PERSIAN_RECURSION_IDL
#define TAO_PERSIAN_RECURSION_IDL

#include "TimeBase.idl"
#include "RtecScheduler.idl"
#pragma prefix ""

module PersianRecursion
{
  enum Line_Color_t
  // Defines the criticality of the operation.
  // For use with Dynamic Scheduler.
  {
    BLACK,
    BLUE,
    YELLOW,
    RED,
    GREEN,
    WHITE
  };

  struct Data
  {
    // Demuxing part.
    RtecScheduler::Criticality_t criticality_level;

    // Data part.
    Line_Color_t line_color;
    short x1;
    short y1;
    short x2;
    short y2;

    // Metrics part.
    TimeBase::TimeT computation_time;
  };


  interface Terminator
      // = DESCRIPTION
      // This interface specifies a single operation, used
      // to shut down the orb.  This allows the orb to
      // be shut down cleanly, from within a synchronously 
      // servant dispatched servant, but with the request
      // originating from another thread.
  {
      void shutdown ();
  };

};

#endif /* TAO_PERSIAN_RECURSION_IDL */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?