Eclipse SUMO - Simulation of Urban MObility
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
GNEPersonPlanFrame.h
Go to the documentation of this file.
1/****************************************************************************/
2// Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.dev/sumo
3// Copyright (C) 2001-2025 German Aerospace Center (DLR) and others.
4// This program and the accompanying materials are made available under the
5// terms of the Eclipse Public License 2.0 which is available at
6// https://www.eclipse.org/legal/epl-2.0/
7// This Source Code may also be made available under the following Secondary
8// Licenses when the conditions for such availability set forth in the Eclipse
9// Public License 2.0 are satisfied: GNU General Public License, version 2
10// or later which is available at
11// https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html
12// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-or-later
13/****************************************************************************/
18// The Widget for add PersonPlan elements
19/****************************************************************************/
20#pragma once
21#include <config.h>
22
24
25// ===========================================================================
26// class declaration
27// ===========================================================================
28
31class GNEElementTree;
32class GNEPlanCreator;
33class GNEPlanSelector;
34
35// ===========================================================================
36// class definitions
37// ===========================================================================
42
43public:
48 GNEPersonPlanFrame(GNEViewParent* viewParent, GNEViewNet* viewNet);
49
52
54 void show();
55
57 void hide();
58
64
67
70
73
76
79
80protected:
82 void tagSelected();
83
86
88 bool createPath(const bool useLastRoute);
89
90private:
93
96
99
102
105
108};
GNEElementTree * getPersonHierarchy() const
get Person Hierarchy
bool createPath(const bool useLastRoute)
create path
GNEDemandElementSelector * getPersonSelector() const
get person selectors
GNEElementTree * myPersonHierarchy
Person Hierarchy.
~GNEPersonPlanFrame()
Destructor.
GNEPlanSelector * myPlanSelector
personPlan selector
GNEPlanCreator * myPlanCreator
plan Creator
GNEDemandElementSelector * myPersonSelector
Person selectors.
void tagSelected()
Tag selected in GNETagSelector.
bool addPersonPlanElement(const GNEViewNetHelper::ViewObjectsSelector &viewObjects)
add person plan element
GNEAttributesEditor * myPersonPlanAttributesEditor
person plan attributes editor
GNEPlanCreator * getPlanCreator() const
get plan creator module
void demandElementSelected()
selected demand element in DemandElementSelector
void resetSelectedPerson()
reset selected person
GNEPlanCreatorLegend * myPlanCreatorLegend
plan creator legend
GNEPlanSelector * getPlanSelector() const
get personPlan selector
class used to group all variables related with objects under cursor after a click over view
A single child window which contains a view of the simulation area.