summaryrefslogtreecommitdiff
path: root/CIAO
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2015-04-28 13:12:02 +0200
committerJohnny Willemsen <jwillemsen@remedy.nl>2015-04-28 13:12:02 +0200
commit56091ec04aaa174530b0027ac3f6702869fb13cb (patch)
tree7362d556293888f46a875376767d48cd6be55208 /CIAO
parent80ed354efaa6f59d064ef5ec849ae1ea8d00fc30 (diff)
downloadATCD-56091ec04aaa174530b0027ac3f6702869fb13cb.tar.gz
Use a bounded string to match the RTI DDS UI
* CIAO/connectors/dds4ccm/tutorials/Shapes/Shapes_asm/ports/Shapes_ShapeType_msg.idl:
Diffstat (limited to 'CIAO')
-rwxr-xr-xCIAO/connectors/dds4ccm/tutorials/Shapes/Shapes_asm/ports/Shapes_ShapeType_msg.idl5
1 files changed, 4 insertions, 1 deletions
diff --git a/CIAO/connectors/dds4ccm/tutorials/Shapes/Shapes_asm/ports/Shapes_ShapeType_msg.idl b/CIAO/connectors/dds4ccm/tutorials/Shapes/Shapes_asm/ports/Shapes_ShapeType_msg.idl
index 932d4e3a143..014bef4b7b4 100755
--- a/CIAO/connectors/dds4ccm/tutorials/Shapes/Shapes_asm/ports/Shapes_ShapeType_msg.idl
+++ b/CIAO/connectors/dds4ccm/tutorials/Shapes/Shapes_asm/ports/Shapes_ShapeType_msg.idl
@@ -7,8 +7,11 @@
#pragma DCPS_DATA_TYPE "ShapeType"
#pragma DCPS_DATA_KEY "ShapeType color"
+
+typedef string<128> color_type;
+
struct ShapeType {
- string color; //@key
+ color_type color; //@key
long x;
long y;
long shapesize;