Marble::PositionProviderPluginInterface

Search for usage in LXR

Marble::PositionProviderPluginInterface Class Referenceabstract

#include <PositionProviderPluginInterface.h>

Inheritance diagram for Marble::PositionProviderPluginInterface:

Public Member Functions

virtual GeoDataAccuracy accuracy () const =0
 
virtual qreal direction () const =0
 
virtual QString error () const
 
virtual void initialize ()=0
 
virtual bool isInitialized () const =0
 
virtual GeoDataCoordinates position () const =0
 
virtual qreal speed () const =0
 
virtual PositionProviderStatus status () const =0
 
virtual QDateTime timestamp () const =0
 
- Public Member Functions inherited from Marble::PluginInterface
virtual QString aboutDataText () const
 
virtual QString copyrightYears () const =0
 
virtual QString description () const =0
 
virtual QIcon icon () const =0
 
virtual QString name () const =0
 
virtual QString nameId () const =0
 
virtual QList< PluginAuthor > pluginAuthors () const =0
 
virtual QString version () const =0
 

Detailed Description

The interface for position provider plugins.

Definition at line 29 of file PositionProviderPluginInterface.h.

Constructor & Destructor Documentation

◆ ~PositionProviderPluginInterface()

Marble::PositionProviderPluginInterface::~PositionProviderPluginInterface ( )
override

Definition at line 11 of file PositionProviderPluginInterface.cpp.

Member Function Documentation

◆ direction()

virtual qreal Marble::PositionProviderPluginInterface::direction ( ) const
pure virtual

Returns the direction in which the gps device is moving.

The direction is an angle (in degrees) clockwise from geographical north

◆ error()

QString Marble::PositionProviderPluginInterface::error ( ) const
virtual

Returns an error string to be presented to the user if the status is PositionProviderStatusError.

For other states, the result value is undefined.

Definition at line 16 of file PositionProviderPluginInterface.cpp.

◆ speed()

virtual qreal Marble::PositionProviderPluginInterface::speed ( ) const
pure virtual

Returns the speed of the gps device in meters per second.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:37:04 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.