endpoint C207 radio support
Dependents: mbed_mqtt_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_cellular
Diff: MBEDUbloxGPS.h
- Revision:
- 5:a8fd1fa0f0d0
- Parent:
- 3:6acc6c8143b7
- Child:
- 6:cd2d23300f05
diff -r 0cc421d46a2b -r a8fd1fa0f0d0 MBEDUbloxGPS.h --- a/MBEDUbloxGPS.h Mon Mar 31 05:46:08 2014 +0000 +++ b/MBEDUbloxGPS.h Mon Mar 31 18:47:26 2014 +0000 @@ -22,13 +22,11 @@ // UBLOX pinout support #include "C027.h" - // ErrorHandler support - #include "ErrorHandler.h" + // BaseClass support + #include "BaseClass.h" - class MBEDUbloxGPS { + class MBEDUbloxGPS : public BaseClass { private: - ErrorHandler *m_error_handler; - void *m_endpoint; C027 *m_c027; I2C *m_gps; Thread *m_gps_poll_thread; @@ -37,15 +35,12 @@ public: MBEDUbloxGPS(ErrorHandler *error_handler, void *endpoint); - ~MBEDUbloxGPS(); + virtual ~MBEDUbloxGPS(); void update(); float getLatitude(); float getLongitude(); - - private: - ErrorHandler *logger(); }; #endif // _MBED_UBLOX_GPS_H_