Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

Qt Sensors Backend

The Qt Sensors backend connects the Qt Sensors API to the platform services or hardware sensors.

Overview

QSensor instances talk to a backend object. Backends are usually supplied with the Qt Sensors library for a specific device, although third-party backends may be used as well. A backend can talk directly to hardware, or it can talk to a system service. In some instances it can even talk to another sensor. An example of this is the orientation sensor backend that talks to an accelerometer to determine the device orientation.

Backend Classes

If you are making sensors available through the Sensors API, these are the classes to use.

QSensorBackend

Sensor implementation

QSensorBackendFactory

Instantiates instances of QSensorBackend

QSensorChangesInterface

The pure virtual interface to sensor plugins

QSensorManager

Handles registration and creation of sensor backends

QSensorPluginInterface

The pure virtual interface to sensor plugins

Backend Topics

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded