VR-Link API Documentation for HLA Evolved
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vlutil
vlMachineTypes.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 1992-2010 VT MAK
3
** All rights reserved.
4
*********************************************************************/
8
#pragma once
9
10
#if VXWORKS
11
#include <vxworks.h>
12
#endif
13
14
#ifndef VLCONFIG_INCLUDED_H_
15
#include "vlConfig.h"
16
#endif
17
#include "
vlVersion.h
"
18
19
/* defined(__cplusplus), not __cplusplus,
20
* because __SUNPRO_CC defines it to be empty */
21
#if DT_HAVE_STD_H && defined(__cplusplus)
22
#include <std.h>
23
#endif
24
25
#include <sys/types.h>
26
30
#define DtBoolean bool
31
35
#define DtFalse false
36
40
#define DtTrue true
41
42
/* Windows requires extra work to export from DLLs */
43
#if DT_NEED_DLL_DECLARATIONS
44
45
#ifdef DT_DLL_MTL
46
#undef DT_DLL_MTL
47
#define DT_DLL_MTL __declspec( dllexport )
48
#else
49
#define DT_DLL_MTL __declspec( dllimport )
50
#endif
51
52
#ifdef DT_DLL_MATRIX
53
#undef DT_DLL_MATRIX
54
#define DT_DLL_MATRIX __declspec( dllexport )
55
#else
56
#define DT_DLL_MATRIX __declspec( dllimport )
57
#endif
58
59
#ifdef DT_DLL_VL
60
#undef DT_DLL_VL
61
#define DT_DLL_VL __declspec( dllexport )
62
#else
63
#define DT_DLL_VL __declspec( dllimport )
64
#endif
65
66
#ifdef DT_DLL_VLPROTIND
67
#undef DT_DLL_VLPROTIND
68
#define DT_DLL_VLPROTIND __declspec( dllexport )
69
#else
70
#define DT_DLL_VLPROTIND __declspec( dllimport )
71
#endif
72
73
#ifdef DT_DLL_NETCOMPAT
74
#undef DT_DLL_NETCOMPAT
75
#define DT_DLL_NETCOMPAT __declspec( dllexport )
76
#else
77
#define DT_DLL_NETCOMPAT __declspec( dllimport )
78
#endif
79
80
#ifdef DT_DLL_VLUTIL
81
#undef DT_DLL_VLUTIL
82
#define DT_DLL_VLUTIL __declspec( dllexport )
83
#else
84
#define DT_DLL_VLUTIL __declspec( dllimport )
85
#endif
86
87
#else
/* Default -- Unix or Win32 static */
88
89
#if defined _WIN32 || defined __CYGWIN__
90
#define DT_DLL_MTL
91
#define DT_DLL_MATRIX
92
#define DT_DLL_VL
93
#define DT_DLL_VLUTIL
94
#define DT_DLL_VLPROTIND
95
#define DT_DLL_NETCOMPAT
96
#else
97
#if __GNUC__ >= 4
98
99
#define DT_DLL_MTL
100
#define DT_DLL_MATRIX
101
#define DT_DLL_VL
102
#define DT_DLL_VLUTIL __attribute__ ((visibility ("default")))
103
#define DT_DLL_VLPROTIND
104
#define DT_DLL_NETCOMPAT
105
#else
106
#define DT_DLL_MTL
107
#define DT_DLL_MATRIX
108
#define DT_DLL_VL
109
#define DT_DLL_VLUTIL
110
#define DT_DLL_VLPROTIND
111
#define DT_DLL_NETCOMPAT
112
#endif
113
#endif
114
115
116
#endif
117
118
#ifdef _WIN32
119
#if __cplusplus
120
extern
"C"
121
{
122
DT_DLL_VLUTIL
int
getopt(
int
argc,
char
** argv,
char
* opts);
123
extern
DT_DLL_VLUTIL
char
* optarg;
124
extern
DT_DLL_VLUTIL
int
optind;
125
extern
DT_DLL_VLUTIL
int
opterr;
126
}
127
#endif //__cplusplus
128
#endif //_WIN32
129
130
#if __cplusplus
131
#ifdef DtUSE_UTILITIES_NAMESPACE
132
namespace
DtUSE_UTILITIES_NAMESPACE
133
{
134
#endif
135
#endif
136
137
typedef
unsigned
char
DtU8
;
138
140
typedef
unsigned
short
DtU16
;
141
142
#if DT_HAVE_64BIT_LONGS
143
145
typedef
unsigned
int
DtU32
;
146
148
typedef
int
DtInt32
;
149
150
#else
151
153
typedef
unsigned
long
DtU32
;
154
156
typedef
long
int
DtInt32
;
157
158
#endif
159
161
#if DT_HAVE_64BIT_LONGS
162
164
typedef
unsigned
long
DtU64
;
165
167
typedef
long
DtInt64
;
168
170
typedef
DtU64
DtMachineSize
;
171
172
#else
173
174
#ifdef _WIN32
175
177
typedef
unsigned
_int64
DtU64
;
178
180
typedef
_int64
DtInt64
;
181
182
#else
183
185
typedef
unsigned
long
long
DtU64
;
186
188
typedef
long
long
DtInt64
;
189
190
#endif
191
192
#if _M_X64
193
194
typedef
DtU64
DtMachineSize
;
195
#else
196
197
typedef
DtU32
DtMachineSize
;
198
#endif
199
200
#endif
201
203
typedef
char
DtInt8
;
204
206
typedef
short
int
DtInt16
;
207
209
typedef
float
DtFloat32
;
210
212
typedef
double
DtFloat64
;
213
215
typedef
DtFloat64
DtReal
;
216
217
#if __cplusplus
218
#ifdef DtUSE_UTILITIES_NAMESPACE
219
}
220
#endif
221
#endif
222
223
Document ID: Generated on Thu Feb 22 04:26:36 EST 2018 from SVN revision 186468
Copyright © 2005-2016 VT MÄK. All Rights Reserved (
www.mak.com
)