summaryrefslogtreecommitdiff
path: root/TAO/CIAO/tests/CIDL/CodeGen/CodeGen.idl
blob: 0c22cce2c50649ef6e0ca3d639204323c38cde4a (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
//$Id$
#include "Basic.idl"

module Basic
{
  component Base supports Extra::Supernumerary, Extra::Superfluous
  {
    provides  ReadData data_read;
    attribute boolean is_not_necessary;
  };

  component CodeGen : Base
  {
    provides  ReadData data_out;
    uses      ReadData data_in;
    publishes DataAvailable out_avail;
    consumes  DataAvailable in_avail;
    provides  AnalyzeData data_crunch;

    readonly attribute boolean is_necessary;
  };

  home BaseHome supports Extra::Supernumerary manages Base
  {
    void base_do_nothing ();

    factory create_no_base (in long fake_id)
      raises (Extra::NoRhyme);

    finder find_no_base ();

    readonly attribute boolean is_useful;
  };

  home CodeGenHome : BaseHome manages CodeGen
  {
    factory create_no_derived ();

    finder find_no_derived ();

    attribute boolean is_not_useful;

    string do_nothing ();
  };
};