39 GNEFrame(viewParent, viewNet,
TL(
"ContainerPlans")) {
70 if ((containers.size() > 0) || (containerFlows.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 container isn't valid."));
127 myViewNet->setStatusBarText(
TL(
"Current selected container plan isn't valid."));
247 myViewNet->getViewParent()->getGNEAppWindows()->isUndoRedoAllowed());
260 myViewNet->getDemandViewOptions().menuCheckShowAllContainerPlans->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
GNEElementTree * myContainerHierarchy
Container Hierarchy.
GNEContainerPlanFrame(GNEViewParent *viewParent, GNEViewNet *viewNet)
Constructor.
GNEElementTree * getContainerHierarchy() const
get Container Hierarchy
GNEDemandElementSelector * getContainerSelector() const
get container selectors
void resetSelectedContainer()
reset selected container
GNEPlanCreator * getPlanCreator() const
get plan creator module
GNEPlanCreatorLegend * myPlanCreatorLegend
plan creator legend
GNEPlanSelector * getPlanSelector() const
get containerPlan selector
void demandElementSelected()
selected demand element in DemandElementSelector
GNEDemandElementSelector * myContainerSelector
Container selectors.
GNEPlanSelector * myPlanSelector
containerPlan selector
~GNEContainerPlanFrame()
Destructor.
bool addContainerPlanElement(const GNEViewNetHelper::ViewObjectsSelector &viewObjects)
add container plan element
GNEAttributesEditor * myContainerPlanAttributesEditor
container plan attributes editor
void tagSelected()
Tag selected in GNETagSelector.
GNEPlanCreator * myPlanCreator
plan Creator
bool createPath(const bool useLastRoute)
create path
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
bool buildContainerPlan(const GNEDemandElement *planTemplate, GNEDemandElement *containerParent, GNEAttributesEditor *containerPlanAttributesEditor, GNEPlanCreator *planCreator, const bool centerAfterCreation)
build container plan
bool isContainer() const
return true if tag correspond to a container element
bool isStoppingPlace() const
additional elements
SumoXMLTag getTag() const
get Tag vinculated with this attribute Property
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.