X2 Standard  Version 1.24
gpsinterface.h
1 #ifndef _GPSInterface_H
2 #define _GPSInterface_H
3 
4 #define GPSInterface_Name "com.bisque.TheSkyX.GPSInterface/1.0"
5 
16 {
17 public:
18 
19  virtual ~GPSInterface(){}
20 
21 public:
22  //GPSInterface
24  virtual bool gpsExists(void)=0;
26  virtual int isGPSLinked(bool&)=0;
28  virtual int gpsLongitude( double& dLong )=0;
30  virtual int gpsLatitude( double& dLat )=0;
32  virtual int gpsDate( int& mm, int& dd )=0;
34  virtual int gpsTime( int& hh, int& min, double& s)=0;
36  virtual int gpsYear(int& yy)=0;
38  virtual int gpsTimeZone(int& tz)=0;
39 };
40 
41 #endif
GPSInterface::gpsLongitude
virtual int gpsLongitude(double &dLong)=0
GPSInterface::gpsTimeZone
virtual int gpsTimeZone(int &tz)=0
GPSInterface
The GPSInterface allows communcation with a GPS device.
Definition: gpsinterface.h:16
GPSInterface::isGPSLinked
virtual int isGPSLinked(bool &)=0
GPSInterface::gpsExists
virtual bool gpsExists(void)=0
GPSInterface::gpsDate
virtual int gpsDate(int &mm, int &dd)=0
GPSInterface::gpsTime
virtual int gpsTime(int &hh, int &min, double &s)=0
GPSInterface::gpsLatitude
virtual int gpsLatitude(double &dLat)=0
GPSInterface::gpsYear
virtual int gpsYear(int &yy)=0
X2 Examples
(C) Software Bisque, Inc. All rights reserved.