/****************************************************************************/1// Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.dev/sumo2// Copyright (C) 2006-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 RODFEdge.h14/// @author Daniel Krajzewicz15/// @author Michael Behrisch16/// @author Yun-Pang Floetteroed17/// @date Thu, 16.03.200618///19// An edge within the DFROUTER20/****************************************************************************/21#pragma once22#include <config.h>2324#include <string>25#include <map>26#include <vector>27#include <router/ROEdge.h>28#include <utils/geom/Position.h>29#include "RODFDetectorFlow.h"303132// ===========================================================================33// class declarations34// ===========================================================================35class ROLane;363738// ===========================================================================39// class definitions40// ===========================================================================41/**42* @class RODFEdge43*/44class RODFEdge : public ROEdge {45public:46/** @brief Constructor47*48* @param[in] id The id of the edge49* @param[in] from The node the edge begins at50* @param[in] to The node the edge ends at51* @param[in] index The numeric id of the edge52*/53RODFEdge(const std::string& id, RONode* from, RONode* to, int index, const int priority, const std::string& type);545556/// @brief Destructor57~RODFEdge();5859void setFlows(const std::vector<FlowDef>& flows);6061const std::vector<FlowDef>& getFlows() const;626364private:65std::vector<FlowDef> myFlows;6667private:68/// @brief Invalidated copy constructor69RODFEdge(const RODFEdge& src);7071/// @brief Invalidated assignment operator72RODFEdge& operator=(const RODFEdge& src);7374};757677