Flair
Framework Libre Air
Mb800.h
Go to the documentation of this file.
1 // %flair:license{
2 // This file is part of the Flair framework distributed under the
3 // CECILL-C License, Version 1.0.
4 // %flair:license}
13 #ifndef MB800_H
14 #define MB800_H
15 
16 #include <Thread.h>
17 #include <NmeaGps.h>
18 
19 namespace flair {
20 namespace core {
21 class SerialPort;
22 }
23 }
24 
25 namespace flair {
26 namespace sensor {
31 class Mb800 : public core::Thread, public NmeaGps {
32 public:
44  Mb800(std::string name,
45  core::SerialPort *serialport, NmeaGps::NMEAFlags_t NMEAFlags,
46  uint8_t priority);
47 
52  ~Mb800();
53 
54 private:
62  void UpdateFrom(const core::io_data *data){};
63 
70  void Run(void);
71 
72  void Sync(void);
73  core::SerialPort *serialport;
74 };
75 } // end namespace sensor
76 } // end namespace flair
77 #endif // MB800_H
Abstract class for data types.
Definition: io_data.h:94
Mb800(std::string name, core::SerialPort *serialport, NmeaGps::NMEAFlags_t NMEAFlags, uint8_t priority)
Constructor.
namespace of the flair Framework
Definition: Ahrs.h:19
Base class for GPS using NMEA sentances.
Base class for GPS using NMEA sentances.
Definition: NmeaGps.h:45
Base class for serial port.
Definition: SerialPort.h:25
NMEAFlags_t
NMEA flags.
Definition: NmeaGps.h:51
Abstract class for a thread.
Abstract class for a thread.
Definition: Thread.h:38
~Mb800()
Destructor.
Class for mb800 gps receiver.
Definition: Mb800.h:31