39 GNEFrame(viewParent, viewNet,
TL(
"PersonPlans")) {
70 if ((persons.size() > 0) || (personFlows.size() > 0)) {
92 for (
const auto& edge :
myViewNet->getNet()->getAttributeCarriers()->getEdges()) {
93 edge.second->resetCandidateFlags();
96 myViewNet->getViewParent()->getGNEAppWindows()->enableUndoRedoTemporally();
121 myViewNet->setStatusBarText(
TL(
"Current selected person isn't valid."));
127 myViewNet->setStatusBarText(
TL(
"Current selected person plan isn't valid."));
247 myViewNet->getViewParent()->getGNEAppWindows()->isUndoRedoAllowed());
260 myViewNet->getDemandViewOptions().menuCheckShowAllPersonPlans->setChecked(TRUE);
@ SUMO_TAG_ROUTE
description of a route
@ GNE_ATTR_DEMAND_FILE
demand demand file
const GNETagProperties * getTagProperty() const
get tagProperty associated with this Attribute Carrier
GNEViewNet * myViewNet
FOX need this.
virtual void show()
show Frame
virtual void hide()
hide Frame
GNEFrame(GNEViewParent *viewParent, GNEViewNet *viewNet, const std::string &frameLabel)
Constructor.
GNEPathManager * getDemandPathManager()
get demand path manager
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
GNEPersonPlanFrame(GNEViewParent *viewParent, GNEViewNet *viewNet)
Constructor.
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
bool buildPersonPlan(const GNEDemandElement *planTemplate, GNEDemandElement *personParent, GNEAttributesEditor *personPlanAttributesEditor, GNEPlanCreator *planCreator, const bool centerAfterCreation)
build person plan
bool isStoppingPlace() const
additional elements
SumoXMLTag getTag() const
get Tag vinculated with this attribute Property
bool isPerson() const
return true if tag correspond to a person element
class used to group all variables related with objects under cursor after a click over view
GNEAttributeCarrier * getAttributeCarrierFront() const
get front attribute carrier or a pointer to nullptr
const std::vector< GNEDemandElement * > & getDemandElements() const
get vector with Demand Elements
GNETAZ * getTAZFront() const
get front TAZ or a pointer to nullptr
GNELane * getLaneFront() const
get front lane or a pointer to nullptr
GNEAdditional * getAdditionalFront() const
get front additional element or a pointer to nullptr
GNEJunction * getJunctionFront() const
get front junction or a pointer to nullptr
GNEDemandElement * getDemandElementFront() const
get front demand element or a pointer to nullptr
GNENet * getNet() const
get the net object
A single child window which contains a view of the simulation area.