Path: blob/main/src/gui/dialogs/GUIDialog_GLObjChooser.h
193728 views
/****************************************************************************/1// Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.dev/sumo2// Copyright (C) 2001-2026 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 GUIDialog_GLObjChooser.h14/// @author Daniel Krajzewicz15/// @author Jakob Erdmann16/// @author Michael Behrisch17/// @date Sept 200218///19// Class for the window that allows to choose a street, junction or vehicle20/****************************************************************************/21#pragma once22#include <config.h>2324#include <utils/gui/windows/GUIDialog_ChooserAbstract.h>252627// ===========================================================================28// class declarations29// ===========================================================================30class GUISUMOViewParent;31class GUIGlChildWindow;32class GUIGlObjectStorage;33class GUIGlObject;343536// ===========================================================================37// class definition38// ===========================================================================39/**40* @class GUIDialog_GLObjChooser41* Instances of this class are windows that display the list of instances42* from a given artifact like vehicles, edges or junctions and allow43* one of their items44*/45class GUIDialog_GLObjChooser : public GUIDialog_ChooserAbstract {464748public:49/** @brief Constructor50* @param[in] SUMOViewParent The calling view (SUMO-GUI)51* @param[in] viewParent The calling view (netedit)52* @param[in] icon The icon to use53* @param[in] title The title to use54* @param[in] glStorage The storage to retrieve ids from55*/56GUIDialog_GLObjChooser(GUISUMOViewParent* SUMOViewParent, int messageId,57FXIcon* icon, const FXString& title, const std::vector<GUIGlID>& ids,58GUIGlObjectStorage& glStorage);5960/// @brief Destructor61virtual ~GUIDialog_GLObjChooser();6263private:64/// @brief SUMO-GUI View parent65GUISUMOViewParent* mySUMOViewParent;66};676869