QGeoPositionInfoSourceFactory Class

QGeoPositionInfoSourceFactory 클래스는 위치 데이터의 외부 공급자를 위한 플러그인 인터페이스로 사용되는 팩토리 클래스입니다. 더 보기...

헤더: #include <QGeoPositionInfoSourceFactory>
CMake: find_package(Qt6 REQUIRED COMPONENTS Positioning)
target_link_libraries(mytarget PRIVATE Qt6::Positioning)
qmake: QT += positioning

공용 함수

virtual ~QGeoPositionInfoSourceFactory()
virtual QGeoAreaMonitorSource *areaMonitor(QObject *parent, const QVariantMap &parameters) = 0
virtual QGeoPositionInfoSource *positionInfoSource(QObject *parent, const QVariantMap &parameters) = 0
virtual QGeoSatelliteInfoSource *satelliteInfoSource(QObject *parent, const QVariantMap &parameters) = 0

상세 설명

각 팩토리 메서드는 생성된 소스를 구성할 수 있는 매개변수 인수를 받습니다.

멤버 함수 문서

[virtual noexcept] QGeoPositionInfoSourceFactory::~QGeoPositionInfoSourceFactory()

위치 정보 소스 팩토리를 삭제합니다.

[pure virtual] QGeoAreaMonitorSource *QGeoPositionInfoSourceFactory::areaMonitor(QObject *parent, const QVariantMap &parameters)

parent 을 부모로 하고 parameters 을 구성 매개변수로 사용하여 이 플러그인과 연결된 새 QGeoAreaMonitorSource 을 반환합니다. 0을 반환할 수도 있으며, 이 경우 플러그인 로더는 우선순위가 다음으로 높은 팩토리를 사용합니다.

[pure virtual] QGeoPositionInfoSource *QGeoPositionInfoSourceFactory::positionInfoSource(QObject *parent, const QVariantMap &parameters)

parent 을 부모로 하고 parameters 을 구성 매개변수로 사용하여 이 플러그인과 연결된 새 QGeoPositionInfoSource 을 반환합니다. 0을 반환할 수도 있으며, 이 경우 플러그인 로더는 우선순위가 다음으로 높은 팩토리를 사용합니다.

[pure virtual] QGeoSatelliteInfoSource *QGeoPositionInfoSourceFactory::satelliteInfoSource(QObject *parent, const QVariantMap &parameters)

parent 을 부모로 하고 parameters 을 구성 매개변수로 사용하여 이 플러그인과 연결된 새 QGeoSatelliteInfoSource 을 반환합니다. 0을 반환할 수도 있으며, 이 경우 플러그인 로더는 우선순위가 다음으로 높은 팩토리를 사용합니다.

© 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.