Flair
Framework Libre Air
RangeFinderPlot.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}
14 #ifndef RANGEFINDERPLOT_H
15 #define RANGEFINDERPLOT_H
16 
17 #include <SendData.h>
18 #include <stdint.h>
19 
20 namespace flair {
21 namespace core {
22 class Matrix;
23 }
24 }
25 
26 namespace flair {
27 namespace gui {
28 
29 class LayoutPosition;
30 
37 class RangeFinderPlot : public SendData {
38 public:
60  RangeFinderPlot(const LayoutPosition *position, std::string name,
61  std::string x_name, float xmin, float xmax,
62  std::string y_name, float ymin, float ymax,
63  const core::Matrix *datas, float start_angle,
64  float end_angle, uint32_t nb_samples);
65 
71 
72 private:
80  void CopyDatas(char *buf) const;
81 
87  void ExtraXmlEvent(void){};
88 
89  const core::Matrix *datas;
90 };
91 
92 } // end namespace gui
93 } // end namespace flair
94 
95 #endif // RANGEFINDERPLOT_H
~RangeFinderPlot()
Destructor.
namespace of the flair Framework
Definition: Ahrs.h:19
RangeFinderPlot(const LayoutPosition *position, std::string name, std::string x_name, float xmin, float xmax, std::string y_name, float ymin, float ymax, const core::Matrix *datas, float start_angle, float end_angle, uint32_t nb_samples)
Constructor.
Class displaying a 2D plot on the ground station for laser range finder like Hokuyo.
Definition: RangeFinderPlot.h:37
Class to define a position in a layout on the ground station.
Definition: LayoutPosition.h:28
Abstract class for sending datas to ground station.
Class defining a matrix.
Definition: Matrix.h:31
Abstract class for sending datas to ground station.
Definition: SendData.h:29