Path: blob/main/src/traci-server/TraCIServerAPI_Person.h
193899 views
/****************************************************************************/1// Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.dev/sumo2// Copyright (C) 2001-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_Person.h14/// @author Daniel Krajzewicz15/// @date 26.05.201416///17// APIs for getting/setting person values via TraCI18/****************************************************************************/19#pragma once20#include <config.h>2122#include <foreign/tcpip/storage.h>232425// ===========================================================================26// class declarations27// ===========================================================================28class TraCIServer;293031// ===========================================================================32// class definitions33// ===========================================================================34/**35* @class TraCIServerAPI_Person36* @brief APIs for getting/setting person values via TraCI37*/38class TraCIServerAPI_Person {39public:40/** @brief Processes a set value command (Command 0xce: Change Person State)41*42* @param[in] server The TraCI-server-instance which schedules this request43* @param[in] inputStorage The storage to read the command from44* @param[out] outputStorage The storage to write the result to45*/46static bool processSet(TraCIServer& server, tcpip::Storage& inputStorage,47tcpip::Storage& outputStorage);484950private:51/// @brief invalidated copy constructor52TraCIServerAPI_Person(const TraCIServerAPI_Person& s);5354/// @brief invalidated assignment operator55TraCIServerAPI_Person& operator=(const TraCIServerAPI_Person& s);565758};596061