Flair
Framework Libre Air
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:
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
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
Definition: SimuLaser.h:31
core::SharedMem * shmem
SharedMem to access datas.
Definition: SimuLaser.h:57
~SimuLaser()
Destructor.
SimuLaser(const core::IODevice *parent, std::string name, uint32_t modelId, uint32_t deviceId)
Constructor.
Abstract class for a thread.
Class defining a shared memory.
Definition: SharedMem.h:32
Classe generique des telemetres laser.