summaryrefslogtreecommitdiff
path: root/CIAO/tests/IDL_Test/Reused_Facet_Interface/CodeGen.idl
blob: 7ef82b0ba4e5e64e9f55f3d67663ac1013cc66df (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
#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;
#if !defined (CCM_NOEVENT)
    publishes DataAvailable out_avail;
    consumes  DataAvailable in_avail;
    provides  AnalyzeData data_crunch;
#endif
    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 ();
  };
};