Mapper  0.9.0
API documentation
Public Slots | Public Member Functions | Static Public Member Functions | List of all members
OpenOrienteering::PowershellPositionSource Class Reference

A Windows position source based on Powershell's access to Windows.Device.Location. More...

#include <powershell_position_source.h>

Inheritance diagram for OpenOrienteering::PowershellPositionSource:
Inheritance graph
[legend]
Collaboration diagram for OpenOrienteering::PowershellPositionSource:
Collaboration graph
[legend]

Public Slots

void startUpdates () override
 
void stopUpdates () override
 
void requestUpdate (int timeout) override
 

Public Member Functions

 PowershellPositionSource (QObject *parent=nullptr)
 Constructs a source with the default Powershell script. More...
 
 PowershellPositionSource (QByteArray &&script, QObject *parent=nullptr)
 Constructs a source with the given Powershell script. More...
 
 PowershellPositionSource (const PowershellPositionSource &)=delete
 
 PowershellPositionSource (PowershellPositionSource &&)=delete
 
PowershellPositionSourceoperator= (const PowershellPositionSource &)=delete
 
PowershellPositionSourceoperator= (PowershellPositionSource &&)=delete
 
 ~PowershellPositionSource () override
 
const QByteArrayscript () const
 Returns the instance's Powershell script. More...
 
QGeoPositionInfoSource::Error error () const override
 
QGeoPositionInfo lastKnownPosition (bool satellite_only) const override
 
PositioningMethods supportedPositioningMethods () const override
 
int minimumUpdateInterval () const override
 

Static Public Member Functions

static QByteArray defaultScript ()
 Returns the default Powershell script. More...
 

Detailed Description

A Windows position source based on Powershell's access to Windows.Device.Location.

See also
QGeoPositionInfoSourceWinRT

Constructor & Destructor Documentation

◆ PowershellPositionSource() [1/4]

OpenOrienteering::PowershellPositionSource::PowershellPositionSource ( QObject parent = nullptr)

Constructs a source with the default Powershell script.

◆ PowershellPositionSource() [2/4]

OpenOrienteering::PowershellPositionSource::PowershellPositionSource ( QByteArray &&  script,
QObject parent = nullptr 
)

Constructs a source with the given Powershell script.

◆ PowershellPositionSource() [3/4]

OpenOrienteering::PowershellPositionSource::PowershellPositionSource ( const PowershellPositionSource )
delete

◆ PowershellPositionSource() [4/4]

OpenOrienteering::PowershellPositionSource::PowershellPositionSource ( PowershellPositionSource &&  )
delete

◆ ~PowershellPositionSource()

OpenOrienteering::PowershellPositionSource::~PowershellPositionSource ( )
override

Member Function Documentation

◆ defaultScript()

QByteArray OpenOrienteering::PowershellPositionSource::defaultScript ( )
static

Returns the default Powershell script.

◆ error()

QGeoPositionInfoSource::Error OpenOrienteering::PowershellPositionSource::error ( ) const
override

◆ lastKnownPosition()

QGeoPositionInfo OpenOrienteering::PowershellPositionSource::lastKnownPosition ( bool  satellite_only) const
override

◆ minimumUpdateInterval()

int OpenOrienteering::PowershellPositionSource::minimumUpdateInterval ( ) const
override

◆ operator=() [1/2]

PowershellPositionSource& OpenOrienteering::PowershellPositionSource::operator= ( const PowershellPositionSource )
delete

◆ operator=() [2/2]

PowershellPositionSource& OpenOrienteering::PowershellPositionSource::operator= ( PowershellPositionSource &&  )
delete

◆ requestUpdate

void OpenOrienteering::PowershellPositionSource::requestUpdate ( int  timeout)
overrideslot

◆ script()

const QByteArray & OpenOrienteering::PowershellPositionSource::script ( ) const

Returns the instance's Powershell script.

◆ startUpdates

void OpenOrienteering::PowershellPositionSource::startUpdates ( )
overrideslot

◆ stopUpdates

void OpenOrienteering::PowershellPositionSource::stopUpdates ( )
overrideslot

◆ supportedPositioningMethods()

QGeoPositionInfoSource::PositioningMethods OpenOrienteering::PowershellPositionSource::supportedPositioningMethods ( ) const
override

The documentation for this class was generated from the following files: