Qt Sensors 백엔드
Qt Sensors 백엔드는 Qt Sensors API를 플랫폼 서비스 또는 하드웨어 센서에 연결합니다.
개요
QSensor 인스턴스는 백엔드 객체와 통신합니다. 백엔드는 일반적으로 특정 장치에 대한 Qt Sensors 라이브러리와 함께 제공되지만 타사 백엔드도 사용할 수 있습니다. 백엔드는 하드웨어와 직접 통신하거나 시스템 서비스와 통신할 수 있습니다. 경우에 따라서는 다른 센서와도 통신할 수 있습니다. 예를 들어 가속도계와 통신하여 디바이스의 방향을 결정하는 방향 센서 백엔드를 들 수 있습니다.
백엔드 클래스
센서 API를 통해 센서를 사용할 수 있도록 만드는 경우 사용할 수 있는 클래스는 다음과 같습니다.
센서 구현 | |
QSensorBackend의 인스턴스를 인스턴스화합니다. | |
센서 플러그인에 대한 순수한 가상 인터페이스 | |
센서 백엔드의 등록 및 생성을 처리합니다. | |
센서 플러그인에 대한 순수 가상 인터페이스 |
백엔드 주제
© 2025 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.