Path: blob/main/src/netedit/frames/data/GNEEdgeDataFrame.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 GNEEdgeDataFrame.h14/// @author Pablo Alvarez Lopez15/// @date Jan 202016///17// The Widget for add edgeData elements18/****************************************************************************/19#pragma once20#include <config.h>2122#include "GNEGenericDataFrame.h"232425// ===========================================================================26// class definitions27// ===========================================================================28/**29* @class GNEEdgeDataFrame30* The Widget for setting internal attributes of additional elements31*/32class GNEEdgeDataFrame : public GNEGenericDataFrame {3334public:35/**@brief Constructor36* @brief viewParent GNEViewParent in which this GNEFrame is placed37* @brief viewNet viewNet that uses this GNEEdgeDataFrame38*/39GNEEdgeDataFrame(GNEViewParent* viewParent, GNEViewNet* viewNet);4041/// @brief Destructor42~GNEEdgeDataFrame();4344/**@brief add additional element45* @param viewObjects collection of objects under cursor after click over view46* @param mouseButtonKeyPressed key pressed during click47* @return true if additional was successfully added48*/49bool addEdgeData(const GNEViewNetHelper::ViewObjectsSelector& viewObjects, const GNEViewNetHelper::MouseButtonKeyPressed& mouseButtonKeyPressed);5051private:52/// @brief Invalidated copy constructor.53GNEEdgeDataFrame(const GNEEdgeDataFrame&) = delete;5455/// @brief Invalidated assignment operator.56GNEEdgeDataFrame& operator=(const GNEEdgeDataFrame&) = delete;57};5859/****************************************************************************/606162