summaryrefslogtreecommitdiff
path: root/modules/CIAO/tests/IDL_Test/Double_Inherited_Component/Inherited_components.idl
diff options
context:
space:
mode:
Diffstat (limited to 'modules/CIAO/tests/IDL_Test/Double_Inherited_Component/Inherited_components.idl')
-rw-r--r--modules/CIAO/tests/IDL_Test/Double_Inherited_Component/Inherited_components.idl50
1 files changed, 50 insertions, 0 deletions
diff --git a/modules/CIAO/tests/IDL_Test/Double_Inherited_Component/Inherited_components.idl b/modules/CIAO/tests/IDL_Test/Double_Inherited_Component/Inherited_components.idl
new file mode 100644
index 00000000000..613a7ec6adb
--- /dev/null
+++ b/modules/CIAO/tests/IDL_Test/Double_Inherited_Component/Inherited_components.idl
@@ -0,0 +1,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