summaryrefslogtreecommitdiff
path: root/CIAO/connectors/dds4ccm/tests/OneFile/Multiple/OFM_Connector.idl
diff options
context:
space:
mode:
authormsmit <msmit@remedy.nl>2010-05-18 12:14:08 +0000
committermsmit <msmit@remedy.nl>2010-05-18 12:14:08 +0000
commit0351f865c388a7b1899d6c85bbd60ca9de0429b5 (patch)
tree27725a121a5bc7138ce40ce436c5d91fec40e0b0 /CIAO/connectors/dds4ccm/tests/OneFile/Multiple/OFM_Connector.idl
parent87d6c3d1a6c3efc474cf1b0909a786349fa966ee (diff)
downloadATCD-0351f865c388a7b1899d6c85bbd60ca9de0429b5.tar.gz
Tue May 18 12:10:06 UTC 2010 Marcel Smit <msmit@remedy.nl>
* connectors/dds4ccm/tests/OneFile: * connectors/dds4ccm/tests/OneFile/Multiple: * connectors/dds4ccm/tests/OneFile/Multiple/OFM_Connector.idl: * connectors/dds4ccm/tests/OneFile/Multiple/OFM_Connector.mpc: * connectors/dds4ccm/tests/OneFile/Single: * connectors/dds4ccm/tests/OneFile/Single/OneFile_Connector.idl: * connectors/dds4ccm/tests/OneFile/Single/OneFile_Connector.mpc: Added compilation tests which tests whether the declaration of a topic and a connector in one single IDL file compiles correctly.
Diffstat (limited to 'CIAO/connectors/dds4ccm/tests/OneFile/Multiple/OFM_Connector.idl')
-rw-r--r--CIAO/connectors/dds4ccm/tests/OneFile/Multiple/OFM_Connector.idl36
1 files changed, 36 insertions, 0 deletions
diff --git a/CIAO/connectors/dds4ccm/tests/OneFile/Multiple/OFM_Connector.idl b/CIAO/connectors/dds4ccm/tests/OneFile/Multiple/OFM_Connector.idl
new file mode 100644
index 00000000000..709b9e2c465
--- /dev/null
+++ b/CIAO/connectors/dds4ccm/tests/OneFile/Multiple/OFM_Connector.idl
@@ -0,0 +1,36 @@
+// $Id$
+
+#ifndef OFM_CONNECTOR_IDL
+#define OFM_CONNECTOR_IDL
+
+#if defined __TAO_IDL
+#include "connectors/dds4ccm/idl/ccm_dds.idl"
+#endif
+
+#pragma ndds typesupport "OFM_ConnectorSupport.h"
+#pragma ciao lem "OFM_ConnectorE.idl"
+
+struct Topic1 {
+ string key_value_topic1; //@key
+ long long_value;
+};
+typedef sequence<Topic1> Topic1Seq;
+
+
+struct Topic2 {
+ string key_value_topic2; //@key
+ float float_value;
+};
+typedef sequence<Topic2> Topic2Seq;
+
+struct Topic3 {
+ string key_value_topic3; //@key
+ short short_value;
+};
+typedef sequence<Topic3> Topic3Seq;
+
+module ::CCM_DDS::Typed < ::Topic1, ::Topic1Seq> Topic1Connector;
+module ::CCM_DDS::Typed < ::Topic2, ::Topic2Seq> Topic2Connector;
+module ::CCM_DDS::Typed < ::Topic3, ::Topic3Seq> Topic3Connector;
+
+#endif