Flair
Framework Libre Air
SimuUs.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 SIMUUS_H
14 #define SIMUUS_H
15 
16 #include <IODevice.h>
17 
18 namespace flair {
19 namespace core {
20 class SharedMem;
21 }
22 namespace gui {
23 class SpinBox;
24 }
25 }
26 
27 namespace flair {
28 namespace sensor {
33 class SimuUs : public core::IODevice {
34 public:
45  SimuUs(const core::IODevice *parent, std::string name, uint32_t modelId,uint32_t deviceId);
46 
51  ~SimuUs();
52 
53 protected:
59 
60 private:
68  void UpdateFrom(const core::io_data *data){};
69 
70  std::string ShMemName(uint32_t modelId,uint32_t deviceId);
71  gui::SpinBox *data_rate;
72 };
73 } // end namespace sensor
74 } // end namespace flair
75 #endif // SIMUUS_H
Abstract class for data types.
Definition: io_data.h:94
Abstract class for input/ouput system.
Definition: IODevice.h:45
namespace of the flair Framework
Definition: Ahrs.h:19
core::SharedMem * shmem
SharedMem to access datas.
Definition: SimuUs.h:58
SimuUs(const core::IODevice *parent, std::string name, uint32_t modelId, uint32_t deviceId)
Constructor.
Class displaying a QSpinBox on the ground station.
Definition: SpinBox.h:28
Abstract class for input/ouput system.
~SimuUs()
Destructor.
Class for a simulation UsRangeFinder.
Definition: SimuUs.h:33
Class defining a shared memory.
Definition: SharedMem.h:32