/****************************************************************************/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 ROFrame.h14/// @author Daniel Krajzewicz15/// @author Jakob Erdmann16/// @date Sept 200217///18// Sets and checks options for routing19/****************************************************************************/20#pragma once21#include <config.h>222324// ===========================================================================25// class declarations26// ===========================================================================27class OptionsCont;282930// ===========================================================================31// class definitions32// ===========================================================================33/**34* @class ROFrame35* @brief Sets and checks options for routing36*37* Normally, these methods are called from another frame (ROJTRFrame, RODUAFrame)...38*/39class ROFrame {40public:41/** @brief Inserts options used by routing applications into the OptionsCont-singleton42* @param[in] oc The options container to fill43*/44static void fillOptions(OptionsCont& oc, const bool isDUA = false, const bool isMA = false);454647/** @brief Checks whether options are valid48*49* To be valid,50* @arg an output file must be given51* @arg max-alternatives must not be lower than 252*53* @param[in] oc The options container to fill54* @return Whether all needed options are set55* @todo probably, more things should be checked...56*/57static bool checkOptions(OptionsCont& oc);5859};606162