/****************************************************************************/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 GNEEvent_FileLoaded.cpp14/// @author Jakob Erdmann15/// @date Feb 201116///17// Event to send when the network has been loaded by GNELoadThread18/****************************************************************************/1920#include "GNEEvent_FileLoaded.h"2122// ===========================================================================23// member method definitions24// ===========================================================================2526GNEEvent_FileLoaded::GNEEvent_FileLoaded(GNEEvent_FileLoaded::Type type, GNENet* net, const std::string& file,27const std::string& settingsFile, const bool viewportFromRegistry) :28GUIEvent(GUIEventType::SIMULATION_LOADED),29myType(type),30myNet(net),31myFile(file),32mySettingsFile(settingsFile),33myViewportFromRegistry(viewportFromRegistry) {34}353637GNEEvent_FileLoaded::~GNEEvent_FileLoaded() {}383940GNEEvent_FileLoaded::Type41GNEEvent_FileLoaded::getType() const {42return myType;43}444546GNENet*47GNEEvent_FileLoaded::getNet() const {48return myNet;49}505152const std::string&53GNEEvent_FileLoaded::getFile() const {54return myFile;55}565758const std::string&59GNEEvent_FileLoaded::getSettingsFile() const {60return mySettingsFile;61}626364bool65GNEEvent_FileLoaded::getViewportFromRegistry() const {66return myViewportFromRegistry;67}6869/****************************************************************************/707172