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

Member Function Documentation

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

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.

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-2021 The KDE developers.
Generated on Thu Dec 2 2021 23:11:55 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.