/****************************************************************************/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 TraCIServerAPI_POI.h14/// @author Daniel Krajzewicz15/// @author Michael Behrisch16/// @date 07.05.200917///18// APIs for getting/setting POI values via TraCI19/****************************************************************************/20#pragma once21#include <config.h>2223#include "TraCIServer.h"24#include <foreign/tcpip/storage.h>252627// ===========================================================================28// class definitions29// ===========================================================================30/**31* @class TraCIServerAPI_POI32* @brief APIs for getting/setting POI values via TraCI33*/34class TraCIServerAPI_POI {35public:36/** @brief Processes a get value command (Command 0xa7: Get PoI Variable)37*38* @param[in] server The TraCI-server-instance which schedules this request39* @param[in] inputStorage The storage to read the command from40* @param[out] outputStorage The storage to write the result to41*/42static bool processGet(TraCIServer& server, tcpip::Storage& inputStorage,43tcpip::Storage& outputStorage);444546/** @brief Processes a set value command (Command 0xc7: Change PoI State)47*48* @param[in] server The TraCI-server-instance which schedules this request49* @param[in] inputStorage The storage to read the command from50* @param[out] outputStorage The storage to write the result to51*/52static bool processSet(TraCIServer& server, tcpip::Storage& inputStorage,53tcpip::Storage& outputStorage);545556private:57/// @brief invalidated copy constructor58TraCIServerAPI_POI(const TraCIServerAPI_POI& s);5960/// @brief invalidated assignment operator61TraCIServerAPI_POI& operator=(const TraCIServerAPI_POI& s);626364};656667