summaryrefslogtreecommitdiff
path: root/modules/CIAO/tests/CIDL/CodeGen/CodeGen.idl
blob: e14f5fde42eadcfafb8ebc9a913ab34e9d4d6d3d (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 ();
  };
};