GPS Library  0.1
GPS driver and NMEA parser
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Macros
I_GPSDriver.h
Go to the documentation of this file.
1 #ifndef __IGPSDRIVER_H__
2 #define __IGPSDRIVER_H__
3 
4 #include <Debug/Debug.h>
5 
6 #include <Memory/Memory.h>
7 #include <sys/types.h>
8 
9 class I_GPSHandler;
10 
12 {
13  public:
14  inline I_GPSDriver(void) { }
15  virtual ~I_GPSDriver() { }
16 
17  virtual int Run(I_GPSHandler & parent) =0;
18  virtual void Wait(uint32_t time) const =0;
19  virtual bool IsValid(void) const =0;
20  virtual bool IsDevice(void) const =0;
21 
22  private:
23  SYS_DEFINE_CLASS_NAME("I_GPSDriver");
24 };
25 
26 typedef MEM::shared_ptr<I_GPSDriver> GPSDriverPtr;
27 
28 #endif /* __IGPSDRIVER_H__ */
29 
30 /* * * * * * * * * * * * * End - of - File * * * * * * * * * * * * * * */