-
Notifications
You must be signed in to change notification settings - Fork 0
/
example.h
81 lines (60 loc) · 1.9 KB
/
example.h
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
/*
WARNING: THIS FILE IS AUTO-GENERATED. DO NOT MODIFY.
This file was generated from example.idl using "rtiddsgen".
The rtiddsgen tool is part of the RTI Data Distribution Service distribution.
For more information, type 'rtiddsgen -help' at a command shell
or consult the RTI Data Distribution Service manual.
*/
#ifndef example_1944007738_h
#define example_1944007738_h
#ifndef rti_me_c_h
#include "rti_me_c.h"
#endif
#if (defined(RTI_WIN32) || defined(RTI_WINCE)) && defined(NDDS_USER_DLL_EXPORT)
/* If the code is building on Windows, start exporting symbols. */
#undef NDDSUSERDllExport
#define NDDSUSERDllExport __declspec(dllexport)
#endif
#define my_topic_name ("my_topic")
typedef struct my_type
{
CDR_Long id;
CDR_String msg;
} my_type ;
NDDSUSERDllExport extern const char *my_typeTYPENAME;
#define REDA_SEQUENCE_USER_API
#define T my_type
#define TSeq my_typeSeq
#define REDA_SEQUENCE_EXCLUDE_C_METHODS
#define REDA_SEQUENCE_USER_CPP
#include <reda/reda_sequence_decl.h>
#ifdef __cplusplus
extern "C" {
#endif
#define REDA_SEQUENCE_USER_API
#define T my_type
#define TSeq my_typeSeq
#define REDA_SEQUENCE_EXCLUDE_STRUCT
#define REDA_SEQUENCE_USER_CPP
#include <reda/reda_sequence_decl.h>
NDDSUSERDllExport extern RTI_BOOL
my_type_initialize(my_type* sample);
NDDSUSERDllExport extern my_type*
my_type_create(void);
#ifndef RTI_CERT
NDDSUSERDllExport extern RTI_BOOL
my_type_finalize(my_type* sample);
NDDSUSERDllExport extern void
my_type_delete(my_type* sample);
#endif
NDDSUSERDllExport extern RTI_BOOL
my_type_copy(my_type* dst, const my_type* src);
#ifdef __cplusplus
} /* extern "C" */
#endif
#if (defined(RTI_WIN32) || defined(RTI_WINCE)) && defined(NDDS_USER_DLL_EXPORT)
/* If the code is building on Windows, stop exporting symbols. */
#undef NDDSUSERDllExport
#define NDDSUSERDllExport
#endif
#endif /* example */