summaryrefslogtreecommitdiff
path: root/modules/CIAO/tests/IDL_Test/Double_Inherited_Component/Inherited_components.idl
blob: 613a7ec6adbe7d5a3c2c2dc1b701dbf721a9d616 (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
46
47
48
49
50
// $Id$

/**
 * @file Inherited_components.idl
 * @author Marcel Smit <msmit@remedy.nl>
 *
*/

#ifndef INHERITED_COMPONENTS_IDL_
#define INHERITED_COMPONENTS_IDL_

#include  <Components.idl>

module connector_test
{
  interface X {
    attribute string X_a;
    void opX ();
  };
  interface Y {
    attribute string Y_a;
    void opY ();
  };
  interface Z {
    attribute string Z_a;
    void opZ ();
  };
    
  component A
  {
    attribute string topic_name_a;
    uses X x_a1;
    provides X x_a2;
  };

  component B : A
  {
    attribute string topic_name_b;
    uses Y y_b1;
    provides Y y_b2;
  };

  component C : B
  {
    attribute string topic_name_c;
    uses Z z_c1;
    provides Z z_c2;
  };
};
#endif