traci | index /home/behr_mi/sumo/tools/traci/__init__.py

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

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

Classes
`` |  | exceptions.Exception(exceptions.BaseException) FatalTraCIError Message Storage SubscriptionResults
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) printDebug(self) read(self, format) readDouble(self) readInt(self) readLength(self) readShape(self) readString(self) readStringList(self) ready(self)
class SubscriptionResults
`` |  | Methods defined here: __init__(self, valueFunc) add(self, refID, varID, data) addContext(self, refID, domain, objID, varID, data) get(self, refID=None) getContext(self, refID=None) reset(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)

Data
`` |  | print_function = _Feature((2, 6, 0, 'alpha', 2), (3, 0, 0, 'alpha', 0), 65536)