Main MRPT website
>
C++ reference for MRPT 1.9.9
xSens_MT3
cmtf.h
Go to the documentation of this file.
1
/* +------------------------------------------------------------------------+
2
| Mobile Robot Programming Toolkit (MRPT) |
3
| http://www.mrpt.org/ |
4
| |
5
| Copyright (c) 2005-2018, Individual contributors, see AUTHORS file |
6
| See: http://www.mrpt.org/Authors - All rights reserved. |
7
| Released under BSD License. See details in http://www.mrpt.org/License |
8
+------------------------------------------------------------------------+ */
9
#ifndef _CMT_FILE_DEF_H_2007_01_24
10
#define _CMT_FILE_DEF_H_2007_01_24
11
12
#include <stdio.h>
13
#include <cstdint>
14
15
#ifndef _WIN32
16
#include <sys/types.h>
17
#endif
18
19
#ifdef _CMT_STATIC_LIB
20
namespace
xsens
21
{
22
#endif
23
24
#ifdef _WIN32
25
typedef
__int64
CmtFilePos
;
26
#else
27
typedef
off_t
CmtFilePos
;
28
#endif
29
30
#ifdef _CMT_STATIC_LIB
31
}
// end of xsens namespace
32
#endif
33
34
// setFilePos defines
35
#ifdef _WIN32
36
#define CMT_FILEPOS_BEGIN FILE_BEGIN
37
#define CMT_FILEPOS_CURRENT FILE_CURRENT
38
#define CMT_FILEPOS_END FILE_END
39
#else
40
#define CMT_FILEPOS_BEGIN SEEK_SET
41
#define CMT_FILEPOS_CURRENT SEEK_CUR
42
#define CMT_FILEPOS_END SEEK_END
43
#endif
44
45
#endif
CmtFilePos
__int64 CmtFilePos
Definition:
cmtf.h:25
xsens
The namespace of all Xsens software since 2006.
Definition:
cmt1.cpp:95
Page generated by
Doxygen 1.8.17
for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST