Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
TraCIServerAPI_Junction.h
Go to the documentation of this file.
1/****************************************************************************/
2// Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.dev/sumo
3// Copyright (C) 2001-2024 German Aerospace Center (DLR) and others.
4// This program and the accompanying materials are made available under the
5// terms of the Eclipse Public License 2.0 which is available at
6// https://www.eclipse.org/legal/epl-2.0/
7// This Source Code may also be made available under the following Secondary
8// Licenses when the conditions for such availability set forth in the Eclipse
9// Public License 2.0 are satisfied: GNU General Public License, version 2
10// or later which is available at
11// https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html
12// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-or-later
13/****************************************************************************/
19// APIs for getting/setting junction values via TraCI
20/****************************************************************************/
21#pragma once
22#include <config.h>
23
25
26
27// ===========================================================================
28// class declarations
29// ===========================================================================
30class TraCIServer;
31class Position;
32class NamedRTree;
33
34
35// ===========================================================================
36// class definitions
37// ===========================================================================
43public:
50 static bool processGet(TraCIServer& server, tcpip::Storage& inputStorage,
51 tcpip::Storage& outputStorage);
52
59 static bool processSet(TraCIServer& server, tcpip::Storage& inputStorage,
60 tcpip::Storage& outputStorage);
61
62private:
65
68};
A RT-tree for efficient storing of SUMO's Named objects.
Definition NamedRTree.h:61
A point in 2D or 3D with translation and scaling methods.
Definition Position.h:37
APIs for getting/setting junction values via TraCI.
static bool processSet(TraCIServer &server, tcpip::Storage &inputStorage, tcpip::Storage &outputStorage)
Processes a set value command (Command 0xc9: Set Junction Variable)
TraCIServerAPI_Junction(const TraCIServerAPI_Junction &s)
invalidated copy constructor
TraCIServerAPI_Junction & operator=(const TraCIServerAPI_Junction &s)
invalidated assignment operator
static bool processGet(TraCIServer &server, tcpip::Storage &inputStorage, tcpip::Storage &outputStorage)
Processes a get value command (Command 0xa9: Get Junction Variable)
TraCI server used to control sumo by a remote TraCI client.
Definition TraCIServer.h:59