-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathgconst.h
185 lines (166 loc) · 7.79 KB
/
gconst.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
#ifndef GConst_H
#define GConst_H
class GConst
{
public:
enum CanvasSize {
// xxxxxx cellSize = 9,
callSize = 8
};
/**************************************************************************************/
/**** Z Values ****/
/**************************************************************************************/
// Note that polygon regions use two Z-values, z for polygon and z+1 for edges.
enum ZValue {
clutterZ = 0,
heightZ = 0,
layerZ = 0,
backgroundZ = 0,
mapLayerPolygonZ = 5,
systemBoundaryZ = 10,
selectRegionZ = 20,
connectionZ = 25,
cellZ = 30,
roadTestZ = 40,
cellTextZ = 45
};
/**************************************************************************************/
/**************************************************************************************/
/**** RTTI Values ****/
/**************************************************************************************/
enum RTTIValue {
cellRTTI = 2000,
polygonBoundarySegmentRTTI = 2003,
polygonRegionRTTI = 2004,
systemBoundaryRTTI = 2005,
callConnectionRTTI = 2008,
rulerLineClassRTTI = 2009,
rulerPtClassRTTI = 2010,
backgroundPixmapRTTI = 2011,
mapClutterRTTI = 2012,
mapHeightRTTI = 2013,
mapLayerRTTI = 2014,
mapBackgroundRTTI = 2015,
coverageTopRTTI = 2016,
coverageRTTI = 2017,
roadTestDataRTTI = 2018,
cellTextRTTI = 2019,
visibilityItemRTTI = 2020,
visibilityCheckItemRTTI = 2021,
trafficRTTI = 2022,
subnetRTTI = 2023,
antennaRTTI = 2024,
clutterPropModelRTTI = 2025
};
/**************************************************************************************/
/**************************************************************************************/
/**** Mouse modes ****/
/**************************************************************************************/
enum MouseMode {
selectMode,
toggleNoiseMode,
zoomMode,
addCellMode,
addRoadTestDataMode,
measPathMode,
scrollMode,
drawPolygonMode,
moveCellMode,
copyCellMode,
trackCellMode,
trackSubnetMode,
trackMapLayerPolygonMode,
trackRoadTestDataMode,
trackSignalLevelMode,
trackClutterMode,
trackClutterPropModelMode,
ModClutterCoeff,
rulerStartMode,
rulerMeasMode,
// xxxxxxxxxxxxx selectGroupMode,
powerMeterMode
};
/**************************************************************************************/
/**************************************************************************************/
/**** Application actions ****/
/**************************************************************************************/
enum ApplicationAction {
geometryClose,
applicationQuit
};
/**************************************************************************************/
/**************************************************************************************/
/**** Mouse actions ****/
/**************************************************************************************/
enum MouseAction {
mousePress = 1,
mouseMove = 2,
mouseRelease = 3,
mouseDoubleClick = 4
};
/**************************************************************************************/
/**************************************************************************************/
/**** Visibility actions ****/
/**************************************************************************************/
enum VisibilityAction {
visHide = 0,
visShow = 1,
visToggle = 2
};
/**************************************************************************************/
/**************************************************************************************/
/**** File / Report Types ****/
/**************************************************************************************/
enum FileType {
geometryFile,
mapLayerFile,
mapClutterFile,
clutterPropModelFile,
mapHeightFile,
roadTestDataFile,
coverageAnalysisFile,
cchRSSITableFile,
mapBackgroundTabFile,
imageRegistrationFile,
BMPFile,
JPGFile,
handoverFile,
statisticsReport,
coverageReport,
coveragePlot,
subnetReport,
propagationErrorReport,
propagationParamReport,
settingsReport
};
/**************************************************************************************/
/**************************************************************************************/
/**** Unit Types ****/
/**************************************************************************************/
enum UnitType {
wattUnit,
milliWattUnit,
dBWUnit,
dBmUnit,
dBuVUnit
};
/**************************************************************************************/
/**************************************************************************************/
/**** Window Types ****/
/**************************************************************************************/
enum WindowType {
commandWindow,
visibilityWindow,
infoWindow
};
/**************************************************************************************/
/**************************************************************************************/
/**** PropModMgrDia states ****/
/**************************************************************************************/
enum PropModMgrDiaState {
editState,
viewState
};
/**************************************************************************************/
};
#endif