qtsensors-module.html 16 KB
Newer Older
xuebingbing's avatar
xuebingbing committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qtsensors5.qdoc -->
  <title>Qt Sensors C++ Classes | Qt Sensors 5.11</title>
  <link rel="stylesheet" type="text/css" href="style/offline-simple.css" />
  <script type="text/javascript">
    document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css");
    // loading style sheet breaks anchors that were jumped to before
    // so force jumping to anchor again
    setTimeout(function() {
        var anchor = location.hash;
        // need to jump to different anchor first (e.g. none)
        location.hash = "#";
        setTimeout(function() {
            location.hash = anchor;
        }, 0);
    }, 0);
  </script>
</head>
<body>
<div class="header" id="qtdocheader">
  <div class="main">
    <div class="main-rounded">
      <div class="navigationbar">
        <table><tr>
<td ><a href="../qtdoc/index.html">Qt 5.11</a></td><td ><a href="qtsensors-index.html">Qt Sensors</a></td><td >Qt Sensors C++ Classes</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right">Qt 5.11.2 Reference Documentation</td>
        </tr></table>
      </div>
    </div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="sidebar">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#classes">Classes</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">Qt Sensors C++ Classes</h1>
<span class="subtitle"></span>
<!-- $$$QtSensors-brief -->
<p>Provides classes for reading sensor data. <a href="#details">More...</a></p>
<!-- @@@QtSensors -->
<a name="classes"></a>
<h2 id="classes">Classes</h2>
<div class="table"><table class="annotated">
<tr class="odd topAlign"><td class="tblName"><p><a href="qaccelerometer.html">QAccelerometer</a></p></td><td class="tblDescr"><p>Convenience wrapper around QSensor</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qaccelerometerfilter.html">QAccelerometerFilter</a></p></td><td class="tblDescr"><p>Convenience wrapper around QSensorFilter</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qaccelerometerreading.html">QAccelerometerReading</a></p></td><td class="tblDescr"><p>Reports on linear acceleration along the X, Y and Z axes</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qaltimeter.html">QAltimeter</a></p></td><td class="tblDescr"><p>Convenience wrapper around QSensor</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qaltimeterfilter.html">QAltimeterFilter</a></p></td><td class="tblDescr"><p>Convenience wrapper around QSensorFilter</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qaltimeterreading.html">QAltimeterReading</a></p></td><td class="tblDescr"><p>Holds readings from the altimeter sensor</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qambientlightfilter.html">QAmbientLightFilter</a></p></td><td class="tblDescr"><p>Convenience wrapper around QSensorFilter</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qambientlightreading.html">QAmbientLightReading</a></p></td><td class="tblDescr"><p>Represents one reading from the ambient light sensor</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qambientlightsensor.html">QAmbientLightSensor</a></p></td><td class="tblDescr"><p>Convenience wrapper around QSensor</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qambienttemperaturefilter.html">QAmbientTemperatureFilter</a></p></td><td class="tblDescr"><p>Convenience wrapper around QSensorFilter</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qambienttemperaturereading.html">QAmbientTemperatureReading</a></p></td><td class="tblDescr"><p>Holds readings of the ambient temperature</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qambienttemperaturesensor.html">QAmbientTemperatureSensor</a></p></td><td class="tblDescr"><p>Convenience wrapper around QSensor</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qcompass.html">QCompass</a></p></td><td class="tblDescr"><p>Convenience wrapper around QSensor</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qcompassfilter.html">QCompassFilter</a></p></td><td class="tblDescr"><p>Convenience wrapper around QSensorFilter</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qcompassreading.html">QCompassReading</a></p></td><td class="tblDescr"><p>Represents one reading from a compass</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qdistancefilter.html">QDistanceFilter</a></p></td><td class="tblDescr"><p>Convenience wrapper around QSensorFilter</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qdistancereading.html">QDistanceReading</a></p></td><td class="tblDescr"><p>Holds distance reading in cm from the proximity sensor</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qdistancesensor.html">QDistanceSensor</a></p></td><td class="tblDescr"><p>Convenience wrapper around QSensor</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qgyroscope.html">QGyroscope</a></p></td><td class="tblDescr"><p>Convenience wrapper around QSensor</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qgyroscopefilter.html">QGyroscopeFilter</a></p></td><td class="tblDescr"><p>Convenience wrapper around QSensorFilter</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qgyroscopereading.html">QGyroscopeReading</a></p></td><td class="tblDescr"><p>Represents one reading from the gyroscope sensor</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qholsterfilter.html">QHolsterFilter</a></p></td><td class="tblDescr"><p>Convenience wrapper around QSensorFilter</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qholsterreading.html">QHolsterReading</a></p></td><td class="tblDescr"><p>Holds readings from the holster sensor</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qholstersensor.html">QHolsterSensor</a></p></td><td class="tblDescr"><p>Convenience wrapper around QSensor</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qhumidityfilter.html">QHumidityFilter</a></p></td><td class="tblDescr"><p>Convenience wrapper around QSensorFilter</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qhumidityreading.html">QHumidityReading</a></p></td><td class="tblDescr"><p>Holds readings from the humidity sensor</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qhumiditysensor.html">QHumiditySensor</a></p></td><td class="tblDescr"><p>Convenience wrapper around QSensor</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qirproximityfilter.html">QIRProximityFilter</a></p></td><td class="tblDescr"><p>Convenience wrapper around QSensorFilter</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qirproximityreading.html">QIRProximityReading</a></p></td><td class="tblDescr"><p>Holds readings from the IR proximity sensor</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qirproximitysensor.html">QIRProximitySensor</a></p></td><td class="tblDescr"><p>Convenience wrapper around QSensor</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qlidfilter.html">QLidFilter</a></p></td><td class="tblDescr"><p>Convenience wrapper around QSensorFilter</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qlidreading.html">QLidReading</a></p></td><td class="tblDescr"><p>Holds readings from the Lid sensor</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qlidsensor.html">QLidSensor</a></p></td><td class="tblDescr"><p>Convenience wrapper around QSensor</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qlightfilter.html">QLightFilter</a></p></td><td class="tblDescr"><p>Convenience wrapper around QSensorFilter</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qlightreading.html">QLightReading</a></p></td><td class="tblDescr"><p>Represents one reading from the light sensor</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qlightsensor.html">QLightSensor</a></p></td><td class="tblDescr"><p>Convenience wrapper around QSensor</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qmagnetometer.html">QMagnetometer</a></p></td><td class="tblDescr"><p>Convenience wrapper around QSensor</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qmagnetometerfilter.html">QMagnetometerFilter</a></p></td><td class="tblDescr"><p>Convenience wrapper around QSensorFilter</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qmagnetometerreading.html">QMagnetometerReading</a></p></td><td class="tblDescr"><p>Represents one reading from the magnetometer</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qorientationfilter.html">QOrientationFilter</a></p></td><td class="tblDescr"><p>Convenience wrapper around QSensorFilter</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qorientationreading.html">QOrientationReading</a></p></td><td class="tblDescr"><p>Represents one reading from the orientation sensor</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qorientationsensor.html">QOrientationSensor</a></p></td><td class="tblDescr"><p>Convenience wrapper around QSensor</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qpressurefilter.html">QPressureFilter</a></p></td><td class="tblDescr"><p>Convenience wrapper around QSensorFilter</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qpressurereading.html">QPressureReading</a></p></td><td class="tblDescr"><p>Holds readings from the pressure sensor</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qpressuresensor.html">QPressureSensor</a></p></td><td class="tblDescr"><p>Convenience wrapper around QSensor</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qproximityfilter.html">QProximityFilter</a></p></td><td class="tblDescr"><p>Convenience wrapper around QSensorFilter</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qproximityreading.html">QProximityReading</a></p></td><td class="tblDescr"><p>Represents one reading from the proximity sensor</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qproximitysensor.html">QProximitySensor</a></p></td><td class="tblDescr"><p>Convenience wrapper around QSensor</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qrotationfilter.html">QRotationFilter</a></p></td><td class="tblDescr"><p>Convenience wrapper around QSensorFilter</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qrotationreading.html">QRotationReading</a></p></td><td class="tblDescr"><p>Represents one reading from the rotation sensor</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qrotationsensor.html">QRotationSensor</a></p></td><td class="tblDescr"><p>Convenience wrapper around QSensor</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qsensor.html">QSensor</a></p></td><td class="tblDescr"><p>Represents a single hardware sensor</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qsensorbackend.html">QSensorBackend</a></p></td><td class="tblDescr"><p>Sensor implementation</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qsensorbackendfactory.html">QSensorBackendFactory</a></p></td><td class="tblDescr"><p>Instantiates instances of QSensorBackend</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qsensorchangesinterface.html">QSensorChangesInterface</a></p></td><td class="tblDescr"><p>The pure virtual interface to sensor plugins</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qsensorfilter.html">QSensorFilter</a></p></td><td class="tblDescr"><p>Efficient callback facility for asynchronous notifications of sensor changes</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qsensorgesture.html">QSensorGesture</a></p></td><td class="tblDescr"><p>Represents one or more sensor gesture recognizers</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qsensorgesturemanager.html">QSensorGestureManager</a></p></td><td class="tblDescr"><p>Manages sensor gestures, registers and creates sensor gesture plugins</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qsensorgestureplugininterface.html">QSensorGesturePluginInterface</a></p></td><td class="tblDescr"><p>The pure virtual interface to sensor gesture plugins</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qsensorgesturerecognizer.html">QSensorGestureRecognizer</a></p></td><td class="tblDescr"><p>The base class for a sensor gesture recognizer</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qsensormanager.html">QSensorManager</a></p></td><td class="tblDescr"><p>Handles registration and creation of sensor backends</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qsensorplugininterface.html">QSensorPluginInterface</a></p></td><td class="tblDescr"><p>The pure virtual interface to sensor plugins</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qsensorreading.html">QSensorReading</a></p></td><td class="tblDescr"><p>Holds the readings from the sensor</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qtapfilter.html">QTapFilter</a></p></td><td class="tblDescr"><p>Convenience wrapper around QSensorFilter</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qtapreading.html">QTapReading</a></p></td><td class="tblDescr"><p>Represents one reading from the tap sensor</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qtapsensor.html">QTapSensor</a></p></td><td class="tblDescr"><p>Convenience wrapper around QSensor</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qtiltfilter.html">QTiltFilter</a></p></td><td class="tblDescr"><p>Convenience wrapper around QSensorFilter</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qtiltreading.html">QTiltReading</a></p></td><td class="tblDescr"><p>Holds readings from the tilt sensor</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qtiltsensor.html">QTiltSensor</a></p></td><td class="tblDescr"><p>Convenience wrapper around QSensor</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qoutputrange.html">qoutputrange</a></p></td><td class="tblDescr"><p>Holds the specifics of an output range</p></td></tr>
</table></div>
<!-- $$$QtSensors-description -->
<a name="details"></a>
<div class="descr">
<h2 id="details">Detailed Description</h2>
<p>Mobile devices contain sensor hardware that allow detecting changes in various physical properties of the device itself or its immediate environment. Examples of device properties include the angle at which the device is held, whereas environmental properties include for example the current level of ambient light.</p>
</div>
<!-- @@@QtSensors -->
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</acronym> 2018 The Qt Company Ltd.
   Documentation contributions included herein are the copyrights of
   their respective owners.<br/>    The documentation provided herein is licensed under the terms of the    <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation    License version 1.3</a> as published by the Free Software Foundation.<br/>    Qt and respective logos are trademarks of The Qt Company Ltd.     in Finland and/or other countries worldwide. All other trademarks are property
   of their respective owners. </p>
</div>
</body>
</html>