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

Last change on this file since 2 was 2, checked in by Sanahuja Guillaume, 6 years ago

flaircore

File size: 976 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
20namespace flair
21{
22namespace gui
23{
24
25LayoutPosition::LayoutPosition(const Layout* layout,int16_t row,int16_t col)
26{
27    this->layout=layout;
28    this->row=row;
29    this->col=col;
30}
31
32LayoutPosition::~LayoutPosition()
33{
34
35}
36
37const Layout* LayoutPosition::getLayout(void) const
38{
39    return layout;
40}
41
42int16_t LayoutPosition::Row(void) const
43{
44    return row;
45}
46
47int16_t LayoutPosition::Col(void) const
48{
49    return col;
50}
51
52} // end namespace gui
53} // end namespace flair
Note: See TracBrowser for help on using the repository browser.