Flair
Framework Libre Air
FlairSimulator/src/SimuLaser.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 SIMULASER_H
14 #define SIMULASER_H
15 
16 #include <LaserRangeFinder.h>
17 #include <Thread.h>
18 
19 namespace flair {
20 namespace core {
21 class SharedMem;
22 }
23 }
24 
25 namespace flair {
26 namespace sensor {
31 class SimuLaser : public core::IODevice {
32 public:
33 
44  SimuLaser(const core::IODevice *parent, std::string name, uint32_t modelId,uint32_t deviceId);
45 
50  ~SimuLaser();
51 
52 protected:
57  core::SharedMem *shmem;
58 
59 private:
67  void UpdateFrom(const core::io_data *data){};
68 
69  std::string ShMemName(uint32_t modelId,uint32_t deviceId);
70 };
71 } // end namespace sensor
72 } // end namespace flair
73 #endif // SIMULASER_H
namespace of the flair Framework
Definition: Ahrs.h:19
~SimuLaser()
Destructor.
Abstract class for a thread.
Classe generique des telemetres laser.
SimuLaser(std::string name, uint32_t modelId, uint32_t deviceId, uint8_t priority)
Constructor.
core::SharedMem * shmem
SharedMem to access datas.
Definition: FlairSensorActuator/src/SimuLaser.h:60