summaryrefslogtreecommitdiff
path: root/TAO/examples/Simple/grid/Grid.idl
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/examples/Simple/grid/Grid.idl')
-rw-r--r--TAO/examples/Simple/grid/Grid.idl53
1 files changed, 0 insertions, 53 deletions
diff --git a/TAO/examples/Simple/grid/Grid.idl b/TAO/examples/Simple/grid/Grid.idl
deleted file mode 100644
index 72c360a98e4..00000000000
--- a/TAO/examples/Simple/grid/Grid.idl
+++ /dev/null
@@ -1,53 +0,0 @@
-// -*- C++ -*-
-// $Id$
-
-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.
- };
-
- // = Default LOCATIONS and VALUE for set and get values
- // from the grid.
- 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
- // Create a <Grid_Factory>
-
- // = 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.
-};