traci.connection | index /home/delphi/gcc/sumo/tools/traci/connection.py

`# -*- coding: utf-8 -*-
# Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.org/sumo
# Copyright (C) 2008-2022 German Aerospace Center (DLR) and others.
# This program and the accompanying materials are made available under the
# terms of the Eclipse Public License 2.0 which is available at
# https://www.eclipse.org/legal/epl-2.0/
# This Source Code may also be made available under the following Secondary
# Licenses when the conditions for such availability set forth in the Eclipse
# Public License 2.0 are satisfied: GNU General Public License, version 2
# or later which is available at
# https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html
# SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-or-later`

Modules
`` |  |
socket struct | sys traci.constants | warnings |

Classes
`` |  | traci.step.StepManager(builtins.object) Connection
class Connection(traci.step.StepManager)
`` | `Connection(host, port, process, traceFile, traceGetters) Contains the socket, the composed message string together with a list of TraCI commands which are inside.`
| Method resolution order: Connection traci.step.StepManager builtins.object Methods defined here: __init__(self, host, port, process, traceFile, traceGetters) `Initialize self. See help(type(self)) for accurate signature.` close(self, wait=True) getVersion(self) hasGUI(self) load(self, args) `Load a simulation from the given arguments.` setOrder(self, order) simulationStep(self, step=0.0) `Make a simulation step and simulate up to the given second in sim time. If the given value is 0 or absent, exactly one step is performed. Values smaller than or equal to the current sim time result in no action.` Methods inherited from traci.step.StepManager: addStepListener(self, listener) `addStepListener(traci.StepListener) -> int Append the step listener (its step function is called at the end of every call to traci.simulationStep()) Returns the ID assigned to the listener if it was added successfully, None otherwise.` manageStepListeners(self, step) removeStepListener(self, listenerID) `removeStepListener(traci.StepListener) -> bool Remove the step listener from traci's step listener container. Returns True if the listener was removed successfully, False if it wasn't registered.` startTracing(self, traceFile, traceGetters, domains) write(self, method, args='') Data descriptors inherited from traci.step.StepManager: __dict__ `dictionary for instance variables (if defined)` __weakref__ `list of weak references to the object (if defined)`

Data
`` |  | DOMAINS = [<traci._busstop.BusStopDomain object>, <traci._calibrator.CalibratorDomain object>, <traci._chargingstation.ChargingStationDomain object>, <traci._edge.EdgeDomain object>, <traci._gui.GuiDomain object>, <traci._inductionloop.InductionLoopDomain object>, <traci._junction.JunctionDomain object>, <traci._lane.LaneDomain object>, <traci._lanearea.LaneAreaDomain object>, <traci._meandata.MeanDataDomain object>, <traci._multientryexit.MultiEntryExitDomain object>, <traci._overheadwire.OverheadWireDomain object>, <traci._parkingarea.ParkingAreaDomain object>, <traci._person.PersonDomain object>, <traci._poi.PoiDomain object>, <traci._polygon.PolygonDomain object>, <traci._rerouter.RerouterDomain object>, <traci._route.RouteDomain object>, <traci._routeprobe.RouteProbeDomain object>, <traci._simulation.SimulationDomain object>, ...] absolute_import = _Feature((2, 5, 0, 'alpha', 1), (3, 0, 0, 'alpha', 0), 262144) print_function = _Feature((2, 6, 0, 'alpha', 2), (3, 0, 0, 'alpha', 0), 1048576)