Qt Sensors バックエンド
Qt Sensors バックエンドは、Qt Sensors API をプラットフォームサービスやハードウェアセンサーに接続する。
概要
QSensor インスタンスはバックエンドオブジェクトと会話する。バックエンドは通常、特定のデバイス用の ライブラリとともに提供されるが、サードパーティのバックエンドを使用することもできる。バックエンドはハードウェアと直接話すこともできるし、システムサービスと話すこともできる。場合によっては、別のセンサーと話すこともできる。例えば、オリエンテーション・センサー・バックエンドは加速度センサーと通信し、デバイスの向きを決定する。Qt Sensors
バックエンドクラス
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.