X2 Standard  Version 1.24
Public Member Functions | List of all members
GPSInterface Class Referenceabstract

The GPSInterface allows communcation with a GPS device. More...

#include <gpsinterface.h>

Public Member Functions

virtual bool gpsExists (void)=0
 
virtual int isGPSLinked (bool &)=0
 
virtual int gpsLongitude (double &dLong)=0
 
virtual int gpsLatitude (double &dLat)=0
 
virtual int gpsDate (int &mm, int &dd)=0
 
virtual int gpsTime (int &hh, int &min, double &s)=0
 
virtual int gpsYear (int &yy)=0
 
virtual int gpsTimeZone (int &tz)=0
 

Detailed Description

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.

Member Function Documentation

◆ gpsDate()

virtual int GPSInterface::gpsDate ( int &  mm,
int &  dd 
)
pure virtual

Return the date.

◆ 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

Return the time.

◆ gpsTimeZone()

virtual int GPSInterface::gpsTimeZone ( int &  tz)
pure virtual

Return the timezone.

◆ gpsYear()

virtual int GPSInterface::gpsYear ( int &  yy)
pure virtual

Return the year.

◆ 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:
X2 Examples
(C) Software Bisque, Inc. All rights reserved.