def _getUniversal(varID, typeID): result = traci._sendReadOneStringCmd( tc.CMD_GET_VEHICLETYPE_VARIABLE, varID, typeID) return _RETURN_VALUE_FUNC[varID](result)
def _getUniversal(varID, routeID): result = traci._sendReadOneStringCmd( tc.CMD_GET_ROUTE_VARIABLE, varID, routeID) return _RETURN_VALUE_FUNC[varID](result)
def _getUniversal(varID, vehID): result = traci._sendReadOneStringCmd(tc.CMD_GET_VEHICLE_VARIABLE, varID, vehID) return _RETURN_VALUE_FUNC[varID](result)
def _getUniversal(varID, polygonID): result = traci._sendReadOneStringCmd(tc.CMD_GET_POLYGON_VARIABLE, varID, polygonID) return _RETURN_VALUE_FUNC[varID](result)
def _getUniversal(varID, detID): result = traci._sendReadOneStringCmd( tc.CMD_GET_MULTI_ENTRY_EXIT_DETECTOR_VARIABLE, varID, detID) return _RETURN_VALUE_FUNC[varID](result)
def _getUniversal(varID, detID): result = traci._sendReadOneStringCmd(tc.CMD_GET_AREAL_DETECTOR_VARIABLE, varID, detID) return _RETURN_VALUE_FUNC[varID](result)
def _getUniversal(varID, junctionID): result = traci._sendReadOneStringCmd( tc.CMD_GET_JUNCTION_VARIABLE, varID, junctionID) return _RETURN_VALUE_FUNC[varID](result)
def _getUniversal(varID, junctionID): result = traci._sendReadOneStringCmd(tc.CMD_GET_JUNCTION_VARIABLE, varID, junctionID) return _RETURN_VALUE_FUNC[varID](result)
def _getUniversal(varID, loopID): result = traci._sendReadOneStringCmd( tc.CMD_GET_INDUCTIONLOOP_VARIABLE, varID, loopID) return _RETURN_VALUE_FUNC[varID](result)