RTI Connext Micro
Version 2.4.1.0
Main Page
RTI Connext Micro Documentation
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
dds_c_tstatus_gen.h
1
/*
2
* FILE: dds_c_tstatus_gen.h - DDS topic module
3
*
4
* (c) Copyright, Real-Time Innovations, 2008-2014.
5
*
6
* All rights reserved.
7
*
8
* No duplications, whole or partial, manual or electronic, may be made
9
* without express written permission. Any such copies, or
10
* revisions thereof, must display this notice unaltered.
11
* This code contains trade secrets of Real-Time Innovations, Inc.
12
*
13
* Modification History
14
* --------------------
15
* 07may2014,as Created
16
*/
17
18
#ifndef dds_c_tstatus_gen_h
19
#define dds_c_tstatus_gen_h
20
21
#ifndef dds_c_common_impl_h
22
#include "
dds_c/dds_c_common_impl.h
"
23
#endif
24
25
#ifdef __cplusplus
26
extern
"C"
27
{
28
#endif
29
30
#ifndef concatenate
31
#define concatenate(A, B) A ## B
32
#endif
33
34
#ifndef T_initialize
35
#define _initialize(T) concatenate(T,_initialize)
36
#define T_initialize _initialize(T)
37
38
#ifndef T_INITIALIZER
39
#define _INITIALIZER(T) concatenate(T,_INITIALIZER)
40
#define T_INITIALIZER _INITIALIZER(T)
41
#endif
42
43
DDS_ReturnCode_t
44
T_initialize(
struct
T *
self
)
45
{
46
struct
T def_val = T_INITIALIZER;
47
if
(
self
== NULL)
48
{
49
return
DDS_RETCODE_BAD_PARAMETER
;
50
}
51
*
self
= def_val;
52
return
DDS_RETCODE_OK
;
53
}
54
#undef T_INITIALIZER
55
#undef T_initialize
56
#undef _initialize
57
#undef _INITIALIZER
58
#endif
/* T_initialize */
59
60
#undef concatenate
61
62
#ifdef __cplusplus
63
}
/* extern "C" */
64
#endif
65
66
#undef dds_c_tstatus_gen_h
67
68
#endif
/* dds_c_tstatus_gen_h */
RTI Connext Micro Version 2.4.1.0
Copyright © Thu Nov 20 2014
Real-Time Innovations, Inc