blob: b5d399bda3395e52be9f2e6b2e402f231449de4f (
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
|
// $Id$
/**
* @file Shapes_Base.idl
* @author Marcel Smit <msmit@remedy.nl>
*/
#ifndef SHAPES_BASE_IDL
#define SHAPES_BASE_IDL
#pragma ndds typesupport "Base/Shapes_BaseSupport.h"
#pragma opendds typesupport "Base/Shapes_BaseTypeSupportC.h"
#pragma DCPS_DATA_TYPE "ShapeType"
#pragma DCPS_DATA_KEY "ShapeType color"
struct ShapeType {
string color; //@key
long x;
long y;
long shapesize;
};
#pragma DCPS_DATA_TYPE "Attributes"
#pragma DCPS_DATA_KEY "Attributes shape"
#pragma DCPS_DATA_KEY "Attributes color"
struct Attributes {
string shape; //@key
string color; //@key
float speed;
};
typedef sequence<ShapeType> ShapeTypeSeq;
#endif
|