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