Main MRPT website > C++ reference for MRPT 1.5.6
xsanalogindata.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 XSANALOGINDATA_H
10 #define XSANALOGINDATA_H
11 
12 #include "pstdint.h"
13 
14 /*! \brief Data from analog inputs from sensors. */
16  uint16_t m_data; /*!< \brief The data */
17 #ifdef __cplusplus
18  /*! \brief Construct a nulled analog data item */
19  inline XsAnalogInData() : m_data(0)
20  {}
21 
22  /*! \brief Construct analog-data with value \a data */
23  inline XsAnalogInData(uint16_t data) : m_data(data)
24  {}
25 #endif
26 };
28 
29 #endif // file guard
unsigned __int16 uint16_t
Definition: rptypes.h:46
uint16_t m_data
The data.
struct XsAnalogInData XsAnalogInData
GLint GLenum GLsizei GLint GLsizei const GLvoid * data
Definition: glew.h:1284
Data from analog inputs from sensors.



Page generated by Doxygen 1.8.6 for MRPT 1.5.6 Git: 4c65e84 Tue Apr 24 08:18:17 2018 +0200 at mar abr 24 08:26:17 CEST 2018