traci
index
/build/buildd/sumo-0.15.0~dfsg/tools/traci/__init__.py

@file    __init__.py
@author  Michael Behrisch
@author  Lena Kalleske
@date    2008-10-09
@version $Id: __init__.py 11671 2012-01-07 20:14:30Z behrisch $
 
Python implementation of the TraCI interface.
 
SUMO, Simulation of Urban MObility; see http://sumo.sourceforge.net/
Copyright (C) 2008-2012 DLR (http://www.dlr.de/) and contributors
All rights reserved

 
Package Contents
       
constants
edge
gui
inductionloop
junction
lane
multientryexit
poi
polygon
rebuildConstants
route
simulation
traciControl
traciToHex
traciconstants
trafficlights
vehicle
vehicletype

 
Classes
       
exceptions.Exception(exceptions.BaseException)
FatalTraCIError
Message
Storage

 
class FatalTraCIError(exceptions.Exception)
    Exception class for all TraCI errors
 
 
Method resolution order:
FatalTraCIError
exceptions.Exception
exceptions.BaseException
__builtin__.object

Methods defined here:
__init__(self, desc)

Data descriptors defined here:
__weakref__
list of weak references to the object (if defined)

Data and other attributes inherited from exceptions.Exception:
__new__ = <built-in method __new__ of type object>
T.__new__(S, ...) -> a new object with type S, a subtype of T

Methods inherited from exceptions.BaseException:
__delattr__(...)
x.__delattr__('name') <==> del x.name
__getattribute__(...)
x.__getattribute__('name') <==> x.name
__getitem__(...)
x.__getitem__(y) <==> x[y]
__getslice__(...)
x.__getslice__(i, j) <==> x[i:j]
 
Use of negative indices is not supported.
__reduce__(...)
__repr__(...)
x.__repr__() <==> repr(x)
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value
__setstate__(...)
__str__(...)
x.__str__() <==> str(x)
__unicode__(...)

Data descriptors inherited from exceptions.BaseException:
__dict__
args
message

 
class Message
    A named tuple for internal usage.
 
Simple "struct" for the composed message string
together with a list of TraCI commands which are inside.
 
  Data and other attributes defined here:
queue = []
string = ''

 
class Storage
     Methods defined here:
__init__(self, content)
read(self, format)
readDouble(self)
readInt(self)
readLength(self)
readShape(self)
readString(self)
readStringList(self)
ready(self)

 
Functions
       
close()
getVersion()
init(port=8813, numRetries=10, host='localhost', label='default')
isEmbedded()
simulationStep(step=0)
Make simulation step and simulate up to "step" second in sim time.
switch(label)