summaryrefslogtreecommitdiff
path: root/CIAO/connectors/dds4ccm/tests/UserdataCopyCount/Base/UCC_Test_Base.idl
blob: 1d4896886145da233b95c8ea9c8bba02a58dde30 (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
37
/**
 * @file UCC_Test_Base.idl
 * @author Marcel Smit (msmit@remedy.nl)
 */

#ifndef USERDATA_COPY_COUNT_TEST_BASE_IDL
#define USERDATA_COPY_COUNT_TEST_BASE_IDL

#pragma ndds typesupport "Base/UCC_Test_BaseSupport.h"
#pragma opendds typesupport "Base/UCC_Test_BaseTypeSupportImpl.h"

#pragma DCPS_DATA_TYPE "UCCVariableSizedStructTest"
#pragma DCPS_DATA_KEY "UCCVariableSizedStructTest symbol"

struct UCCVariableSizedStructTest {
  string symbol; //@key
  long x;
  long y;
};

#if defined DDS4CCM_NEEDS_SEQUENCES_DEFINED
typedef sequence<UCCVariableSizedStructTest> UCCVariableSizedStructTestSeq;
#endif

#pragma DCPS_DATA_TYPE "UCCFixedSizedStructTest"

struct UCCFixedSizedStructTest {
  long x;
  long y;
  long z;
};

#if defined DDS4CCM_NEEDS_SEQUENCES_DEFINED
typedef sequence<UCCFixedSizedStructTest> UCCFixedSizedStructTestSeq;
#endif

#endif /* USERDATA_COPY_COUNT_TEST_BASE_IDL */