⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 grid.idl

📁 这是广泛使用的通信开源项目,对于大容量,高并发的通讯要求完全能够胜任,他广泛可用于网络游戏医学图像网关的高qos要求.更详细的内容可阅读相应的材料
💻 IDL
字号:
// -*- C++ -*-
// Grid.idl,v 1.2 1999/01/21 01:54:21 schmidt Exp

interface Grid 
{
  // = TITLE
  //   Create a <Grid> of type <name>

  attribute short height;
  // Height of the grid.

  attribute short width;
  // Width of the grid.

  exception RANGE_ERROR 
    {
      // = TITLE
      // The range of parameter values do not fall in the expected
      // range.
    };

  // = Constants for LOCATIONS and VALUE.
  const short DEFAULT_LOCATION = 1;
  const short DEFAULT_VALUE = 100;

  void set (in short n, in short m, in long value)
    raises (RANGE_ERROR);
  // Set the element [n,m] of the grid, to value.

  long get (in short n, in short m) 
    raises (RANGE_ERROR);
  // Return element [n,m] of the grid.

  void destroy ();
  // Destroy the grid.
};

interface Grid_Factory
{
  // = TITLE
  //   Factory that creates a <Grid>

  // = Default height and width for a <Grid>.
  const short DEFAULT_HEIGHT = 10;
  const short DEFAULT_WIDTH = 10;

  Grid make_grid (in short height, in short width);
  // Returns a new <Grid> instance.  

  void shutdown ();
  // Shutdown the application.
};

⌨️ 快捷键说明

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