summaryrefslogtreecommitdiff
path: root/CIAO/connectors/dds4ccm/tests/VariousTopicsEvent/Base/VTopic_Base.idl
diff options
context:
space:
mode:
Diffstat (limited to 'CIAO/connectors/dds4ccm/tests/VariousTopicsEvent/Base/VTopic_Base.idl')
-rw-r--r--CIAO/connectors/dds4ccm/tests/VariousTopicsEvent/Base/VTopic_Base.idl56
1 files changed, 27 insertions, 29 deletions
diff --git a/CIAO/connectors/dds4ccm/tests/VariousTopicsEvent/Base/VTopic_Base.idl b/CIAO/connectors/dds4ccm/tests/VariousTopicsEvent/Base/VTopic_Base.idl
index 886f6a47324..2b5ef96e244 100644
--- a/CIAO/connectors/dds4ccm/tests/VariousTopicsEvent/Base/VTopic_Base.idl
+++ b/CIAO/connectors/dds4ccm/tests/VariousTopicsEvent/Base/VTopic_Base.idl
@@ -1,32 +1,30 @@
// $Id$
/**
- * @file VTopic_Base.idl
+ * @file VTopic_Base.idl
* @author Marijke Hengstmengel <mhengstmengel@remedy.nl>
*/
#ifndef VTOPIC_BASE_IDL
#define VTOPIC_BASE_IDL
-#pragma ndds typesupport "Base/VTopic_BaseSupport.h"
-struct TestTopic {
- string key; //@key
- long x;
-};
-
-// String
-struct TopicString {
- string key; //@key
- string x_str;
-};
-
-// Arrays
-struct TopicArray {
- string key; //@key
- octet x_array[5];
- };
+ struct TestTopic {
+ string key; //@key
+ long x;
+ };
+ //string
+ struct TopicString {
+ string key; //@key
+ string x_str;
+ };
+ //arrays
+ struct TopicArray {
+ string key; //@key
+ octet x_array[5];
+ };
+
//unions
/* union X_Union switch (short) {
case 0:
@@ -38,22 +36,22 @@ struct TopicArray {
struct TopicUnion {
string key; //@key
X_Union x_uni;
-
+
};
*/
-struct test {
- short x_test;
- string x_teststr;
-};
-typedef sequence<test> test_seq;
+ struct test {
+ short x_test;
+ string x_teststr;
+ };
+ typedef sequence<test> test_seq;
-// Sequence
-struct TopicSeq {
- string key; //@key
- test_seq x_seq;
-};
+ //sequence
+ struct TopicSeq {
+ string key; //@key
+ test_seq x_seq;
+ };
typedef sequence<TestTopic> TestTopic_Seq;
typedef sequence<TopicString> TopicString_Seq;