Flair
Framework Libre Air
FlairSimulator/src/SimuUs.h
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:
58  core::SharedMem *shmem;
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
namespace of the flair Framework
Definition: Ahrs.h:19
Abstract class for input/ouput system.
~SimuUs()
Destructor.
core::SharedMem * shmem
SharedMem to access datas.
Definition: FlairSensorActuator/src/SimuUs.h:61
SimuUs(std::string name, uint32_t modelId, uint32_t deviceId, uint8_t priority)
Constructor.