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

Last change on this file since 67 was 15, checked in by Bayard Gildas, 8 years ago

sources reformatted with flair-format-dir script

File size: 959 bytes
RevLine 
[2]1// %flair:license{
[15]2// This file is part of the Flair framework distributed under the
3// CECILL-C License, Version 1.0.
[2]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
[15]19namespace flair {
20namespace gui {
[2]21
[15]22LayoutPosition::LayoutPosition(const Layout *layout, int16_t row, int16_t col) {
23 this->layout = layout;
24 this->row = row;
25 this->col = col;
[2]26}
27
[15]28LayoutPosition::~LayoutPosition() {}
[2]29
[15]30const Layout *LayoutPosition::getLayout(void) const { return layout; }
[2]31
[15]32int16_t LayoutPosition::Row(void) const { return row; }
[2]33
[15]34int16_t LayoutPosition::Col(void) const { return col; }
[2]35
36} // end namespace gui
37} // end namespace flair
Note: See TracBrowser for help on using the repository browser.