MRPT  1.9.9
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-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 XSANALOGINDATA_H
10 #define XSANALOGINDATA_H
11 
12 #include "pstdint.h"
13 
14 /*! \brief Data from analog inputs from sensors. */
16 {
17  uint16_t m_data; /*!< \brief The data */
18 #ifdef __cplusplus
19  /*! \brief Construct a nulled analog data item */
20  inline XsAnalogInData() : m_data(0) {}
21  /*! \brief Construct analog-data with value \a data */
22  inline XsAnalogInData(uint16_t data) : m_data(data) {}
23 #endif
24 };
26 
27 #endif // file guard
unsigned __int16 uint16_t
Definition: rptypes.h:44
uint16_t m_data
The data.
struct XsAnalogInData XsAnalogInData
Data from analog inputs from sensors.
GLsizei GLsizei GLenum GLenum const GLvoid * data
Definition: glext.h:3546



Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: 7d5e6d718 Fri Aug 24 01:51:28 2018 +0200 at lun nov 2 08:35:50 CET 2020