-
Notifications
You must be signed in to change notification settings - Fork 0
/
exampleSupport.h
74 lines (56 loc) · 1.92 KB
/
exampleSupport.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
/*
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 exampleSupport_1944007738_h
#define exampleSupport_1944007738_h
#include <stdlib.h>
/* Uses */
#include "example.h"
/* Requires */
#include "examplePlugin.h"
/* ========================================================================== */
/**
Uses: T
Defines: TTypeSupport, TDataWriter, TDataReader*/
#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
#ifdef __cplusplus
extern "C" {
#endif
NDDSUSERDllExport extern DDS_ReturnCode_t
my_typeTypeSupport_register_type(
DDS_DomainParticipant* participant,
const char* type_name);
#ifndef RTI_CERT
NDDSUSERDllExport extern DDS_ReturnCode_t
my_typeTypeSupport_unregister_type(
DDS_DomainParticipant* participant,
const char* type_name);
#endif
NDDSUSERDllExport extern const char*
my_typeTypeSupport_get_type_name(void);
NDDSUSERDllExport extern my_type *
my_typeTypeSupport_create_data(void);
#ifndef RTI_CERT
NDDSUSERDllExport extern void
my_typeTypeSupport_delete_data(
my_type *data);
#endif
DDS_DATAWRITER_C(my_typeDataWriter, my_type);
DDS_DATAREADER_C(my_typeDataReader, my_typeSeq, my_type);
#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 /* exampleSupport_1944007738_h */