Flair
Framework Libre Air
SimuCamera.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 SIMUCAMERA_H
14 #define SIMUCAMERA_H
15 
16 #include <IODevice.h>
17 
18 namespace flair {
19  namespace core {
20  class SharedMem;
21  }
22 }
23 
24 namespace flair {
25 namespace sensor {
30 class SimuCamera : public core::IODevice {
31 public:
32 
46  SimuCamera(const core::IODevice *parent, std::string name, uint16_t width,
47  uint16_t height, uint8_t channels, uint32_t modelId,uint32_t deviceId);
48 
53  ~SimuCamera();
54 
55 protected:
61 
62 private:
70  void UpdateFrom(const core::io_data *data){};
71 
72  std::string ShMemName(uint32_t modelId,uint32_t deviceId);
73 
74 };
75 } // end namespace sensor
76 } // end namespace flair
77 #endif // SIMUCAMERA_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: SimuCamera.h:60
Abstract class for input/ouput system.
Class defining a shared memory.
Definition: SharedMem.h:32
SimuCamera(const core::IODevice *parent, std::string name, uint16_t width, uint16_t height, uint8_t channels, uint32_t modelId, uint32_t deviceId)
Constructor.
Class for a simulation camera.
Definition: SimuCamera.h:30