Colin Stearns
/
qcControl
QC Control software
Fork of dgps by
Diff: handle/handleGPS.h
- Revision:
- 9:da906eeac51e
- Parent:
- 8:28b866df62cf
- Child:
- 14:6be57da62283
--- a/handle/handleGPS.h Tue Apr 01 17:58:35 2014 +0000 +++ b/handle/handleGPS.h Thu Apr 03 17:15:29 2014 +0000 @@ -2,10 +2,14 @@ #define _HANDLEGPS_H_ #include "adapt/usb.h" -#include "adapt/camera.h" +#include "adapt/gps.h" +#ifndef _HANDLE_GPS_H_ +#define _HANDLE_GPS_H_ +#include <string> +#include <sstream> class GPSHandle{ private: - GPS gps + GPS gps; bool initialized; /// \brief Setup @@ -14,7 +18,9 @@ bool check(); public: /// \brief Constructor - ImageHandle():initialized(false){} + GPSHandle():initialized(false){} + + void sendGpsCommand(std::string command); //handle incoming com from GPS hardware void handleUpdate(); @@ -22,5 +28,5 @@ /// \brief Run an instance of this void run(); }; - +#endif #endif \ No newline at end of file