50#define PLUGINWAIT 5000
127 typedef int16_t int16;
128 typedef int32_t int32;
129 typedef long long int64;
131 typedef uint8_t uint8;
132 typedef uint16_t uint16;
133 typedef uint32_t uint32;
134 typedef unsigned long long uint64;
136 typedef float float32;
137 typedef double float64;
139 typedef std::complex<ito::float32> complex64;
140 typedef std::complex<ito::float64> complex128;
163 DateTime(ito::int64 datetimeMuS = 0) : datetime(datetimeMuS), utcOffset(0) {}
165 bool operator ==(
const DateTime &b)
const
167 if (utcOffset == b.utcOffset)
169 return datetime == b.datetime;
172 ito::int64 utcDiffMicroSec = (ito::int64)(b.utcOffset - utcOffset) * 1000000;
173 return datetime + utcDiffMicroSec == b.datetime;
176 bool operator !=(
const DateTime &b)
const
178 return !(*
this == b);
181 bool operator <(
const DateTime &b)
const
183 return !(*
this >= b);
186 bool operator >(
const DateTime &b)
const
188 return !(*
this <= b);
191 bool operator <=(
const DateTime &b)
const
193 if (utcOffset == b.utcOffset)
195 return datetime <= b.datetime;
198 ito::int64 utcDiffMicroSec = (ito::int64)(b.utcOffset - utcOffset) * 1000000;
199 return datetime + utcDiffMicroSec <= b.datetime;
202 bool operator >=(
const DateTime &b)
const
204 if (utcOffset == b.utcOffset)
206 return datetime >= b.datetime;
209 ito::int64 utcDiffMicroSec = (ito::int64)(b.utcOffset - utcOffset) * 1000000;
210 return datetime + utcDiffMicroSec >= b.datetime;
220 TimeDelta(ito::int64 deltaMuS = 0) : delta(deltaMuS) {}
222 bool operator ==(
const TimeDelta &b)
const
224 return delta == b.delta;
227 bool operator !=(
const TimeDelta &b)
const
229 return delta != b.delta;
232 bool operator <(
const TimeDelta &b)
const
234 return delta < b.delta;
237 bool operator >(
const TimeDelta &b)
const
239 return delta > b.delta;
242 bool operator <=(
const TimeDelta &b)
const
244 return delta <= b.delta;
247 bool operator >=(
const TimeDelta &b)
const
249 return delta >= b.delta;
259#define DEPRECATED __attribute__((deprecated))
260#elif defined(_MSC_VER)
261#define DEPRECATED __declspec(deprecated)
263#pragma message("WARNING: You need to implement DEPRECATED for this compiler")
269#define _strdup strdup
271#define _snprintf snprintf
272#define Sleep(TIME) usleep(TIME*1000.0)
278#define vsprintf_s(b,l,f,...) vsprintf(b,f,##__VA_ARGS__);
279#define sprintf_s(b,l,f,...) sprintf(b,f,##__VA_ARGS__);
280#define strcat_s(dest,len,source) strcat(dest,source);
281#define strcpy_s(dest,len,source) strcpy(dest,source);
286#if __cplusplus >= 201103L
Definition typeDefs.h:161
Definition typeDefs.h:143
Definition typeDefs.h:218
Definition apiFunctionsGraph.cpp:40
tPCLPointType
Definition typeDefs.h:109
@ pclXYZNormal
Definition typeDefs.h:114
@ pclXYZ
Definition typeDefs.h:111
@ pclXYZI
Definition typeDefs.h:112
@ pclXYZRGBNormal
Definition typeDefs.h:116
@ pclXYZINormal
Definition typeDefs.h:115
@ pclInvalid
Definition typeDefs.h:110
@ pclXYZRGBA
Definition typeDefs.h:113
tCompareResult
Definition typeDefs.h:67
tStreamMessageType
Definition typeDefs.h:77
tDataType
Definition typeDefs.h:88
@ tTimeDelta
Definition typeDefs.h:101
@ tInt16
Definition typeDefs.h:91
@ tFloat32
Definition typeDefs.h:95
@ tInt8
Definition typeDefs.h:89
@ tComplex128
Definition typeDefs.h:98
@ tInt32
Definition typeDefs.h:93
@ tUInt16
Definition typeDefs.h:92
@ tFloat64
Definition typeDefs.h:96
@ tComplex64
Definition typeDefs.h:97
@ tRGBA32
Definition typeDefs.h:99
@ tDateTime
Definition typeDefs.h:100
@ tUInt8
Definition typeDefs.h:90
@ tUInt32
Definition typeDefs.h:94
tRetValue
Definition typeDefs.h:57
@ retError
Definition typeDefs.h:60
@ retOk
Definition typeDefs.h:58
@ retWarning
Definition typeDefs.h:59