The Sensors Backend connects the Sensors API to the platform services or hardware sensors.
QSensor instances talk to a backend object. Backends are usually supplied with the QtSensors library for a specific device although third party backends may be used as well. A backend may talk directly to hardware or it may talk to a system service. In some instances it may even talk to another sensor. An example of this is the orientation sensor backend that talks to an accelerometer to determine the orientation.
There are also some topics specific to backend implementors.
If you are making sensors available through the Sensors API, these are the classes to use.
Sensor implementation |
|
Instantiates instances of QSensorBackend |
|
The pure virtual interface to sensor plugins |
|
Handles registration and creation of sensor backends |
|
The pure virtual interface to sensor plugins |
See also Sensors Backend Topics.
© 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners. Privacy Policy
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.