summaryrefslogtreecommitdiff
path: root/trunk/CIAO/docs/templates/cidl_template.cidl
blob: 3d359708f326c6f10559ce26c8767108bbabe395 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// $Id$   -*- C++ -*-

/**
 * @file cidl_template.cidl
 *
 * This file show an example cidl file.
 */

// @@ We do not support import (yet).
//import [component module];

// [idl-basename] contains the IDL3 definitions for component(s) and
// home(s) and the interfaces that they need.

#include "[idl-basename].idl"

// We only support a simple session implementation definition, for
// now.  @@ What is the relation of various names here and the
// generated names we used in the glue code?
composition session [composition name]
{
  home executor [home executor name]
    {
      implement [home name];
      manages [component executor name];
    };
};


// @@ We should also generate somet sort of implementaion template for
// users.  E.g., a set of [idl-basename]_impl.* and the MPC files(?).