/****************************************************************************/1// Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.dev/sumo2// Copyright (C) 2004-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 ROJTREdgeBuilder.h14/// @author Daniel Krajzewicz15/// @author Michael Behrisch16/// @author Yun-Pang Floetteroed17/// @date Tue, 20 Jan 200418///19// Interface for building instances of jtrrouter-edges20/****************************************************************************/21#pragma once22#include <config.h>2324#include <router/ROAbstractEdgeBuilder.h>252627// ===========================================================================28// class declarations29// ===========================================================================30class ROEdge;313233// ===========================================================================34// class definitions35// ===========================================================================36/**37* @class ROJTREdgeBuilder38* @brief Interface for building instances of jtrrouter-edges39*40* This ROAbstractEdgeBuilder implementation builds edges for the jtrrouter41* (instances of ROJTREdge).42*43* @see ROJTREdge44*/45class ROJTREdgeBuilder : public ROAbstractEdgeBuilder {46public:47/// @brief Constructor48ROJTREdgeBuilder();495051/// @brief Destructor52~ROJTREdgeBuilder();535455/// @name Methods inherited from ROAbstractEdgeBuilder56/// @{5758/** @brief Builds an edge with the given name59*60* This implementation builds a ROJTREdge.61*62* @param[in] name The name of the edge63* @param[in] from The node the edge begins at64* @param[in] to The node the edge ends at65* @param[in] priority The edge priority (road class)66* @return A proper instance of the named edge67* @see ROJTREdge68*/69ROEdge* buildEdge(const std::string& name, RONode* from, RONode* to, const int priority, const std::string& type);70/// @}717273};747576