이 페이지에서

Qt Sensors 백엔드

Qt Sensors 백엔드는 Qt Sensors API를 플랫폼 서비스 또는 하드웨어 센서에 연결합니다.

개요

QSensor 인스턴스는 백엔드 객체와 통신합니다. 백엔드는 일반적으로 특정 장치용 Qt Sensors 라이브러리와 함께 제공되지만, 타사 백엔드를 사용할 수도 있습니다. 백엔드는 하드웨어와 직접 통신하거나 시스템 서비스와 통신할 수 있습니다. 경우에 따라 다른 센서와 통신할 수도 있습니다. 예를 들어, 가속도계와 통신하여 기기 방향을 파악하는 방향 센서 백엔드가 있습니다.

백엔드 클래스

Sensors API를 통해 센서를 제공하려는 경우, 다음 클래스를 사용해야 합니다.

QSensorBackend

센서 구현

QSensorBackendFactory

QSensorBackend의 인스턴스를 생성합니다.

QSensorChangesInterface

센서 플러그인을 위한 순수 가상 인터페이스

QSensorManager

센서 백엔드의 등록 및 생성을 처리합니다

QSensorPluginInterface

센서 플러그인을 위한 순수 가상 인터페이스

백엔드 주제

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. 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.