Last change
on this file since 427 was 15, checked in by Bayard Gildas, 9 years ago |
sources reformatted with flair-format-dir script
|
File size:
959 bytes
|
Line | |
---|
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}
|
---|
5 | // created: 2014/12/04
|
---|
6 | // filename: LayoutPosition.cpp
|
---|
7 | //
|
---|
8 | // author: Guillaume Sanahuja
|
---|
9 | // Copyright Heudiasyc UMR UTC/CNRS 7253
|
---|
10 | //
|
---|
11 | // version: $Id: $
|
---|
12 | //
|
---|
13 | // purpose: Class to define a position in a layout on the ground station
|
---|
14 | //
|
---|
15 | //
|
---|
16 | /*********************************************************************/
|
---|
17 | #include "LayoutPosition.h"
|
---|
18 |
|
---|
19 | namespace flair {
|
---|
20 | namespace gui {
|
---|
21 |
|
---|
22 | LayoutPosition::LayoutPosition(const Layout *layout, int16_t row, int16_t col) {
|
---|
23 | this->layout = layout;
|
---|
24 | this->row = row;
|
---|
25 | this->col = col;
|
---|
26 | }
|
---|
27 |
|
---|
28 | LayoutPosition::~LayoutPosition() {}
|
---|
29 |
|
---|
30 | const Layout *LayoutPosition::getLayout(void) const { return layout; }
|
---|
31 |
|
---|
32 | int16_t LayoutPosition::Row(void) const { return row; }
|
---|
33 |
|
---|
34 | int16_t LayoutPosition::Col(void) const { return col; }
|
---|
35 |
|
---|
36 | } // end namespace gui
|
---|
37 | } // end namespace flair
|
---|
Note:
See
TracBrowser
for help on using the repository browser.