The GPSInterface allows communcation with a GPS device.
More...
#include <gpsinterface.h>
The GPSInterface allows communcation with a GPS device.
This interface is optional. At this time TheSkyX only queries mounts for implementation of this interface. In the future, other devices may be queried for implementation of this interface if and when GPS services ever exist on these devices.
◆ gpsDate()
virtual int GPSInterface::gpsDate |
( |
int & |
mm, |
|
|
int & |
dd |
|
) |
| |
|
pure virtual |
◆ gpsExists()
virtual bool GPSInterface::gpsExists |
( |
void |
| ) |
|
|
pure virtual |
Return true if the GPS exists and is present.
◆ gpsLatitude()
virtual int GPSInterface::gpsLatitude |
( |
double & |
dLat | ) |
|
|
pure virtual |
Return the latitude in degrees.
◆ gpsLongitude()
virtual int GPSInterface::gpsLongitude |
( |
double & |
dLong | ) |
|
|
pure virtual |
Return the longitude in degrees.
◆ gpsTime()
virtual int GPSInterface::gpsTime |
( |
int & |
hh, |
|
|
int & |
min, |
|
|
double & |
s |
|
) |
| |
|
pure virtual |
◆ gpsTimeZone()
virtual int GPSInterface::gpsTimeZone |
( |
int & |
tz | ) |
|
|
pure virtual |
◆ gpsYear()
virtual int GPSInterface::gpsYear |
( |
int & |
yy | ) |
|
|
pure virtual |
◆ isGPSLinked()
virtual int GPSInterface::isGPSLinked |
( |
bool & |
| ) |
|
|
pure virtual |
Return true if the GPS is connected (linked).
The documentation for this class was generated from the following file: