Main MRPT website > C++ reference for MRPT 1.9.9
xsrssi.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-2017, 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 XSRSSI_H
10 #define XSRSSI_H
11 
12 #include "xstypesconfig.h"
13 
14 #define XS_RSSI_MAX (128)
15 #define XS_RSSI_UNKNOWN (-XS_RSSI_MAX)
16 
17 #ifdef __cplusplus
18 extern "C" {
19 #endif
20 
23 XSTYPES_DLL_API int XsRssi_unbiased(int raw);
24 
25 #ifdef __cplusplus
26 } // extern "C"
27 namespace XsRssi
28 {
29 /*! \brief The maximum RSSI value. */
30 static const int max = XS_RSSI_MAX;
31 /*! \brief The RSSI value that was reserved for when the RSSI is unknown. */
32 static const int unknown = XS_RSSI_UNKNOWN;
33 /*! \copydoc XsRssi_unbiased */
34 inline int unbiased(int raw) { return XsRssi_unbiased(raw); }
35 }
36 #endif
37 
38 #endif // file guard
XSTYPES_DLL_API int XsRssi_unknown()
#define XS_RSSI_MAX
Definition: xsrssi.h:14
#define XS_RSSI_UNKNOWN
Definition: xsrssi.h:15
#define XSTYPES_DLL_API
Definition: xstypesconfig.h:9
XSTYPES_DLL_API int XsRssi_unbiased(int raw)
XSTYPES_DLL_API int XsRssi_max()



Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: ae4571287 Thu Nov 23 00:06:53 2017 +0100 at dom oct 27 23:51:55 CET 2019