Flair
Framework Libre Air
LayoutPosition.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 LAYOUTPOSITION_H
14 #define LAYOUTPOSITION_H
15 
16 #include <stdint.h>
17 
18 namespace flair {
19 namespace gui {
20 class Layout;
21 
29 public:
39  LayoutPosition(const Layout *layout, int16_t row, int16_t col);
40 
46 
52  const Layout *getLayout(void) const;
53 
59  int16_t Row(void) const;
60 
66  int16_t Col(void) const;
67 
68 private:
69  const Layout *layout;
70  int16_t row, col;
71 };
72 
73 } // end namespace gui
74 } // end namespace flair
75 
76 #endif // LAYOUTPOSITION_H
namespace of the flair Framework
Definition: Ahrs.h:19
int16_t Col(void) const
get col
const Layout * getLayout(void) const
get Layout
Abstract class to display a layout on the ground station.
Definition: Layout.h:33
int16_t Row(void) const
get row
~LayoutPosition()
Destructor.
LayoutPosition(const Layout *layout, int16_t row, int16_t col)
Constructor.
Class to define a position in a layout on the ground station.
Definition: LayoutPosition.h:28