Path: blob/main/src/traci-server/TraCIServerAPI_LaneArea.h
193674 views
/****************************************************************************/1// Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.dev/sumo2// Copyright (C) 2013-2026 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_LaneArea.h14/// @author Mario Krumnow15/// @author Michael Behrisch16/// @date 15.09.201317///18// APIs for getting/setting areal detector values via TraCI19/****************************************************************************/20#pragma once21#include <config.h>2223#include <foreign/tcpip/storage.h>242526// ===========================================================================27// class declarations28// ===========================================================================29class TraCIServer;303132// ===========================================================================33// class definitions34// ===========================================================================35/**36* @class TraCIServerAPI_AreaDetector37* @brief APIs for getting/setting multi-entry/multi-exit detector values via TraCI38*/39class TraCIServerAPI_LaneArea {40public:41/** @brief Processes a set value command (Command 0xcd: Set AreaDetector Variable)42*43* @param[in] server The TraCI-server-instance which schedules this request44* @param[in] inputStorage The storage to read the command from45* @param[out] outputStorage The storage to write the result to46*/47static bool processSet(TraCIServer& server, tcpip::Storage& inputStorage,48tcpip::Storage& outputStorage);4950private:51/// @brief invalidated copy constructor52TraCIServerAPI_LaneArea(const TraCIServerAPI_LaneArea& s);5354/// @brief invalidated assignment operator55TraCIServerAPI_LaneArea& operator=(const TraCIServerAPI_LaneArea& s);565758};596061