1 /****************************************************************************/
2 // Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.org/sumo
3 // Copyright (C) 2001-2019 German Aerospace Center (DLR) and others.
4 // This program and the accompanying materials
5 // are made available under the terms of the Eclipse Public License v2.0
6 // which accompanies this distribution, and is available at
7 // http://www.eclipse.org/legal/epl-v20.html
8 // SPDX-License-Identifier: EPL-2.0
9 /****************************************************************************/
10 /// @file    GUIGlObjectTypes.h
11 /// @author  Daniel Krajzewicz
12 /// @author  Jakob Erdmann
13 /// @author  Michael Behrisch
14 /// @date    Sept 2002
15 /// @version $Id$
16 ///
17 // A list of object types which may be displayed within the gui
18 // each type has an associated string which will be prefefixed to an object id
19 // when constructing the full name
20 /****************************************************************************/
21 #ifndef GUIGlObjectTypes_h
22 #define GUIGlObjectTypes_h
23 
24 
25 // ===========================================================================
26 // included modules
27 // ===========================================================================
28 #include <config.h>
29 
30 
31 // ===========================================================================
32 // definitions
33 // ===========================================================================
34 /**
35  * ChooseableArtifact
36  * Enumeration to differ to show the list of which artefact
37  * The order is important during the selection of items for displaying their
38  * tooltips; the item with the hightest type value will be chosen.
39  */
40 enum GUIGlObjectType {
41     /// @brief The network - empty
42     GLO_NETWORK = 0,
43     /// @brief reserved GLO type to pack all netElements
44     GLO_NETELEMENT = 1,
45     /// @brief an edge
46     GLO_EDGE = 2,
47     /// @brief a lane
48     GLO_LANE = 3,
49     /// @brief a junction
50     GLO_JUNCTION = 4,
51     /// @brief a tl-logic
52     GLO_CROSSING = 5,
53     /// @brief a connection
54     GLO_CONNECTION = 6,
55     /// @brief a tl-logic
56     GLO_TLLOGIC = 8,
57     /// @brief reserved GLO type to pack all additionals
58     GLO_ADDITIONAL = 100,
59     /// @brief a busStop
60     GLO_BUS_STOP = 101,
61     /// @brief a containerStop
62     GLO_CONTAINER_STOP = 102,
63     /// @brief a chargingStation
64     GLO_CHARGING_STATION = 103,
65     /// @brief a ParkingArea
66     GLO_PARKING_AREA = 104,
67     /// @brief a ParkingSpace
68     GLO_PARKING_SPACE = 105,
69     /// @brief a E1 detector
70     GLO_E1DETECTOR = 106,
71     /// @brief a E1 detector
72     GLO_E1DETECTOR_ME = 107,
73     /// @brief a E1 detector
74     GLO_E1DETECTOR_INSTANT = 108,
75     /// @brief a E2 detector
76     GLO_E2DETECTOR = 109,
77     /// @brief a E3 detector
78     GLO_E3DETECTOR = 110,
79     /// @brief a DetEntry detector
80     GLO_DET_ENTRY = 111,
81     /// @brief a DetExit detector
82     GLO_DET_EXIT = 112,
83     /// @brief a Rerouter
84     GLO_REROUTER = 113,
85     /// @brief a Rerouter
86     GLO_REROUTER_EDGE = 114,
87     /// @brief a Variable Speed Sign
88     GLO_VSS = 115,
89     /// @brief a Calibrator
90     GLO_CALIBRATOR = 116,
91     /// @brief a RouteProbe
92     GLO_ROUTEPROBE = 117,
93     /// @brief a Vaporizer
94     GLO_VAPORIZER = 118,
95     /// @brief a Acces
96     GLO_ACCESS = 119,
97     /// @brief a TAZ
98     GLO_TAZ = 120,
99     /// @brief reserved GLO type to pack shapes
100     GLO_SHAPE = 200,
101     /// @brief a polygon
102     GLO_POLYGON = 201,
103     /// @brief a poi
104     GLO_POI = 202,
105     /// @brief reserved GLO type to pack all RouteElments
106     GLO_ROUTEELEMENT = 300,
107     /// @brief a route
108     GLO_ROUTE = 301,
109     /// @brief a vehicle
110     GLO_VEHICLE = 302,
111     /// @brief a vehicle type
112     GLO_VTYPE = 303,
113     /// @brief a flow
114     GLO_FLOW = 304,
115     /// @brief a trip
116     GLO_TRIP = 305,
117     /// @brief a person
118     GLO_PERSON = 306,
119     /// @brief a container
120     GLO_CONTAINER = 307,
121     /// @brief a stop
122     GLO_STOP = 308,
123     /// @brief empty max
124     GLO_MAX = 2048
125 };
126 
127 #endif
128 
129 /****************************************************************************/
130