Go to the documentation of this file.00001
00002
00003
00004
00005
00006 #ifndef AP_GPS_Auto_h
00007 #define AP_GPS_Auto_h
00008
00009 #include <GPS.h>
00010 #include <FastSerial.h>
00011
00012 class AP_GPS_Auto : public GPS
00013 {
00014 public:
00024 AP_GPS_Auto(FastSerial *port, GPS **gps);
00025
00027 virtual void init(void);
00028
00032 virtual bool read(void);
00033
00034 private:
00036 FastSerial *_FSport;
00037
00040 GPS **_gps;
00041
00044 GPS *_detect(void);
00045
00048 int _getc(void);
00049 };
00050 #endif