dRonin
adbada4
dRonin GCS
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Groups
Pages
cacheitemqueue.h
Go to the documentation of this file.
1
13
/*
14
* This program is free software; you can redistribute it and/or modify
15
* it under the terms of the GNU General Public License as published by
16
* the Free Software Foundation; either version 3 of the License, or
17
* (at your option) any later version.
18
*
19
* This program is distributed in the hope that it will be useful, but
20
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
21
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
22
* for more details.
23
*
24
* You should have received a copy of the GNU General Public License along
25
* with this program; if not, see <http://www.gnu.org/licenses/>
26
*/
27
#ifndef CACHEITEMQUEUE_H
28
#define CACHEITEMQUEUE_H
29
30
#include "
maptype.h
"
31
#include "
point.h
"
32
#include <QByteArray>
33
34
35
36
namespace
core {
37
class
CacheItemQueue
38
{
39
public
:
40
CacheItemQueue
(
const
MapType::Types &Type,
const
core::Point
&Pos,
const
QByteArray &Img,
const
int
&Zoom);
41
CacheItemQueue
(){};
42
CacheItemQueue
(
const
CacheItemQueue
&cSource)
43
{
44
img=cSource.img;
45
pos=cSource.pos;
46
type=cSource.type;
47
zoom=cSource.zoom;
48
}
49
CacheItemQueue
&
operator=
(
const
CacheItemQueue
&cSource);
50
bool
operator==
(
const
CacheItemQueue
&cSource);
51
void
SetMapType
(
const
MapType::Types &value);
52
void
SetPosition
(
const
core::Point
&value);
53
void
SetImg
(
const
QByteArray &value);
54
MapType::Types
GetMapType
();
55
core::Point
GetPosition
();
56
QByteArray
GetImg
();
57
int
GetZoom
(){
return
zoom;};
58
void
SetZoom
(
const
int
&value) {zoom=value;};
59
private
:
60
61
62
MapType::Types type;
63
core::Point
pos;
64
QByteArray img;
65
int
zoom;
66
};
67
68
}
69
#endif // CACHEITEMQUEUE_H
core::CacheItemQueue::SetImg
void SetImg(const QByteArray &value)
Definition:
cacheitemqueue.cpp:53
maptype.h
point.h
core::CacheItemQueue::SetMapType
void SetMapType(const MapType::Types &value)
Definition:
cacheitemqueue.cpp:57
core::CacheItemQueue::GetImg
QByteArray GetImg()
Definition:
cacheitemqueue.cpp:40
core::CacheItemQueue::GetPosition
core::Point GetPosition()
Definition:
cacheitemqueue.cpp:49
core::CacheItemQueue::operator=
CacheItemQueue & operator=(const CacheItemQueue &cSource)
Definition:
cacheitemqueue.cpp:66
core::CacheItemQueue
Definition:
cacheitemqueue.h:37
core::CacheItemQueue::operator==
bool operator==(const CacheItemQueue &cSource)
Definition:
cacheitemqueue.cpp:74
core::CacheItemQueue::SetPosition
void SetPosition(const core::Point &value)
Definition:
cacheitemqueue.cpp:61
core::CacheItemQueue::GetMapType
MapType::Types GetMapType()
Definition:
cacheitemqueue.cpp:45
core::CacheItemQueue::GetZoom
int GetZoom()
Definition:
cacheitemqueue.h:57
core::Point
Definition:
point.h:40
core::CacheItemQueue::CacheItemQueue
CacheItemQueue()
Definition:
cacheitemqueue.h:41
core::CacheItemQueue::SetZoom
void SetZoom(const int &value)
Definition:
cacheitemqueue.h:58
core::CacheItemQueue::CacheItemQueue
CacheItemQueue(const CacheItemQueue &cSource)
Definition:
cacheitemqueue.h:42
ground
gcs
src
libs
tlmapcontrol
core
cacheitemqueue.h
Generated by
1.8.6