GPSPositionMockup class does nothing. More...
#include <gpspositionmockup.h>
Public Member Functions | |
GPSPositionMockup (QObject *parent=0) | |
Constructor. | |
~GPSPositionMockup () | |
Destructor. | |
bool | isRunning () |
Checks if GPS is running. | |
void | lastPosition () |
Informs gps to emit last known position. | |
void | setUpdateInterval (int interval) |
Set GPS update interval. | |
void | setMode (Mode mode, const QString &filePath=0) |
Set GPS mode. | |
void | start () |
Start GPS. | |
void | stop () |
Stop GPS. | |
Private Slots | |
void | update () |
Slot for GPS update request. |
GPSPositionMockup class does nothing.
Class is used when compiling in desktop.
GPSPositionMockup::GPSPositionMockup | ( | QObject * | parent = 0 |
) |
Constructor.
parent | QObject |
bool GPSPositionMockup::isRunning | ( | ) | [virtual] |
Checks if GPS is running.
RETURNS FALSE.
Implements GPSPositionInterface.
void GPSPositionMockup::lastPosition | ( | ) | [virtual] |
void GPSPositionMockup::setMode | ( | Mode | mode, | |
const QString & | filePath = 0 | |||
) | [virtual] |
Set GPS mode.
DOES NOTHING.
mode | GPS mode | |
filePath | file path to NMEA file if simulation mode is used |
Implements GPSPositionInterface.
void GPSPositionMockup::setUpdateInterval | ( | int | interval | ) | [virtual] |
Set GPS update interval.
DOES NOTHING.
Implements GPSPositionInterface.
void GPSPositionMockup::start | ( | ) | [virtual] |
void GPSPositionMockup::stop | ( | ) | [virtual] |
void GPSPositionMockup::update | ( | ) | [private, virtual, slot] |