Path: blob/main/src/netedit/frames/demand/GNERouteDistributionFrame.h
169684 views
/****************************************************************************/1// Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.dev/sumo2// Copyright (C) 2001-2025 German Aerospace Center (DLR) and others.3// This program and the accompanying materials are made available under the4// terms of the Eclipse Public License 2.0 which is available at5// https://www.eclipse.org/legal/epl-2.0/6// This Source Code may also be made available under the following Secondary7// Licenses when the conditions for such availability set forth in the Eclipse8// Public License 2.0 are satisfied: GNU General Public License, version 29// or later which is available at10// https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html11// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-or-later12/****************************************************************************/13/// @file GNERouteDistributionFrame.h14/// @author Pablo Alvarez Lopez15/// @date Jun 202316///17// The Widget for edit route distribution elements18/****************************************************************************/19#pragma once20#include <config.h>2122#include "GNEDistributionFrame.h"2324// ===========================================================================25// class definitions26// ===========================================================================2728class GNERouteDistributionFrame : public GNEFrame {2930public:31/**@brief Constructor32* @brief viewParent GNEViewParent in which this GNEFrame is placed33* @brief viewNet viewNet that uses this GNEFrame34*/35GNERouteDistributionFrame(GNEViewParent* viewParent, GNEViewNet* viewNet);3637/// @brief Destructor38~GNERouteDistributionFrame();3940/// @brief show Frame41void show();4243/// @brief get route distribution selector44GNEDistributionFrame::DistributionSelector* getDistributionSelector() const;4546protected:47/// @brief function called after set a valid attribute in AttributeCreator/AttributeEditor/ParametersEditor/...48void attributeUpdated(SumoXMLAttr attribute);4950private:51/// @brief route editor52GNEDistributionFrame::DistributionEditor* myDistributionEditor = nullptr;5354/// @brief route distribution selector55GNEDistributionFrame::DistributionSelector* myDistributionSelector = nullptr;5657/// @brief distribution attributes editor58GNEAttributesEditor* myAttributesEditor = nullptr;5960/// @brief editor for distribution values61GNEDistributionFrame::DistributionValuesEditor* myDistributionValuesEditor = nullptr;62};636465