source: flair-src/trunk/lib/FlairCore/src/LayoutPosition.cpp

Last change on this file was 15, checked in by Bayard Gildas, 7 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
19namespace flair {
20namespace gui {
21
22LayoutPosition::LayoutPosition(const Layout *layout, int16_t row, int16_t col) {
23 this->layout = layout;
24 this->row = row;
25 this->col = col;
26}
27
28LayoutPosition::~LayoutPosition() {}
29
30const Layout *LayoutPosition::getLayout(void) const { return layout; }
31
32int16_t LayoutPosition::Row(void) const { return row; }
33
34int16_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.