Flair
Framework Libre Air
SimuGps.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 SIMUGPS_H
14 #define SIMUGPS_H
15 
16 #include <Thread.h>
17 #include <Gps.h>
18 
19 namespace flair {
20 namespace core {
21 class FrameworkManager;
22 }
23 }
24 
25 namespace flair {
26 namespace sensor {
31 class SimuGps : public core::Thread, public Gps {
32 public:
43  SimuGps(const core::FrameworkManager *parent, std::string name,
44  Gps::NMEAFlags_t NMEAFlags, uint8_t priority);
45 
50  ~SimuGps();
51 
52 private:
60  void UpdateFrom(const core::io_data *data){};
61 
68  void Run(void);
69 };
70 } // end namespace sensor
71 } // end namespace framewor
72 #endif // SIMUGPS_H
Abstract class for data types.
Definition: io_data.h:77
namespace of the flair Framework
Definition: Ahrs.h:19
Base class for GPS.
Definition: Gps.h:43
~SimuGps()
Destructor.
Class for a simulation GPS.
Definition: SimuGps.h:31
Main class of the Framework library.
Definition: FrameworkManager.h:45
SimuGps(const core::FrameworkManager *parent, std::string name, Gps::NMEAFlags_t NMEAFlags, uint8_t priority)
Constructor.
Abstract class for a thread.
Abstract class for a thread.
Definition: Thread.h:38
NMEAFlags_t
NMEA flags.
Definition: Gps.h:65
Base class for GPS.