• Main Page
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

/home/jgoppert/Projects/ap/libraries/AP_GPS/AP_GPS_Auto.h

Go to the documentation of this file.
00001 // -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: t -*-
00002 //
00003 // Auto-detecting pseudo-GPS driver
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

Generated for ArduPilot Libraries by doxygen