summaryrefslogtreecommitdiff
path: root/CIAO/connectors/dds4ccm/tests/OneFile/Single/OneFile_Base.idl
blob: afbaa15e6ce182d30cd6e080938d3d4c0c75ecd2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/**
 * @file OneFile_Base.idl
 * @author Marcel Smit (msmit@remedy.nl)
 */

#ifndef ONEFILE_BASE_IDL_
#define ONEFILE_BASE_IDL_

#pragma ndds typesupport "OneFile_BaseSupport.h"
#pragma opendds typesupport "OneFile_BaseTypeSupportImpl.h"

#pragma DCPS_DATA_TYPE "OneFileTopic"
#pragma DCPS_DATA_KEY "OneFileTopic hello"

struct OneFileTopic {
  string hello; //@key
  long iteration;
};
#if defined DDS4CCM_NEEDS_SEQUENCES_DEFINED
typedef sequence<OneFileTopic> OneFileTopicSeq;
#endif

#endif /* ONEFILE_BASE_IDL_ */