/****************************************************************************/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 GNESelectorParent.h14/// @author Pablo Alvarez Lopez15/// @date Mar 202216///17// Frame for select parents18/****************************************************************************/19#pragma once20#include <config.h>2122#include <utils/foxtools/MFXGroupBoxModule.h>2324// ===========================================================================25// class declaration26// ===========================================================================2728class GNEFrame;2930// ===========================================================================31// class definitions32// ===========================================================================3334class GNESelectorParent : public MFXGroupBoxModule {3536public:37/// @brief constructor38GNESelectorParent(GNEFrame* frameParent);3940/// @brief destructor41~GNESelectorParent();4243/// @brief get currently parent additional selected44std::string getIdSelected() const;4546/// @brief select manually a element of the list47void setIDSelected(const std::string& id);4849/// @brief Show list of GNESelectorParent Module50void showSelectorParentModule(const std::vector<SumoXMLTag>& parentTags);5152/// @brief hide GNESelectorParent Module53void hideSelectorParentModule();5455/// @brief Refresh list of Additional Parents Module56void refreshSelectorParentModule();5758private:59/// @brief pointer to Frame Parent60GNEFrame* myFrameParent;6162/// @brief current parent additional tag63std::vector<SumoXMLTag> myParentTags;6465/// @brief Label with parent name66FXLabel* myParentsLabel;6768/// @brief List of parents69FXList* myParentsList;70};717273