FlightGear next
dds_props.h
Go to the documentation of this file.
1/****************************************************************
2
3 Generated by Eclipse Cyclone DDS IDL to C Translator
4 File name: dds_props.h
5 Source: dds_props.idl
6 Cyclone DDS: V0.7.0
7
8*****************************************************************/
9
10#include "dds/ddsc/dds_public_impl.h"
11
12#ifndef _DDSL_DDS_PROPS_H_
13#define _DDSL_DDS_PROPS_H_
14
15
16#ifdef __cplusplus
17extern "C" {
18#endif
19
20#define FG_DDS_PROP_VERSION 0
21#define FG_DDS_PROP_REQUEST -1
22#define FG_DDS_MODE_READ (0)
23#define FG_DDS_MODE_WRITE (1)
36
37#define FG_propType__alloc() \
38((FG_propType*) dds_alloc (sizeof (FG_propType)));
39
40
41typedef struct FG_propValue
42{
44 union
45 {
46 char Bool;
47 int32_t Int32;
48 int64_t Int64;
49 float Float32;
50 double Float64;
51 char * String;
52 } _u;
54
55#define FG_propValue__alloc() \
56((FG_propValue*) dds_alloc (sizeof (FG_propValue)));
57
58
59typedef struct FG_DDS_prop
60{
61 int32_t id;
62 uint8_t version;
63 char mode;
65 uint8_t guid[16];
67
68extern const dds_topic_descriptor_t FG_DDS_prop_desc;
69
70#define FG_DDS_prop__alloc() \
71((FG_DDS_prop*) dds_alloc (sizeof (FG_DDS_prop)));
72
73#define FG_DDS_prop_free(d,o) \
74dds_sample_free ((d), &FG_DDS_prop_desc, (o))
75
76#ifdef __cplusplus
77}
78#endif
79#endif /* _DDSL_DDS_PROPS_H_ */
const dds_topic_descriptor_t FG_DDS_prop_desc
Definition dds_props.c:36
FG_propType
Definition dds_props.h:25
@ FG_DDS_UNSPECIFIED
Definition dds_props.h:34
@ FG_DDS_LONG
Definition dds_props.h:30
@ FG_DDS_FLOAT
Definition dds_props.h:31
@ FG_DDS_ALIAS
Definition dds_props.h:27
@ FG_DDS_NONE
Definition dds_props.h:26
@ FG_DDS_INT
Definition dds_props.h:29
@ FG_DDS_BOOL
Definition dds_props.h:28
@ FG_DDS_DOUBLE
Definition dds_props.h:32
@ FG_DDS_STRING
Definition dds_props.h:33
FG_propValue val
Definition dds_props.h:64
uint8_t version
Definition dds_props.h:62
uint8_t guid[16]
Definition dds_props.h:65
int32_t id
Definition dds_props.h:61
int32_t Int32
Definition dds_props.h:47
float Float32
Definition dds_props.h:49
char * String
Definition dds_props.h:51
int64_t Int64
Definition dds_props.h:48
FG_propType _d
Definition dds_props.h:43
union FG_propValue::@155153037146116023270074041102065253170142315045 _u
double Float64
Definition dds_props.h:50