/****************************************************************************/1// Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.dev/sumo2// Copyright (C) 2009-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 TraCIServerAPI_Lane.h14/// @author Daniel Krajzewicz15/// @author Michael Behrisch16/// @author Jakob Erdmann17/// @date 07.05.200918///19// APIs for getting/setting lane values via TraCI20/****************************************************************************/21#pragma once22#include <config.h>2324#include <foreign/tcpip/storage.h>252627// ===========================================================================28// class declarations29// ===========================================================================30class TraCIServer;313233// ===========================================================================34// class definitions35// ===========================================================================36/**37* @class TraCIServerAPI_Lane38* @brief APIs for getting/setting lane values via TraCI39*/40class TraCIServerAPI_Lane {41public:42/** @brief Processes a get value command (Command 0xa3: Get Lane Variable)43*44* @param[in] server The TraCI-server-instance which schedules this request45* @param[in] inputStorage The storage to read the command from46* @param[out] outputStorage The storage to write the result to47*/48static bool processGet(TraCIServer& server, tcpip::Storage& inputStorage,49tcpip::Storage& outputStorage);505152/** @brief Processes a set value command (Command 0xc3: Change Lane State)53*54* @param[in] server The TraCI-server-instance which schedules this request55* @param[in] inputStorage The storage to read the command from56* @param[out] outputStorage The storage to write the result to57*/58static bool processSet(TraCIServer& server, tcpip::Storage& inputStorage,59tcpip::Storage& outputStorage);606162private:63/// @brief invalidated copy constructor64TraCIServerAPI_Lane(const TraCIServerAPI_Lane& s);6566/// @brief invalidated assignment operator67TraCIServerAPI_Lane& operator=(const TraCIServerAPI_Lane& s);686970};717273