1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 5804 5805 5806 5807 5808 5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 5960 5961 5962 5963 5964 5965 5966 5967 5968 5969 5970 5971 5972 5973 5974 5975 5976 5977 5978 5979 5980 5981 5982 5983 5984 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002 6003 6004 6005 6006 6007 6008 6009 6010 6011 6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 6029 6030 6031 6032 6033 6034 6035 6036 6037 6038 6039 6040 6041 6042 6043 6044 6045 6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 6099 6100 6101 6102 6103 6104 6105 6106 6107 6108 6109 6110 6111 6112 6113 6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 6163 6164 6165 6166 6167 6168 6169 6170 6171 6172 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 6203 6204 6205 6206 6207 6208 6209 6210 6211 6212 6213 6214 6215 6216 6217 6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 6247 6248 6249 6250 6251 6252 6253 6254 6255 6256 6257 6258 6259 6260 6261 6262 6263 6264 6265 6266 6267 6268 6269 6270 6271 6272 6273 6274 6275 6276 6277 6278 6279 6280 6281 6282 6283 6284 6285 6286 6287 6288 6289 6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 6308 6309 6310 6311 6312 6313 6314 6315 6316 6317 6318 6319 6320 6321 6322 6323 6324 6325 6326 6327 6328 6329 6330 6331 6332 6333 6334 6335 6336 6337 6338 6339 6340 6341 6342 6343 6344 6345 6346 6347 6348 6349 6350 6351 6352 6353 6354 6355 6356 6357 6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 6369 6370 6371 6372 6373 6374 6375 6376 6377 6378 6379 6380 6381 6382 6383 6384 6385 6386 6387 6388 6389 6390 6391 6392 6393 6394 6395 6396 6397 6398 6399 6400 6401 6402 6403 6404 6405 6406 6407 6408 6409 6410 6411 6412 6413 6414 6415 6416 6417 6418 6419 6420 6421 6422 6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 6437 6438 6439 6440 6441 6442 6443 6444 6445 6446 6447 6448 6449 6450 6451 6452 6453 6454 6455 6456 6457 6458 6459 6460 6461 6462 6463 6464 6465 6466 6467 6468 6469 6470 6471 6472 6473 6474 6475 6476 6477 6478 6479 6480 6481 6482 6483 6484 6485 6486 6487 6488 6489 6490 6491 6492 6493 6494 6495 6496 6497 6498 6499 6500 6501 6502 6503 6504 6505 6506 6507 6508 6509 6510 6511 6512 6513 6514 6515 6516 6517 6518 6519 6520 6521 6522 6523 6524 6525 6526 6527 6528 6529 6530 6531 6532 6533 6534 6535 6536 6537 6538 6539 6540 6541 6542 6543 6544 6545 6546 6547 6548 6549 6550 6551 6552 6553 6554 6555 6556 6557 6558 6559 6560 6561 6562 6563 6564 6565 6566 6567 6568 6569 6570 6571 6572 6573 6574 6575 6576 6577 6578 6579 6580 6581 6582 6583 6584 6585 6586 6587 6588 6589 6590 6591 6592 6593 6594 6595 6596 6597 6598 6599 6600 6601 6602 6603 6604 6605 6606 6607 6608 6609 6610 6611 6612 6613 6614 6615 6616 6617 6618 6619 6620 6621 6622 6623 6624 6625 6626 6627 6628 6629 6630 6631 6632 6633 6634 6635 6636 6637 6638 6639 6640 6641 6642 6643 6644 6645 6646 6647 6648 6649 6650 6651 6652 6653 6654 6655 6656 6657 6658 6659 6660 6661 6662 6663 6664 6665 6666 6667 6668 6669 6670 6671 6672 6673 6674 6675 6676 6677 6678 6679 6680 6681 6682 6683 6684 6685 6686 6687 6688 6689 6690 6691 6692 6693 6694 6695 6696 6697 6698 6699 6700 6701 6702 6703 6704 6705 6706 6707 6708 6709 6710 6711 6712 6713 6714 6715 6716 6717 6718 6719 6720 6721 6722 6723 6724 6725 6726 6727 6728 6729 6730 6731 6732 6733 6734 6735 6736 6737 6738 6739 6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 6763 6764 6765 6766 6767 6768 6769 6770 6771 6772 6773 6774 6775 6776 6777 6778 6779 6780 6781 6782 6783 6784 6785 6786 6787 6788 6789 6790 6791 6792 6793 6794 6795 6796 6797 6798 6799 6800 6801 6802 6803 6804 6805 6806 6807 6808 6809 6810 6811 6812 6813 6814 6815 6816 6817 6818 6819 6820 6821 6822 6823 6824 6825 6826 6827 6828 6829 6830 6831 6832 6833 6834 6835 6836 6837 6838 6839 6840 6841 6842 6843 6844 6845 6846 6847 6848 6849 6850 6851 6852 6853 6854 6855 6856 6857 6858 6859 6860 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 6872 6873 6874 6875 6876 6877 6878 6879 6880 6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 6925 6926 6927 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 6955 6956 6957 6958 6959 6960 6961 6962 6963 6964 6965 6966 6967 6968 6969 6970 6971 6972 6973 6974 6975 6976 6977 6978 6979 6980 6981 6982 6983 6984 6985 6986 6987 6988 6989 6990 6991 6992 6993 6994 6995 6996 6997 6998 6999 7000 7001 7002 7003 7004 7005 7006 7007 7008 7009 7010 7011 7012 7013 7014 7015 7016 7017 7018 7019 7020 7021 7022 7023 7024 7025 7026 7027 7028 7029 7030 7031 7032 7033 7034 7035 7036 7037 7038 7039 7040 7041 7042 7043 7044 7045 7046 7047 7048 7049 7050 7051 7052 7053 7054 7055 7056 7057 7058 7059 7060 7061 7062 7063 7064 7065 7066 7067 7068 7069 7070 7071 7072 7073 7074 7075 7076 7077 7078 7079 7080 7081 7082 7083 7084 7085 7086 7087 7088 7089 7090 7091 7092 7093 7094 7095 7096 7097 7098 7099 7100 7101 7102 7103 7104 7105 7106 7107 7108 7109 7110 7111 7112 7113 7114 7115 7116 7117 7118 7119 7120 7121 7122 7123 7124 7125 7126 7127 7128 7129 7130 7131 7132 7133 7134 7135 7136 7137 7138 7139 7140 7141 7142 7143 7144 7145 7146 7147 7148 7149 7150 7151 7152 7153 7154 7155 7156 7157 7158 7159 7160 7161 7162 7163 7164 7165 7166 7167 7168 7169 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 7199 7200 7201 7202 7203 7204 7205 7206 7207 7208 7209 7210 7211 7212 7213 7214 7215 7216 7217 7218 7219 7220 7221 7222 7223 7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 7236 7237 7238 7239 7240 7241 7242 7243 7244 7245 7246 7247 7248 7249 7250 7251 7252 7253 7254 7255 7256 7257 7258 7259 7260 7261 7262 7263 7264 7265 7266 7267 7268 7269 7270 7271 7272 7273 7274 7275 7276 7277 7278 7279 7280 7281 7282 7283 7284 7285 7286 7287 7288 7289 7290 7291 7292 7293 7294 7295 7296 7297 7298 7299 7300 7301 7302 7303 7304 7305 7306 7307 7308 7309 7310 7311 7312 7313 7314 7315 7316 7317 7318 7319 7320 7321 7322 7323 7324 7325 7326 7327 7328 7329 7330 7331 7332 7333 7334 7335 7336 7337 7338 7339 7340 7341 7342 7343 7344 7345 7346 7347 7348 7349 7350 7351 7352 7353 7354 7355 7356 7357 7358 7359 7360 7361 7362 7363 7364 7365 7366 7367 7368 7369 7370 7371 7372 7373 7374 7375 7376 7377 7378 7379 7380 7381 7382 7383 7384 7385 7386 7387 7388 7389 7390 7391 7392 7393 7394 7395 7396 7397 7398 7399 7400 7401 7402 7403 7404 7405 7406 7407 7408 7409 7410 7411 7412 7413 7414 7415 7416 7417 7418 7419 7420 7421 7422 7423 7424 7425 7426 7427 7428 7429 7430 7431 7432 7433 7434 7435 7436 7437 7438 7439 7440 7441 7442 7443 7444 7445 7446 7447 7448 7449 7450 7451 7452 7453 7454 7455 7456 7457 7458 7459 7460 7461 7462 7463 7464 7465 7466 7467 7468 7469 7470 7471 7472 7473 7474 7475 7476 7477 7478 7479 7480 7481 7482 7483 7484 7485 7486 7487 7488 7489 7490 7491 7492 7493 7494 7495 7496 7497 7498 7499 7500 7501 7502 7503 7504 7505 7506 7507 7508 7509 7510 7511 7512 7513 7514 7515 7516 7517 7518 7519 7520 7521 7522 7523 7524 7525 7526 7527 7528 7529 7530 7531 7532 7533 7534 7535 7536 7537 7538 7539 7540 7541 7542 7543 7544 7545 7546 7547 7548 7549 7550 7551 7552 7553 7554 7555 7556 7557 7558 7559 7560 7561 7562 7563 7564 7565 7566 7567 7568 7569 7570 7571 7572 7573 7574 7575 7576 7577 7578 7579 7580 7581 7582 7583 7584 7585 7586 7587 7588 7589 7590 7591 7592 7593 7594 7595 7596 7597 7598 7599 7600 7601 7602 7603 7604 7605 7606 7607 7608 7609 7610 7611 7612 7613 7614 7615 7616 7617 7618 7619 7620 7621 7622 7623 7624 7625 7626 7627 7628 7629 7630 7631 7632 7633 7634 7635 7636 7637 7638 7639 7640 7641 7642 7643 7644 7645 7646 7647 7648 7649 7650 7651 7652 7653 7654 7655 7656 7657 7658 7659 7660 7661 7662 7663 7664 7665 7666 7667 7668 7669 7670 7671 7672 7673 7674 7675 7676 7677 7678 7679 7680 7681 7682 7683 7684 7685 7686 7687 7688 7689 7690 7691 7692 7693 7694 7695 7696 7697 7698 7699 7700 7701 7702 7703 7704 7705 7706 7707 7708 7709 7710 7711 7712 7713 7714 7715 7716 7717 7718 7719 7720 7721 7722 7723 7724 7725 7726 7727 7728 7729 7730 7731 7732 7733 7734 7735 7736 7737 7738 7739 7740 7741 7742 7743 7744 7745 7746 7747 7748 7749 7750 7751 7752 7753 7754 7755 7756 7757 7758 7759 7760 7761 7762 7763 7764 7765 7766 7767 7768 7769 7770 7771 7772 7773 7774 7775 7776 7777 7778 7779 7780 7781 7782 7783 7784 7785 7786 7787 7788 7789 7790 7791 7792 7793 7794 7795 7796 7797 7798 7799 7800 7801 7802 7803 7804 7805 7806 7807 7808 7809 7810 7811 7812 7813 7814 7815 7816 7817 7818 7819 7820 7821 7822 7823 7824 7825 7826 7827 7828 7829 7830 7831 7832 7833 7834 7835 7836 7837 7838 7839 7840 7841 7842 7843 7844 7845 7846 7847 7848 7849 7850 7851 7852 7853 7854 7855 7856 7857 7858 7859 7860 7861 7862 7863 7864 7865 7866 7867 7868 7869 7870 7871 7872 7873 7874 7875 7876 7877 7878 7879 7880 7881 7882 7883 7884 7885 7886 7887 7888 7889 7890 7891 7892 7893 7894 7895 7896 7897 7898 7899 7900 7901 7902 7903 7904 7905 7906 7907 7908 7909 7910 7911 7912 7913 7914 7915 7916 7917 7918 7919 7920 7921 7922 7923 7924 7925 7926 7927 7928 7929 7930 7931 7932 7933 7934 7935 7936 7937 7938 7939 7940 7941 7942 7943 7944 7945 7946 7947 7948 7949 7950 7951 7952 7953 7954 7955 7956 7957 7958 7959 7960 7961 7962 7963 7964 7965 7966 7967 7968 7969 7970 7971 7972 7973 7974 7975 7976 7977 7978 7979 7980 7981 7982 7983 7984 7985 7986 7987 7988 7989 7990 7991 7992 7993 7994 7995 7996 7997 7998 7999 8000 8001 8002 8003 8004 8005 8006 8007 8008 8009 8010 8011 8012 8013 8014 8015 8016 8017 8018 8019 8020 8021 8022 8023 8024 8025 8026 8027 8028 8029 8030 8031 8032 8033 8034 8035 8036 8037 8038 8039 8040 8041 8042 8043 8044 8045 8046 8047 8048 8049 8050 8051 8052 8053 8054 8055 8056 8057 8058 8059 8060 8061 8062 8063 8064 8065 8066 8067 8068 8069 8070 8071 8072 8073 8074 8075 8076 8077 8078 8079 8080 8081 8082 8083 8084 8085 8086 8087 8088 8089 8090 8091 8092 8093 8094 8095 8096 8097 8098 8099 8100 8101 8102 8103 8104 8105 8106 8107 8108 8109 8110 8111 8112 8113 8114 8115 8116 8117 8118 8119 8120 8121 8122 8123 8124 8125 8126 8127 8128 8129 8130 8131 8132 8133 8134 8135 8136 8137 8138 8139 8140 8141 8142 8143 8144 8145 8146 8147 8148 8149 8150 8151 8152 8153 8154 8155 8156 8157 8158 8159 8160 8161 8162 8163 8164 8165 8166 8167 8168 8169 8170 8171 8172 8173 8174 8175 8176 8177 8178 8179 8180 8181 8182 8183 8184 8185 8186 8187 8188 8189 8190 8191 8192 8193 8194 8195 8196 8197 8198 8199 8200 8201 8202 8203 8204 8205 8206 8207 8208 8209 8210 8211 8212 8213 8214 8215 8216 8217 8218 8219 8220 8221 8222 8223 8224 8225 8226 8227 8228 8229 8230 8231 8232 8233 8234 8235 8236 8237 8238 8239 8240 8241 8242 8243 8244 8245 8246 8247 8248 8249 8250 8251 8252 8253 8254 8255 8256 8257 8258 8259 8260 8261 8262 8263 8264 8265 8266 8267 8268 8269 8270 8271 8272 8273 8274 8275 8276 8277 8278 8279 8280 8281 8282 8283 8284 8285 8286 8287 8288 8289 8290 8291 8292 8293 8294 8295 8296 8297 8298 8299 8300 8301 8302 8303 8304 8305 8306 8307 8308 8309 8310 8311 8312 8313 8314 8315 8316 8317 8318 8319 8320 8321 8322 8323 8324 8325 8326 8327 8328 8329 8330 8331 8332 8333 8334 8335 8336 8337 8338 8339 8340 8341 8342 8343 8344 8345 8346 8347 8348 8349 8350 8351 8352 8353 8354 8355 8356 8357 8358 8359 8360 8361 8362 8363 8364 8365 8366 8367 8368 8369 8370 8371 8372 8373 8374 8375 8376 8377 8378 8379 8380 8381 8382 8383 8384 8385 8386 8387 8388 8389 8390 8391 8392 8393 8394 8395 8396 8397 8398 8399 8400 8401 8402 8403 8404 8405 8406 8407 8408 8409 8410 8411 8412 8413 8414 8415 8416 8417 8418 8419 8420 8421 8422 8423 8424 8425 8426 8427 8428 8429 8430 8431 8432 8433 8434 8435 8436 8437 8438 8439 8440 8441 8442 8443 8444 8445 8446 8447 8448 8449 8450 8451 8452 8453 8454 8455 8456 8457 8458 8459 8460 8461 8462 8463 8464 8465 8466 8467 8468 8469 8470 8471 8472 8473 8474 8475 8476 8477 8478 8479 8480 8481 8482 8483 8484 8485 8486 8487 8488 8489 8490 8491 8492 8493 8494 8495 8496 8497 8498 8499 8500 8501 8502 8503 8504 8505 8506 8507 8508 8509 8510 8511 8512 8513 8514 8515 8516 8517 8518 8519 8520 8521 8522 8523 8524 8525 8526 8527 8528 8529 8530 8531 8532 8533 8534 8535 8536 8537 8538 8539 8540 8541 8542 8543 8544 8545 8546 8547 8548 8549 8550 8551 8552 8553 8554 8555 8556 8557 8558 8559 8560 8561 8562 8563 8564 8565 8566 8567 8568 8569 8570 8571 8572 8573 8574 8575 8576 8577 8578 8579 8580 8581 8582 8583 8584 8585 8586 8587 8588 8589 8590 8591 8592 8593 8594 8595 8596 8597 8598 8599 8600 8601 8602 8603 8604 8605 8606 8607 8608 8609 8610 8611 8612 8613 8614 8615 8616 8617 8618 8619 8620 8621 8622 8623 8624 8625 8626 8627 8628 8629 8630 8631 8632 8633 8634 8635 8636 8637 8638 8639 8640 8641 8642 8643 8644 8645 8646 8647 8648 8649 8650 8651 8652 8653 8654 8655 8656 8657 8658 8659 8660 8661 8662 8663 8664 8665 8666 8667 8668 8669 8670 8671 8672 8673 8674 8675 8676 8677 8678 8679 8680 8681 8682 8683 8684 8685 8686 8687 8688 8689 8690 8691 8692 8693 8694 8695 8696 8697 8698 8699 8700 8701 8702 8703 8704 8705 8706 8707 8708 8709 8710 8711 8712 8713 8714 8715 8716 8717 8718 8719 8720 8721 8722 8723 8724 8725 8726 8727 8728 8729 8730 8731 8732 8733 8734 8735 8736 8737 8738 8739 8740 8741 8742 8743 8744 8745 8746 8747 8748 8749 8750 8751 8752 8753 8754 8755 8756 8757 8758 8759 8760 8761 8762 8763 8764 8765 8766 8767 8768 8769 8770 8771 8772 8773 8774 8775 8776 8777 8778 8779 8780 8781 8782 8783 8784 8785 8786 8787 8788 8789 8790 8791 8792 8793 8794 8795 8796 8797 8798 8799 8800 8801 8802 8803 8804 8805 8806 8807 8808 8809 8810 8811 8812 8813 8814 8815 8816 8817 8818 8819 8820 8821 8822 8823 8824 8825 8826 8827 8828 8829 8830 8831 8832 8833 8834 8835 8836 8837 8838 8839 8840 8841 8842 8843 8844 8845 8846 8847 8848 8849 8850 8851 8852 8853 8854 8855 8856 8857 8858 8859 8860 8861 8862 8863 8864 8865 8866 8867 8868 8869 8870 8871 8872 8873 8874 8875 8876 8877 8878 8879 8880 8881 8882 8883 8884 8885 8886 8887 8888 8889 8890 8891 8892 8893 8894 8895 8896 8897 8898 8899 8900 8901 8902 8903 8904 8905 8906 8907 8908 8909 8910 8911 8912 8913 8914 8915 8916 8917 8918 8919 8920 8921 8922 8923 8924 8925 8926 8927 8928 8929 8930 8931 8932 8933 8934 8935 8936 8937 8938 8939 8940 8941 8942 8943 8944 8945 8946 8947 8948 8949 8950 8951 8952 8953 8954 8955 8956 8957 8958 8959 8960 8961 8962 8963 8964 8965 8966 8967 8968 8969 8970 8971 8972 8973 8974 8975 8976 8977 8978 8979 8980 8981 8982 8983 8984 8985 8986 8987 8988 8989 8990 8991 8992 8993 8994 8995 8996 8997 8998 8999 9000 9001 9002 9003 9004 9005 9006 9007 9008 9009 9010 9011 9012 9013 9014 9015 9016 9017 9018 9019 9020 9021 9022 9023 9024 9025 9026 9027 9028 9029 9030 9031 9032 9033 9034 9035 9036 9037 9038 9039 9040 9041 9042 9043 9044 9045 9046 9047 9048 9049 9050 9051 9052 9053 9054 9055 9056 9057 9058 9059 9060 9061 9062 9063 9064 9065 9066 9067 9068 9069 9070 9071 9072 9073 9074 9075 9076 9077 9078 9079 9080 9081 9082 9083 9084 9085 9086 9087 9088 9089 9090 9091 9092 9093 9094 9095 9096 9097 9098 9099 9100 9101 9102 9103 9104 9105 9106 9107 9108 9109 9110 9111 9112 9113 9114 9115 9116 9117 9118 9119 9120 9121 9122 9123 9124 9125 9126 9127 9128 9129 9130 9131 9132 9133 9134 9135 9136 9137 9138 9139 9140 9141 9142 9143 9144 9145 9146 9147 9148 9149 9150 9151 9152 9153 9154 9155 9156 9157 9158 9159 9160 9161 9162 9163 9164 9165 9166 9167 9168 9169 9170 9171 9172 9173 9174 9175 9176 9177 9178 9179 9180 9181 9182 9183 9184 9185 9186 9187 9188 9189 9190 9191 9192 9193 9194 9195 9196 9197 9198 9199 9200 9201 9202 9203 9204 9205 9206 9207 9208 9209 9210 9211 9212 9213 9214 9215 9216 9217 9218 9219 9220 9221 9222 9223 9224 9225 9226 9227 9228 9229 9230 9231 9232 9233 9234 9235 9236 9237 9238 9239 9240 9241 9242 9243 9244 9245 9246 9247 9248 9249 9250 9251 9252 9253 9254 9255 9256 9257 9258 9259 9260 9261 9262 9263 9264 9265 9266 9267 9268 9269 9270 9271 9272 9273 9274 9275 9276 9277 9278 9279 9280 9281 9282 9283 9284 9285 9286 9287 9288 9289 9290 9291 9292 9293 9294 9295 9296 9297 9298 9299 9300 9301 9302 9303 9304 9305 9306 9307 9308 9309 9310 9311 9312 9313 9314 9315 9316 9317 9318 9319 9320 9321 9322 9323 9324 9325 9326 9327 9328 9329 9330 9331 9332 9333 9334 9335 9336 9337 9338 9339 9340 9341 9342 9343 9344 9345 9346 9347 9348 9349 9350 9351 9352 9353 9354 9355 9356 9357 9358 9359 9360 9361 9362 9363 9364 9365 9366 9367 9368 9369 9370 9371 9372 9373 9374 9375 9376 9377 9378 9379 9380 9381 9382 9383 9384 9385 9386 9387 9388 9389 9390 9391 9392 9393 9394 9395 9396 9397 9398 9399 9400 9401 9402 9403 9404 9405 9406 9407 9408 9409 9410 9411 9412 9413 9414 9415 9416 9417 9418 9419 9420 9421 9422 9423 9424 9425 9426 9427 9428 9429 9430 9431 9432 9433 9434 9435 9436 9437 9438 9439 9440 9441 9442 9443 9444 9445 9446 9447 9448 9449 9450 9451 9452 9453 9454 9455 9456 9457 9458 9459 9460 9461 9462 9463 9464 9465 9466 9467 9468 9469 9470 9471 9472 9473 9474 9475 9476 9477 9478 9479 9480 9481 9482 9483 9484 9485 9486 9487 9488 9489 9490 9491 9492 9493 9494 9495 9496 9497 9498 9499 9500 9501 9502 9503 9504 9505 9506 9507 9508 9509 9510 9511 9512 9513 9514 9515 9516 9517 9518 9519 9520 9521 9522 9523 9524 9525 9526 9527 9528 9529 9530 9531 9532 9533 9534 9535 9536 9537 9538 9539 9540 9541 9542 9543 9544 9545 9546 9547 9548 9549 9550 9551 9552 9553 9554 9555 9556 9557 9558 9559 9560 9561 9562 9563 9564 9565 9566 9567 9568 9569 9570 9571 9572 9573 9574 9575 9576 9577 9578 9579 9580 9581 9582 9583 9584 9585 9586 9587 9588 9589 9590 9591 9592 9593 9594 9595 9596 9597 9598 9599 9600 9601 9602 9603 9604 9605 9606 9607 9608 9609 9610 9611 9612 9613 9614 9615 9616 9617 9618 9619 9620 9621 9622 9623 9624 9625 9626 9627 9628 9629 9630 9631 9632 9633 9634 9635 9636 9637 9638 9639 9640 9641 9642 9643 9644 9645 9646 9647 9648 9649 9650 9651 9652 9653 9654 9655 9656 9657 9658 9659 9660 9661 9662 9663 9664 9665 9666 9667 9668 9669 9670 9671 9672 9673 9674 9675 9676 9677 9678 9679 9680 9681 9682 9683 9684 9685 9686 9687 9688 9689 9690 9691 9692 9693 9694 9695 9696 9697 9698 9699 9700 9701 9702 9703 9704 9705 9706 9707 9708 9709 9710 9711 9712 9713 9714 9715 9716 9717 9718 9719 9720 9721 9722 9723 9724 9725 9726 9727 9728 9729 9730 9731 9732 9733 9734 9735 9736 9737 9738 9739 9740 9741 9742 9743 9744 9745 9746 9747 9748 9749 9750 9751 9752 9753 9754 9755 9756 9757 9758 9759 9760 9761 9762 9763 9764 9765 9766 9767 9768 9769 9770 9771 9772 9773 9774 9775 9776 9777 9778 9779 9780 9781 9782 9783 9784 9785 9786 9787 9788 9789 9790 9791 9792 9793 9794 9795 9796 9797 9798 9799 9800 9801 9802 9803 9804 9805 9806 9807 9808 9809 9810 9811 9812 9813 9814 9815 9816 9817 9818 9819 9820 9821 9822 9823 9824 9825 9826 9827 9828 9829 9830 9831 9832 9833 9834 9835 9836 9837 9838 9839 9840 9841 9842 9843 9844 9845 9846 9847 9848 9849 9850 9851 9852 9853 9854 9855 9856 9857 9858 9859 9860 9861 9862 9863 9864 9865 9866 9867 9868 9869 9870 9871 9872 9873 9874 9875 9876 9877 9878 9879 9880 9881 9882 9883 9884 9885 9886 9887 9888 9889 9890 9891 9892 9893 9894 9895 9896 9897 9898 9899 9900 9901 9902 9903 9904 9905 9906 9907 9908 9909 9910 9911 9912 9913 9914 9915 9916 9917 9918 9919 9920 9921 9922 9923 9924 9925 9926 9927 9928 9929 9930 9931 9932 9933 9934 9935 9936 9937 9938 9939 9940 9941 9942 9943 9944 9945 9946 9947 9948 9949 9950 9951 9952 9953 9954 9955 9956 9957 9958 9959 9960 9961 9962 9963 9964 9965 9966 9967 9968 9969 9970 9971 9972 9973 9974 9975 9976 9977 9978 9979 9980 9981 9982 9983 9984 9985 9986 9987 9988 9989 9990 9991 9992 9993 9994 9995 9996 9997 9998 9999 10000 10001 10002 10003 10004 10005 10006 10007 10008 10009 10010 10011 10012 10013 10014 10015 10016 10017 10018 10019 10020 10021 10022 10023 10024 10025 10026 10027 10028 10029 10030 10031 10032 10033 10034 10035 10036 10037 10038 10039 10040 10041 10042 10043 10044 10045 10046 10047 10048 10049 10050 10051 10052 10053 10054 10055 10056 10057 10058 10059 10060 10061 10062 10063 10064 10065 10066 10067 10068 10069 10070 10071 10072 10073 10074 10075 10076 10077 10078 10079 10080 10081 10082 10083 10084 10085 10086 10087 10088 10089 10090 10091 10092 10093 10094 10095 10096 10097 10098 10099 10100 10101 10102 10103 10104 10105 10106 10107 10108 10109 10110 10111 10112 10113 10114 10115 10116 10117 10118 10119 10120 10121 10122 10123 10124 10125 10126 10127 10128 10129 10130 10131 10132 10133 10134 10135 10136 10137 10138 10139 10140 10141 10142 10143 10144 10145 10146 10147 10148 10149 10150 10151 10152 10153 10154 10155 10156 10157 10158 10159 10160 10161 10162 10163 10164 10165 10166 10167 10168 10169 10170 10171 10172 10173 10174 10175 10176 10177 10178 10179 10180 10181 10182 10183 10184 10185 10186 10187 10188 10189 10190 10191 10192 10193 10194 10195 10196 10197 10198 10199 10200 10201 10202 10203 10204 10205 10206 10207 10208 10209 10210 10211 10212 10213 10214 10215 10216 10217 10218 10219 10220 10221 10222 10223 10224 10225 10226 10227 10228 10229 10230 10231 10232 10233 10234 10235 10236 10237 10238 10239 10240 10241 10242 10243 10244 10245 10246 10247 10248 10249 10250 10251 10252 10253 10254 10255 10256 10257 10258 10259 10260 10261 10262 10263 10264 10265 10266 10267 10268 10269 10270 10271 10272 10273 10274 10275 10276 10277 10278 10279 10280 10281 10282 10283 10284 10285 10286 10287 10288 10289 10290 10291 10292 10293 10294 10295 10296 10297 10298 10299 10300 10301 10302 10303 10304 10305 10306 10307 10308 10309 10310 10311 10312 10313 10314 10315 10316 10317 10318 10319 10320 10321 10322 10323 10324 10325 10326 10327 10328 10329 10330 10331 10332 10333 10334 10335 10336 10337 10338 10339 10340 10341 10342 10343 10344 10345 10346 10347 10348 10349 10350 10351 10352 10353 10354 10355 10356 10357 10358 10359 10360 10361 10362 10363 10364 10365 10366 10367 10368 10369 10370 10371 10372 10373 10374 10375 10376 10377 10378 10379 10380 10381 10382 10383 10384 10385 10386 10387 10388 10389 10390 10391 10392 10393 10394 10395 10396 10397 10398 10399 10400 10401 10402 10403 10404 10405 10406 10407 10408 10409 10410 10411 10412 10413 10414 10415 10416 10417 10418 10419 10420 10421 10422 10423 10424 10425 10426 10427 10428 10429 10430 10431 10432 10433 10434 10435 10436 10437 10438 10439 10440 10441 10442 10443 10444 10445 10446 10447 10448 10449 10450 10451 10452 10453 10454 10455 10456 10457 10458 10459 10460 10461 10462 10463 10464 10465 10466 10467 10468 10469 10470 10471 10472 10473 10474 10475 10476 10477 10478 10479 10480 10481 10482 10483 10484 10485 10486 10487 10488 10489 10490 10491 10492 10493 10494 10495 10496 10497 10498 10499 10500 10501 10502 10503 10504 10505 10506 10507 10508 10509 10510 10511 10512 10513 10514 10515 10516 10517 10518 10519 10520 10521 10522 10523 10524 10525 10526 10527 10528 10529 10530 10531 10532 10533 10534 10535 10536 10537 10538 10539 10540 10541 10542 10543 10544 10545 10546 10547 10548 10549 10550 10551 10552 10553 10554 10555 10556 10557 10558 10559 10560 10561 10562 10563 10564 10565 10566 10567 10568 10569 10570 10571 10572 10573 10574 10575 10576 10577 10578 10579 10580 10581 10582 10583 10584 10585 10586 10587 10588 10589 10590 10591 10592 10593 10594 10595 10596 10597 10598 10599 10600 10601 10602 10603 10604 10605 10606 10607 10608 10609 10610 10611 10612 10613 10614 10615 10616 10617 10618 10619 10620 10621 10622 10623 10624 10625 10626 10627 10628 10629 10630 10631 10632 10633 10634 10635 10636 10637 10638 10639 10640 10641 10642 10643 10644 10645 10646 10647 10648 10649 10650 10651 10652 10653 10654 10655 10656 10657 10658 10659 10660 10661 10662 10663 10664 10665 10666 10667 10668 10669 10670 10671 10672 10673 10674 10675 10676 10677 10678 10679 10680 10681 10682 10683 10684 10685 10686 10687 10688 10689 10690 10691 10692 10693 10694 10695 10696 10697 10698 10699 10700 10701 10702 10703 10704 10705 10706 10707 10708 10709 10710 10711 10712 10713 10714 10715 10716 10717 10718 10719 10720 10721 10722 10723 10724 10725 10726 10727 10728 10729 10730 10731 10732 10733 10734 10735 10736 10737 10738 10739 10740 10741 10742 10743 10744 10745 10746 10747 10748 10749 10750 10751 10752 10753 10754 10755 10756 10757 10758 10759 10760 10761 10762 10763 10764 10765 10766 10767 10768 10769 10770 10771 10772 10773 10774 10775 10776 10777 10778 10779 10780 10781 10782 10783 10784 10785 10786 10787 10788 10789 10790 10791 10792 10793 10794 10795 10796 10797 10798 10799 10800 10801 10802 10803 10804 10805 10806 10807 10808 10809 10810 10811 10812 10813 10814 10815 10816 10817 10818 10819 10820 10821 10822 10823 10824 10825 10826 10827 10828 10829 10830 10831 10832 10833 10834 10835 10836 10837 10838 10839 10840 10841 10842 10843 10844 10845 10846 10847 10848 10849 10850 10851 10852 10853 10854 10855 10856 10857 10858 10859 10860 10861 10862 10863 10864 10865 10866 10867 10868 10869 10870 10871 10872 10873 10874 10875 10876 10877 10878 10879 10880 10881 10882 10883 10884 10885 10886 10887 10888 10889 10890 10891 10892 10893 10894 10895 10896 10897 10898 10899 10900 10901 10902 10903 10904 10905 10906 10907 10908 10909 10910 10911 10912 10913 10914 10915 10916 10917 10918 10919 10920 10921 10922 10923 10924 10925 10926 10927 10928 10929 10930 10931 10932 10933 10934 10935 10936 10937 10938 10939 10940 10941 10942 10943 10944 10945 10946 10947 10948 10949 10950 10951 10952 10953 10954 10955 10956 10957 10958 10959 10960 10961 10962 10963 10964 10965 10966 10967 10968 10969 10970 10971 10972 10973 10974 10975 10976 10977 10978 10979 10980 10981 10982 10983 10984 10985 10986 10987 10988 10989 10990 10991 10992 10993 10994 10995 10996 10997 10998 10999 11000 11001 11002 11003 11004 11005 11006 11007 11008 11009 11010 11011 11012 11013 11014 11015 11016 11017 11018 11019 11020 11021 11022 11023 11024 11025 11026 11027 11028 11029 11030 11031 11032 11033 11034 11035 11036 11037 11038 11039 11040 11041 11042 11043 11044 11045 11046 11047 11048 11049 11050 11051 11052 11053 11054 11055 11056 11057 11058 11059 11060 11061 11062 11063 11064 11065 11066 11067 11068 11069 11070 11071 11072 11073 11074 11075 11076 11077 11078 11079 11080 11081 11082 11083 11084 11085 11086 11087 11088 11089 11090 11091 11092 11093 11094 11095 11096 11097 11098 11099 11100 11101 11102 11103 11104 11105 11106 11107 11108 11109 11110 11111 11112 11113 11114 11115 11116 11117 11118 11119 11120 11121 11122 11123 11124 11125 11126 11127 11128 11129 11130 11131 11132 11133 11134 11135 11136 11137 11138 11139 11140 11141 11142 11143 11144 11145 11146 11147 11148 11149 11150 11151 11152 11153 11154 11155 11156 11157 11158 11159 11160 11161 11162 11163 11164 11165 11166 11167 11168 11169 11170 11171 11172 11173 11174 11175 11176 11177 11178 11179 11180 11181 11182 11183 11184 11185 11186 11187 11188 11189 11190 11191 11192 11193 11194 11195 11196 11197 11198 11199 11200 11201 11202 11203 11204 11205 11206 11207 11208 11209 11210 11211 11212 11213 11214 11215 11216 11217 11218 11219 11220 11221 11222 11223 11224 11225 11226 11227 11228 11229 11230 11231 11232 11233 11234 11235 11236 11237 11238 11239 11240 11241 11242 11243 11244 11245 11246 11247 11248 11249 11250 11251 11252 11253 11254 11255 11256 11257 11258 11259 11260 11261 11262 11263 11264 11265 11266 11267 11268 11269 11270 11271 11272 11273 11274 11275 11276 11277 11278 11279 11280 11281 11282 11283 11284 11285 11286 11287 11288 11289 11290 11291 11292 11293 11294 11295 11296 11297 11298 11299 11300 11301 11302 11303 11304 11305 11306 11307 11308 11309 11310 11311 11312 11313 11314 11315 11316 11317 11318 11319 11320 11321 11322 11323 11324 11325 11326 11327 11328 11329 11330 11331 11332 11333 11334 11335 11336 11337 11338 11339 11340 11341 11342 11343 11344 11345 11346 11347 11348 11349 11350 11351 11352 11353 11354 11355 11356 11357 11358 11359 11360 11361 11362 11363 11364 11365 11366 11367 11368 11369 11370 11371 11372 11373 11374 11375 11376 11377 11378 11379 11380 11381 11382 11383 11384 11385 11386 11387 11388 11389 11390 11391 11392 11393 11394 11395 11396 11397 11398 11399 11400 11401 11402 11403 11404 11405 11406 11407 11408 11409 11410 11411 11412 11413 11414 11415 11416 11417 11418 11419 11420 11421 11422 11423 11424 11425 11426 11427 11428 11429 11430 11431 11432 11433 11434 11435 11436 11437 11438 11439 11440 11441 11442 11443 11444 11445 11446 11447 11448 11449 11450 11451 11452 11453 11454 11455 11456 11457 11458 11459 11460 11461 11462 11463 11464 11465 11466 11467 11468 11469 11470 11471 11472 11473 11474 11475 11476 11477 11478 11479 11480 11481 11482 11483 11484 11485 11486 11487 11488 11489 11490 11491 11492 11493 11494 11495 11496 11497 11498 11499 11500 11501 11502 11503 11504 11505 11506 11507 11508 11509 11510 11511 11512 11513 11514 11515 11516 11517 11518 11519 11520 11521 11522 11523 11524 11525 11526 11527 11528 11529 11530 11531 11532 11533 11534 11535 11536 11537 11538 11539 11540 11541 11542 11543 11544 11545 11546 11547 11548 11549 11550 11551 11552 11553 11554 11555 11556 11557 11558 11559 11560 11561 11562 11563 11564 11565 11566 11567 11568 11569 11570 11571 11572 11573 11574 11575 11576 11577 11578 11579 11580 11581 11582 11583 11584 11585 11586 11587 11588 11589 11590 11591 11592 11593 11594 11595 11596 11597 11598 11599 11600 11601 11602 11603 11604 11605 11606 11607 11608 11609 11610 11611 11612 11613 11614 11615 11616 11617 11618 11619 11620 11621 11622 11623 11624 11625 11626 11627 11628 11629 11630 11631 11632 11633 11634 11635 11636 11637 11638 11639 11640 11641 11642 11643 11644 11645 11646 11647 11648 11649 11650 11651 11652 11653 11654 11655 11656 11657 11658 11659 11660 11661 11662 11663 11664 11665 11666 11667 11668 11669 11670 11671 11672 11673 11674 11675 11676 11677 11678 11679 11680 11681 11682 11683 11684 11685 11686 11687 11688 11689 11690 11691 11692 11693 11694 11695 11696 11697 11698 11699 11700 11701 11702 11703 11704 11705 11706 11707 11708 11709 11710 11711 11712 11713 11714 11715 11716 11717 11718 11719 11720 11721 11722 11723 11724 11725 11726 11727 11728 11729 11730 11731 11732 11733 11734 11735 11736 11737 11738 11739 11740 11741 11742 11743 11744 11745 11746 11747 11748 11749 11750 11751 11752 11753 11754 11755 11756 11757 11758 11759 11760 11761 11762 11763 11764 11765 11766 11767 11768 11769 11770 11771 11772 11773 11774 11775 11776 11777 11778 11779 11780 11781 11782 11783 11784 11785 11786 11787 11788 11789 11790 11791 11792 11793 11794 11795 11796 11797 11798 11799 11800 11801 11802 11803 11804 11805 11806 11807 11808 11809 11810 11811 11812 11813 11814 11815 11816 11817 11818 11819 11820 11821 11822 11823 11824 11825 11826 11827 11828 11829 11830 11831 11832 11833 11834 11835 11836 11837 11838 11839 11840 11841 11842 11843 11844 11845 11846 11847 11848 11849 11850 11851 11852 11853 11854 11855 11856 11857 11858 11859 11860 11861 11862 11863 11864 11865 11866 11867 11868 11869 11870 11871 11872 11873 11874 11875 11876 11877 11878 11879 11880 11881 11882 11883 11884 11885 11886 11887 11888 11889 11890 11891 11892 11893 11894 11895 11896 11897 11898 11899 11900 11901 11902 11903 11904 11905 11906 11907 11908 11909 11910 11911 11912 11913 11914 11915 11916 11917 11918 11919 11920 11921 11922 11923 11924 11925 11926 11927 11928 11929 11930 11931 11932 11933 11934 11935 11936 11937 11938 11939 11940 11941 11942 11943 11944 11945 11946 11947 11948 11949 11950 11951 11952 11953 11954 11955 11956 11957 11958 11959 11960 11961 11962 11963 11964 11965 11966 11967 11968 11969 11970 11971 11972 11973 11974 11975 11976 11977 11978 11979 11980 11981 11982 11983 11984 11985 11986 11987 11988 11989 11990 11991 11992 11993 11994 11995 11996 11997 11998 11999 12000 12001 12002 12003 12004 12005 12006 12007 12008 12009 12010 12011 12012 12013 12014 12015 12016 12017 12018 12019 12020 12021 12022 12023 12024 12025 12026 12027 12028 12029 12030 12031 12032 12033 12034 12035 12036 12037 12038 12039 12040 12041 12042 12043 12044 12045 12046 12047 12048 12049 12050 12051 12052 12053 12054 12055 12056 12057 12058 12059 12060 12061 12062 12063 12064 12065 12066 12067 12068 12069 12070 12071 12072 12073 12074 12075 12076 12077 12078 12079 12080 12081 12082 12083 12084 12085 12086 12087 12088 12089 12090 12091 12092 12093 12094 12095 12096 12097 12098 12099 12100 12101 12102 12103 12104 12105 12106 12107 12108 12109 12110 12111 12112 12113 12114 12115 12116 12117 12118 12119 12120 12121 12122 12123 12124 12125 12126 12127 12128 12129 12130 12131 12132 12133 12134 12135 12136 12137 12138 12139 12140 12141 12142 12143 12144 12145 12146 12147 12148 12149 12150 12151 12152
|
# This file was automatically generated by SWIG (http://www.swig.org).
# Version 4.0.2
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
from __future__ import absolute_import
from . import classproperty
from sys import version_info as _swig_python_version_info
if _swig_python_version_info < (2, 7, 0):
raise RuntimeError("Python 2.7 or later required")
# Import the low-level C/C++ module
if __package__ or "." in __name__:
from . import _RobotRaconteurPython
else:
import _RobotRaconteurPython
try:
import builtins as __builtin__
except ImportError:
import __builtin__
def _swig_repr(self):
try:
strthis = "proxy of " + self.this.__repr__()
except __builtin__.Exception:
strthis = ""
return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
def _swig_setattr_nondynamic_instance_variable(set):
def set_instance_attr(self, name, value):
if name == "thisown":
self.this.own(value)
elif name == "this":
set(self, name, value)
elif hasattr(self, name) and isinstance(getattr(type(self), name), property):
set(self, name, value)
else:
raise AttributeError("You cannot add instance attributes to %s" % self)
return set_instance_attr
def _swig_setattr_nondynamic_class_variable(set):
def set_class_attr(cls, name, value):
if hasattr(cls, name) and not isinstance(getattr(cls, name), property):
set(cls, name, value)
else:
raise AttributeError("You cannot add class attributes to %s" % cls)
return set_class_attr
def _swig_add_metaclass(metaclass):
"""Class decorator for adding a metaclass to a SWIG wrapped class - a slimmed down version of six.add_metaclass"""
def wrapper(cls):
return metaclass(cls.__name__, cls.__bases__, cls.__dict__.copy())
return wrapper
class _SwigNonDynamicMeta(type):
"""Meta class to enforce nondynamic attributes (no new attributes) for a class"""
__setattr__ = _swig_setattr_nondynamic_class_variable(type.__setattr__)
import weakref
SHARED_PTR_DISOWN = _RobotRaconteurPython.SHARED_PTR_DISOWN
class SwigPyIterator(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
__repr__ = _swig_repr
__swig_destroy__ = _RobotRaconteurPython.delete_SwigPyIterator
def value(self):
return _RobotRaconteurPython.SwigPyIterator_value(self)
def incr(self, n=1):
return _RobotRaconteurPython.SwigPyIterator_incr(self, n)
def decr(self, n=1):
return _RobotRaconteurPython.SwigPyIterator_decr(self, n)
def distance(self, x):
return _RobotRaconteurPython.SwigPyIterator_distance(self, x)
def equal(self, x):
return _RobotRaconteurPython.SwigPyIterator_equal(self, x)
def copy(self):
return _RobotRaconteurPython.SwigPyIterator_copy(self)
def next(self):
return _RobotRaconteurPython.SwigPyIterator_next(self)
def __next__(self):
return _RobotRaconteurPython.SwigPyIterator___next__(self)
def previous(self):
return _RobotRaconteurPython.SwigPyIterator_previous(self)
def advance(self, n):
return _RobotRaconteurPython.SwigPyIterator_advance(self, n)
def __eq__(self, x):
return _RobotRaconteurPython.SwigPyIterator___eq__(self, x)
def __ne__(self, x):
return _RobotRaconteurPython.SwigPyIterator___ne__(self, x)
def __iadd__(self, n):
return _RobotRaconteurPython.SwigPyIterator___iadd__(self, n)
def __isub__(self, n):
return _RobotRaconteurPython.SwigPyIterator___isub__(self, n)
def __add__(self, n):
return _RobotRaconteurPython.SwigPyIterator___add__(self, n)
def __sub__(self, *args):
return _RobotRaconteurPython.SwigPyIterator___sub__(self, *args)
def __iter__(self):
return self
# Register SwigPyIterator in _RobotRaconteurPython:
_RobotRaconteurPython.SwigPyIterator_swigregister(SwigPyIterator)
class FilesystemPath(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
def __init__(self, s):
_RobotRaconteurPython.FilesystemPath_swiginit(self, _RobotRaconteurPython.new_FilesystemPath(s))
def string(self):
return _RobotRaconteurPython.FilesystemPath_string(self)
def __str__(self):
return self.string()
__swig_destroy__ = _RobotRaconteurPython.delete_FilesystemPath
# Register FilesystemPath in _RobotRaconteurPython:
_RobotRaconteurPython.FilesystemPath_swigregister(FilesystemPath)
DataTypes_void_t = _RobotRaconteurPython.DataTypes_void_t
r"""void or null type"""
DataTypes_double_t = _RobotRaconteurPython.DataTypes_double_t
r"""IEEE-754 64-bit floating point number"""
DataTypes_single_t = _RobotRaconteurPython.DataTypes_single_t
r"""IEEE-754 32-bit floating point number"""
DataTypes_int8_t = _RobotRaconteurPython.DataTypes_int8_t
r"""8-bit signed integer"""
DataTypes_uint8_t = _RobotRaconteurPython.DataTypes_uint8_t
r"""8-bit unsigned integer"""
DataTypes_int16_t = _RobotRaconteurPython.DataTypes_int16_t
r"""16-bit signed integer"""
DataTypes_uint16_t = _RobotRaconteurPython.DataTypes_uint16_t
r"""16-bit unsigned integer"""
DataTypes_int32_t = _RobotRaconteurPython.DataTypes_int32_t
r"""32-bit signed integer"""
DataTypes_uint32_t = _RobotRaconteurPython.DataTypes_uint32_t
r"""32-bit unsigned integer"""
DataTypes_int64_t = _RobotRaconteurPython.DataTypes_int64_t
r"""64-bit signed integer"""
DataTypes_uint64_t = _RobotRaconteurPython.DataTypes_uint64_t
r"""64-bit unsigned integer"""
DataTypes_string_t = _RobotRaconteurPython.DataTypes_string_t
r"""UTF-8 string"""
DataTypes_cdouble_t = _RobotRaconteurPython.DataTypes_cdouble_t
r"""128-bit complex double (real,imag)"""
DataTypes_csingle_t = _RobotRaconteurPython.DataTypes_csingle_t
r"""64-bit complex float (real,imag)"""
DataTypes_bool_t = _RobotRaconteurPython.DataTypes_bool_t
r"""8-bit boolean"""
DataTypes_structure_t = _RobotRaconteurPython.DataTypes_structure_t
r"""structure (nested message type)"""
DataTypes_vector_t = _RobotRaconteurPython.DataTypes_vector_t
r"""map with int32 key (nested message type)"""
DataTypes_dictionary_t = _RobotRaconteurPython.DataTypes_dictionary_t
r"""map with string key (nested message type)"""
DataTypes_object_t = _RobotRaconteurPython.DataTypes_object_t
r"""object type (not serializable)"""
DataTypes_varvalue_t = _RobotRaconteurPython.DataTypes_varvalue_t
r"""varvalue type (not serializable)"""
DataTypes_varobject_t = _RobotRaconteurPython.DataTypes_varobject_t
r"""varobject type (not serializable)"""
DataTypes_list_t = _RobotRaconteurPython.DataTypes_list_t
r"""list type (nested message type)"""
DataTypes_pod_t = _RobotRaconteurPython.DataTypes_pod_t
r"""pod type (nested message type)"""
DataTypes_pod_array_t = _RobotRaconteurPython.DataTypes_pod_array_t
r"""pod array type (nested message type)"""
DataTypes_pod_multidimarray_t = _RobotRaconteurPython.DataTypes_pod_multidimarray_t
r"""pod multidimarray type (nested message type)"""
DataTypes_enum_t = _RobotRaconteurPython.DataTypes_enum_t
r"""enum type (not serializable uses int32 for messages)"""
DataTypes_namedtype_t = _RobotRaconteurPython.DataTypes_namedtype_t
r"""namedtype definition (not serializable)"""
DataTypes_namedarray_t = _RobotRaconteurPython.DataTypes_namedarray_t
r"""namedarray type (not serializable)"""
DataTypes_namedarray_array_t = _RobotRaconteurPython.DataTypes_namedarray_array_t
r"""namedarray array type (nested message type)"""
DataTypes_namedarray_multidimarray_t = _RobotRaconteurPython.DataTypes_namedarray_multidimarray_t
r"""namedarray multidimarray type (nested message type)"""
DataTypes_multidimarray_t = _RobotRaconteurPython.DataTypes_multidimarray_t
r"""multi-dimensional numeric array (nested message type)"""
DataTypes_ArrayTypes_none = _RobotRaconteurPython.DataTypes_ArrayTypes_none
r"""type is not an array"""
DataTypes_ArrayTypes_array = _RobotRaconteurPython.DataTypes_ArrayTypes_array
r"""type is a single dimensional array"""
DataTypes_ArrayTypes_multidimarray = _RobotRaconteurPython.DataTypes_ArrayTypes_multidimarray
r"""type is a multidimensional array"""
DataTypes_ContainerTypes_none = _RobotRaconteurPython.DataTypes_ContainerTypes_none
r"""type does not have a container"""
DataTypes_ContainerTypes_list = _RobotRaconteurPython.DataTypes_ContainerTypes_list
r"""type has a list container"""
DataTypes_ContainerTypes_map_int32 = _RobotRaconteurPython.DataTypes_ContainerTypes_map_int32
r"""type has a map with int32 keys container"""
DataTypes_ContainerTypes_map_string = _RobotRaconteurPython.DataTypes_ContainerTypes_map_string
r"""type has a map with string keys container"""
DataTypes_ContainerTypes_generator = _RobotRaconteurPython.DataTypes_ContainerTypes_generator
r"""type has a generator container. Only valid for use with function generator members"""
MessageEntryType_Null = _RobotRaconteurPython.MessageEntryType_Null
r"""no-op"""
MessageEntryType_StreamOp = _RobotRaconteurPython.MessageEntryType_StreamOp
r"""Stream operation request (transport only)"""
MessageEntryType_StreamOpRet = _RobotRaconteurPython.MessageEntryType_StreamOpRet
r"""Stream operation response (transport only)"""
MessageEntryType_StreamCheckCapability = _RobotRaconteurPython.MessageEntryType_StreamCheckCapability
r"""Stream check capability request (transport only)"""
MessageEntryType_StreamCheckCapabilityRet = _RobotRaconteurPython.MessageEntryType_StreamCheckCapabilityRet
r"""Stream check capability response (transport only)"""
MessageEntryType_GetServiceDesc = _RobotRaconteurPython.MessageEntryType_GetServiceDesc
r"""Get service definition request"""
MessageEntryType_GetServiceDescRet = _RobotRaconteurPython.MessageEntryType_GetServiceDescRet
r"""Get service definition response"""
MessageEntryType_ObjectTypeName = _RobotRaconteurPython.MessageEntryType_ObjectTypeName
r"""Get object qualified type name request"""
MessageEntryType_ObjectTypeNameRet = _RobotRaconteurPython.MessageEntryType_ObjectTypeNameRet
r"""Get object qualified type name response"""
MessageEntryType_ServiceClosed = _RobotRaconteurPython.MessageEntryType_ServiceClosed
r"""Service closed notification packet"""
MessageEntryType_ServiceClosedRet = _RobotRaconteurPython.MessageEntryType_ServiceClosedRet
r"""(reserved)"""
MessageEntryType_ConnectClient = _RobotRaconteurPython.MessageEntryType_ConnectClient
r"""Connect client request"""
MessageEntryType_ConnectClientRet = _RobotRaconteurPython.MessageEntryType_ConnectClientRet
r"""Connect client response"""
MessageEntryType_DisconnectClient = _RobotRaconteurPython.MessageEntryType_DisconnectClient
r"""Disconnect client request"""
MessageEntryType_DisconnectClientRet = _RobotRaconteurPython.MessageEntryType_DisconnectClientRet
r"""Disconnect client response"""
MessageEntryType_ConnectionTest = _RobotRaconteurPython.MessageEntryType_ConnectionTest
r"""Ping request"""
MessageEntryType_ConnectionTestRet = _RobotRaconteurPython.MessageEntryType_ConnectionTestRet
r"""Pong response"""
MessageEntryType_GetNodeInfo = _RobotRaconteurPython.MessageEntryType_GetNodeInfo
r"""Get node information request (NodeID and NodeName)"""
MessageEntryType_GetNodeInfoRet = _RobotRaconteurPython.MessageEntryType_GetNodeInfoRet
r"""Get node information response"""
MessageEntryType_ReconnectClient = _RobotRaconteurPython.MessageEntryType_ReconnectClient
r"""(reserved)"""
MessageEntryType_ReconnectClientRet = _RobotRaconteurPython.MessageEntryType_ReconnectClientRet
r"""(reserved)"""
MessageEntryType_NodeCheckCapability = _RobotRaconteurPython.MessageEntryType_NodeCheckCapability
r"""Get node capability request"""
MessageEntryType_NodeCheckCapabilityRet = _RobotRaconteurPython.MessageEntryType_NodeCheckCapabilityRet
r"""Get node capability response"""
MessageEntryType_GetServiceAttributes = _RobotRaconteurPython.MessageEntryType_GetServiceAttributes
r"""Get service attributes request"""
MessageEntryType_GetServiceAttributesRet = _RobotRaconteurPython.MessageEntryType_GetServiceAttributesRet
r"""Get service attributes response"""
MessageEntryType_ConnectClientCombined = _RobotRaconteurPython.MessageEntryType_ConnectClientCombined
r"""Connect client combined operation request"""
MessageEntryType_ConnectClientCombinedRet = _RobotRaconteurPython.MessageEntryType_ConnectClientCombinedRet
r"""Connect client combined operation response"""
MessageEntryType_EndpointCheckCapability = _RobotRaconteurPython.MessageEntryType_EndpointCheckCapability
r"""Get endpoint capability request"""
MessageEntryType_EndpointCheckCapabilityRet = _RobotRaconteurPython.MessageEntryType_EndpointCheckCapabilityRet
r"""Get endpoint capability response"""
MessageEntryType_ServiceCheckCapabilityReq = _RobotRaconteurPython.MessageEntryType_ServiceCheckCapabilityReq
r"""Get service capability request"""
MessageEntryType_ServiceCheckCapabilityRet = _RobotRaconteurPython.MessageEntryType_ServiceCheckCapabilityRet
r"""Get service capability response"""
MessageEntryType_ClientKeepAliveReq = _RobotRaconteurPython.MessageEntryType_ClientKeepAliveReq
r"""Client keep alive request"""
MessageEntryType_ClientKeepAliveRet = _RobotRaconteurPython.MessageEntryType_ClientKeepAliveRet
r"""Client keep alive response"""
MessageEntryType_ClientSessionOpReq = _RobotRaconteurPython.MessageEntryType_ClientSessionOpReq
r"""Client session management operation request"""
MessageEntryType_ClientSessionOpRet = _RobotRaconteurPython.MessageEntryType_ClientSessionOpRet
r"""Client session management operation response"""
MessageEntryType_ServicePathReleasedReq = _RobotRaconteurPython.MessageEntryType_ServicePathReleasedReq
r"""Service path released event notification packet"""
MessageEntryType_ServicePathReleasedRet = _RobotRaconteurPython.MessageEntryType_ServicePathReleasedRet
r"""(reserved)"""
MessageEntryType_PropertyGetReq = _RobotRaconteurPython.MessageEntryType_PropertyGetReq
r"""Property member get request"""
MessageEntryType_PropertyGetRes = _RobotRaconteurPython.MessageEntryType_PropertyGetRes
r"""Property member get response"""
MessageEntryType_PropertySetReq = _RobotRaconteurPython.MessageEntryType_PropertySetReq
r"""Property member set request"""
MessageEntryType_PropertySetRes = _RobotRaconteurPython.MessageEntryType_PropertySetRes
r"""Property member set response"""
MessageEntryType_FunctionCallReq = _RobotRaconteurPython.MessageEntryType_FunctionCallReq
r"""Function member call request"""
MessageEntryType_FunctionCallRes = _RobotRaconteurPython.MessageEntryType_FunctionCallRes
r"""Function member call response"""
MessageEntryType_GeneratorNextReq = _RobotRaconteurPython.MessageEntryType_GeneratorNextReq
r"""Generater next call request"""
MessageEntryType_GeneratorNextRes = _RobotRaconteurPython.MessageEntryType_GeneratorNextRes
r"""Generater next call response"""
MessageEntryType_EventReq = _RobotRaconteurPython.MessageEntryType_EventReq
r"""Event member notification"""
MessageEntryType_EventRes = _RobotRaconteurPython.MessageEntryType_EventRes
r"""(reserved)"""
MessageEntryType_PipePacket = _RobotRaconteurPython.MessageEntryType_PipePacket
r"""Pipe member packet"""
MessageEntryType_PipePacketRet = _RobotRaconteurPython.MessageEntryType_PipePacketRet
r"""Pipe member packet ack"""
MessageEntryType_PipeConnectReq = _RobotRaconteurPython.MessageEntryType_PipeConnectReq
r"""Pipe member connect request"""
MessageEntryType_PipeConnectRet = _RobotRaconteurPython.MessageEntryType_PipeConnectRet
r"""Pipe member connect response"""
MessageEntryType_PipeDisconnectReq = _RobotRaconteurPython.MessageEntryType_PipeDisconnectReq
r"""Pipe member close request"""
MessageEntryType_PipeDisconnectRet = _RobotRaconteurPython.MessageEntryType_PipeDisconnectRet
r"""Pipe member close response"""
MessageEntryType_PipeClosed = _RobotRaconteurPython.MessageEntryType_PipeClosed
r"""Pipe member closed event notification packet"""
MessageEntryType_PipeClosedRet = _RobotRaconteurPython.MessageEntryType_PipeClosedRet
r"""(reserved)"""
MessageEntryType_CallbackCallReq = _RobotRaconteurPython.MessageEntryType_CallbackCallReq
r"""Callback member call request"""
MessageEntryType_CallbackCallRet = _RobotRaconteurPython.MessageEntryType_CallbackCallRet
r"""Callback member call response"""
MessageEntryType_WirePacket = _RobotRaconteurPython.MessageEntryType_WirePacket
r"""Wire member value packet"""
MessageEntryType_WirePacketRet = _RobotRaconteurPython.MessageEntryType_WirePacketRet
r"""(reserved)"""
MessageEntryType_WireConnectReq = _RobotRaconteurPython.MessageEntryType_WireConnectReq
r"""Wire member connect request"""
MessageEntryType_WireConnectRet = _RobotRaconteurPython.MessageEntryType_WireConnectRet
r"""Wire member connect response"""
MessageEntryType_WireDisconnectReq = _RobotRaconteurPython.MessageEntryType_WireDisconnectReq
r"""Wire member close request"""
MessageEntryType_WireDisconnectRet = _RobotRaconteurPython.MessageEntryType_WireDisconnectRet
r"""Wire member close response"""
MessageEntryType_WireClosed = _RobotRaconteurPython.MessageEntryType_WireClosed
r"""Wire member closed event notification packet"""
MessageEntryType_WireClosedRet = _RobotRaconteurPython.MessageEntryType_WireClosedRet
r"""(reserved)"""
MessageEntryType_MemoryRead = _RobotRaconteurPython.MessageEntryType_MemoryRead
r"""Memory member read request"""
MessageEntryType_MemoryReadRet = _RobotRaconteurPython.MessageEntryType_MemoryReadRet
r"""Memory member read response"""
MessageEntryType_MemoryWrite = _RobotRaconteurPython.MessageEntryType_MemoryWrite
r"""Memory member write request"""
MessageEntryType_MemoryWriteRet = _RobotRaconteurPython.MessageEntryType_MemoryWriteRet
r"""Memory member write response"""
MessageEntryType_MemoryGetParam = _RobotRaconteurPython.MessageEntryType_MemoryGetParam
r"""Memory member get param request"""
MessageEntryType_MemoryGetParamRet = _RobotRaconteurPython.MessageEntryType_MemoryGetParamRet
r"""Memory member get param response"""
MessageEntryType_WirePeekInValueReq = _RobotRaconteurPython.MessageEntryType_WirePeekInValueReq
r"""Wire member peek InValue request"""
MessageEntryType_WirePeekInValueRet = _RobotRaconteurPython.MessageEntryType_WirePeekInValueRet
r"""Wire member peek InValue response"""
MessageEntryType_WirePeekOutValueReq = _RobotRaconteurPython.MessageEntryType_WirePeekOutValueReq
r"""Wire member peek OutValue request"""
MessageEntryType_WirePeekOutValueRet = _RobotRaconteurPython.MessageEntryType_WirePeekOutValueRet
r"""Wire member peek OutValue response"""
MessageEntryType_WirePokeOutValueReq = _RobotRaconteurPython.MessageEntryType_WirePokeOutValueReq
r"""Wire member poke OutValue request"""
MessageEntryType_WirePokeOutValueRet = _RobotRaconteurPython.MessageEntryType_WirePokeOutValueRet
r"""Wire member poke OutValue response"""
MessageEntryType_WireTransportOpReq = _RobotRaconteurPython.MessageEntryType_WireTransportOpReq
MessageEntryType_WireTransportOpRet = _RobotRaconteurPython.MessageEntryType_WireTransportOpRet
MessageEntryType_WireTransportEvent = _RobotRaconteurPython.MessageEntryType_WireTransportEvent
MessageEntryType_WireTransportEventRet = _RobotRaconteurPython.MessageEntryType_WireTransportEventRet
MessageErrorType_None = _RobotRaconteurPython.MessageErrorType_None
r"""success"""
MessageErrorType_ConnectionError = _RobotRaconteurPython.MessageErrorType_ConnectionError
r"""connection error"""
MessageErrorType_ProtocolError = _RobotRaconteurPython.MessageErrorType_ProtocolError
r"""protocol error serializing messages"""
MessageErrorType_ServiceNotFound = _RobotRaconteurPython.MessageErrorType_ServiceNotFound
r"""specified service not found"""
MessageErrorType_ObjectNotFound = _RobotRaconteurPython.MessageErrorType_ObjectNotFound
r"""specified object not found"""
MessageErrorType_InvalidEndpoint = _RobotRaconteurPython.MessageErrorType_InvalidEndpoint
r"""specified endpoint not found"""
MessageErrorType_EndpointCommunicationFatalError = _RobotRaconteurPython.MessageErrorType_EndpointCommunicationFatalError
r"""communication with specified endpoint failed"""
MessageErrorType_NodeNotFound = _RobotRaconteurPython.MessageErrorType_NodeNotFound
r"""specified node not found"""
MessageErrorType_ServiceError = _RobotRaconteurPython.MessageErrorType_ServiceError
r"""service error"""
MessageErrorType_MemberNotFound = _RobotRaconteurPython.MessageErrorType_MemberNotFound
r"""specified member not found"""
MessageErrorType_MemberFormatMismatch = _RobotRaconteurPython.MessageErrorType_MemberFormatMismatch
r"""message format incompatible with specified member"""
MessageErrorType_DataTypeMismatch = _RobotRaconteurPython.MessageErrorType_DataTypeMismatch
r"""data type did not match expected type"""
MessageErrorType_DataTypeError = _RobotRaconteurPython.MessageErrorType_DataTypeError
r"""data type failure"""
MessageErrorType_DataSerializationError = _RobotRaconteurPython.MessageErrorType_DataSerializationError
r"""failure serializing data type"""
MessageErrorType_MessageEntryNotFound = _RobotRaconteurPython.MessageErrorType_MessageEntryNotFound
r"""specified message entry not found"""
MessageErrorType_MessageElementNotFound = _RobotRaconteurPython.MessageErrorType_MessageElementNotFound
r"""specified message element not found"""
MessageErrorType_UnknownError = _RobotRaconteurPython.MessageErrorType_UnknownError
r"""unknown exception occurred check `error name`"""
MessageErrorType_InvalidOperation = _RobotRaconteurPython.MessageErrorType_InvalidOperation
r"""invalid operation attempted"""
MessageErrorType_InvalidArgument = _RobotRaconteurPython.MessageErrorType_InvalidArgument
r"""argument is invalid"""
MessageErrorType_OperationFailed = _RobotRaconteurPython.MessageErrorType_OperationFailed
r"""the requested operation failed"""
MessageErrorType_NullValue = _RobotRaconteurPython.MessageErrorType_NullValue
r"""invalid null value"""
MessageErrorType_InternalError = _RobotRaconteurPython.MessageErrorType_InternalError
r"""internal error"""
MessageErrorType_SystemResourcePermissionDenied = _RobotRaconteurPython.MessageErrorType_SystemResourcePermissionDenied
r"""permission denied to a system resource"""
MessageErrorType_OutOfSystemResource = _RobotRaconteurPython.MessageErrorType_OutOfSystemResource
r"""system resource has been exhausted"""
MessageErrorType_SystemResourceError = _RobotRaconteurPython.MessageErrorType_SystemResourceError
r"""system resource error"""
MessageErrorType_ResourceNotFound = _RobotRaconteurPython.MessageErrorType_ResourceNotFound
r"""a required resource was not found"""
MessageErrorType_IOError = _RobotRaconteurPython.MessageErrorType_IOError
r"""input/output error"""
MessageErrorType_BufferLimitViolation = _RobotRaconteurPython.MessageErrorType_BufferLimitViolation
r"""a buffer underrun/overrun has occurred"""
MessageErrorType_ServiceDefinitionError = _RobotRaconteurPython.MessageErrorType_ServiceDefinitionError
r"""service definition parse or validation error"""
MessageErrorType_OutOfRange = _RobotRaconteurPython.MessageErrorType_OutOfRange
r"""attempt to access an out of range element"""
MessageErrorType_KeyNotFound = _RobotRaconteurPython.MessageErrorType_KeyNotFound
r"""key not found"""
MessageErrorType_InvalidConfiguration = _RobotRaconteurPython.MessageErrorType_InvalidConfiguration
r"""invalid configuration specified"""
MessageErrorType_InvalidState = _RobotRaconteurPython.MessageErrorType_InvalidState
r"""invalid state"""
MessageErrorType_RemoteError = _RobotRaconteurPython.MessageErrorType_RemoteError
r"""error occurred on remote node"""
MessageErrorType_RequestTimeout = _RobotRaconteurPython.MessageErrorType_RequestTimeout
r"""request timed out"""
MessageErrorType_ReadOnlyMember = _RobotRaconteurPython.MessageErrorType_ReadOnlyMember
r"""attempt to write to a read only member"""
MessageErrorType_WriteOnlyMember = _RobotRaconteurPython.MessageErrorType_WriteOnlyMember
r"""attempt to read a write only member"""
MessageErrorType_NotImplementedError = _RobotRaconteurPython.MessageErrorType_NotImplementedError
r"""member not implemented"""
MessageErrorType_MemberBusy = _RobotRaconteurPython.MessageErrorType_MemberBusy
r"""member is busy try again"""
MessageErrorType_ValueNotSet = _RobotRaconteurPython.MessageErrorType_ValueNotSet
r"""value has not been set"""
MessageErrorType_AbortOperation = _RobotRaconteurPython.MessageErrorType_AbortOperation
r"""abort operation (generator only)"""
MessageErrorType_OperationAborted = _RobotRaconteurPython.MessageErrorType_OperationAborted
r"""the operation has been aborted"""
MessageErrorType_StopIteration = _RobotRaconteurPython.MessageErrorType_StopIteration
r"""stop generator iteration (generator only)"""
MessageErrorType_OperationTimeout = _RobotRaconteurPython.MessageErrorType_OperationTimeout
r"""the operation has timed out"""
MessageErrorType_OperationCancelled = _RobotRaconteurPython.MessageErrorType_OperationCancelled
r"""the operation has been cancelled"""
MessageErrorType_AuthenticationError = _RobotRaconteurPython.MessageErrorType_AuthenticationError
r"""authentication has failed"""
MessageErrorType_ObjectLockedError = _RobotRaconteurPython.MessageErrorType_ObjectLockedError
r"""the object is locked by another user or session"""
MessageErrorType_PermissionDenied = _RobotRaconteurPython.MessageErrorType_PermissionDenied
r"""permission to service object or resource denied"""
ClientServiceListenerEventType_ClientClosed = _RobotRaconteurPython.ClientServiceListenerEventType_ClientClosed
r"""client has been closed"""
ClientServiceListenerEventType_ClientConnectionTimeout = _RobotRaconteurPython.ClientServiceListenerEventType_ClientConnectionTimeout
r"""client connection has timed out"""
ClientServiceListenerEventType_TransportConnectionConnected = _RobotRaconteurPython.ClientServiceListenerEventType_TransportConnectionConnected
r"""client transport has been connected"""
ClientServiceListenerEventType_TransportConnectionClosed = _RobotRaconteurPython.ClientServiceListenerEventType_TransportConnectionClosed
r"""client transport connection has been closed or lost"""
ClientServiceListenerEventType_ServicePathReleased = _RobotRaconteurPython.ClientServiceListenerEventType_ServicePathReleased
r"""client has received notification that service path was released"""
ServerServiceListenerEventType_ServiceClosed = _RobotRaconteurPython.ServerServiceListenerEventType_ServiceClosed
r"""service has been closed"""
ServerServiceListenerEventType_ClientConnected = _RobotRaconteurPython.ServerServiceListenerEventType_ClientConnected
r"""client has connected"""
ServerServiceListenerEventType_ClientDisconnected = _RobotRaconteurPython.ServerServiceListenerEventType_ClientDisconnected
r"""client has disconnected"""
MemberDefinition_Direction_both = _RobotRaconteurPython.MemberDefinition_Direction_both
r"""member supports read and write"""
MemberDefinition_Direction_readonly = _RobotRaconteurPython.MemberDefinition_Direction_readonly
r"""member is readonly"""
MemberDefinition_Direction_writeonly = _RobotRaconteurPython.MemberDefinition_Direction_writeonly
r"""member is writeonly"""
MemberDefinition_NoLock_none = _RobotRaconteurPython.MemberDefinition_NoLock_none
r"""member cannot be accessed by other users/sessions when object is locked"""
MemberDefinition_NoLock_all = _RobotRaconteurPython.MemberDefinition_NoLock_all
r"""member can be accessed by other users/sessions when object is locked"""
MemberDefinition_NoLock_read = _RobotRaconteurPython.MemberDefinition_NoLock_read
r"""member can be read by other users/sessions when object is locked"""
RR_TIMEOUT_INFINITE = _RobotRaconteurPython.RR_TIMEOUT_INFINITE
r"""Disable timeout for asynchronous operations"""
RR_VALUE_LIFESPAN_INFINITE = _RobotRaconteurPython.RR_VALUE_LIFESPAN_INFINITE
r"""Set wire values to have infinite lifespan and will not expire"""
LogLevel_Trace = _RobotRaconteurPython.LogLevel_Trace
r"""`trace` log level"""
LogLevel_Debug = _RobotRaconteurPython.LogLevel_Debug
r"""`debug` log level"""
LogLevel_Info = _RobotRaconteurPython.LogLevel_Info
r"""`info` log level"""
LogLevel_Warning = _RobotRaconteurPython.LogLevel_Warning
r"""`warning` log level"""
LogLevel_Error = _RobotRaconteurPython.LogLevel_Error
r"""`error` log level"""
LogLevel_Fatal = _RobotRaconteurPython.LogLevel_Fatal
r"""`fatal` log level"""
LogLevel_Disable = _RobotRaconteurPython.LogLevel_Disable
r"""`disabled` log level"""
LogComponent_Default = _RobotRaconteurPython.LogComponent_Default
r"""default component"""
LogComponent_Node = _RobotRaconteurPython.LogComponent_Node
r"""Robot Raconteur Node component"""
LogComponent_Transport = _RobotRaconteurPython.LogComponent_Transport
r"""tranport component"""
LogComponent_Message = _RobotRaconteurPython.LogComponent_Message
r"""message or message serialization component"""
LogComponent_Client = _RobotRaconteurPython.LogComponent_Client
r"""client component"""
LogComponent_Service = _RobotRaconteurPython.LogComponent_Service
r"""service component"""
LogComponent_Member = _RobotRaconteurPython.LogComponent_Member
r"""member component"""
LogComponent_Pack = _RobotRaconteurPython.LogComponent_Pack
r"""data message packing component"""
LogComponent_Unpack = _RobotRaconteurPython.LogComponent_Unpack
r"""data message unpacking component"""
LogComponent_ServiceDefinition = _RobotRaconteurPython.LogComponent_ServiceDefinition
r"""service definition parser component"""
LogComponent_Discovery = _RobotRaconteurPython.LogComponent_Discovery
r"""node/service discovery component"""
LogComponent_Subscription = _RobotRaconteurPython.LogComponent_Subscription
r"""subscription component"""
LogComponent_NodeSetup = _RobotRaconteurPython.LogComponent_NodeSetup
r"""node setup component"""
LogComponent_Utility = _RobotRaconteurPython.LogComponent_Utility
r"""utility component"""
LogComponent_RobDefLib = _RobotRaconteurPython.LogComponent_RobDefLib
r"""service definition standard library component (external)"""
LogComponent_User = _RobotRaconteurPython.LogComponent_User
r"""user component (external)"""
LogComponent_UserClient = _RobotRaconteurPython.LogComponent_UserClient
r"""user client component (external)"""
LogComponent_UserService = _RobotRaconteurPython.LogComponent_UserService
r"""user service component (external)"""
LogComponent_ThirdParty = _RobotRaconteurPython.LogComponent_ThirdParty
r"""third party library component (external)"""
class vectorstring(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
def iterator(self):
return _RobotRaconteurPython.vectorstring_iterator(self)
def __iter__(self):
return self.iterator()
def __nonzero__(self):
return _RobotRaconteurPython.vectorstring___nonzero__(self)
def __bool__(self):
return _RobotRaconteurPython.vectorstring___bool__(self)
def __len__(self):
return _RobotRaconteurPython.vectorstring___len__(self)
def __getslice__(self, i, j):
return _RobotRaconteurPython.vectorstring___getslice__(self, i, j)
def __setslice__(self, *args):
return _RobotRaconteurPython.vectorstring___setslice__(self, *args)
def __delslice__(self, i, j):
return _RobotRaconteurPython.vectorstring___delslice__(self, i, j)
def __delitem__(self, *args):
return _RobotRaconteurPython.vectorstring___delitem__(self, *args)
def __getitem__(self, *args):
return _RobotRaconteurPython.vectorstring___getitem__(self, *args)
def __setitem__(self, *args):
return _RobotRaconteurPython.vectorstring___setitem__(self, *args)
def pop(self):
return _RobotRaconteurPython.vectorstring_pop(self)
def append(self, x):
return _RobotRaconteurPython.vectorstring_append(self, x)
def empty(self):
return _RobotRaconteurPython.vectorstring_empty(self)
def size(self):
return _RobotRaconteurPython.vectorstring_size(self)
def swap(self, v):
return _RobotRaconteurPython.vectorstring_swap(self, v)
def begin(self):
return _RobotRaconteurPython.vectorstring_begin(self)
def end(self):
return _RobotRaconteurPython.vectorstring_end(self)
def rbegin(self):
return _RobotRaconteurPython.vectorstring_rbegin(self)
def rend(self):
return _RobotRaconteurPython.vectorstring_rend(self)
def clear(self):
return _RobotRaconteurPython.vectorstring_clear(self)
def get_allocator(self):
return _RobotRaconteurPython.vectorstring_get_allocator(self)
def pop_back(self):
return _RobotRaconteurPython.vectorstring_pop_back(self)
def erase(self, *args):
return _RobotRaconteurPython.vectorstring_erase(self, *args)
def __init__(self, *args):
_RobotRaconteurPython.vectorstring_swiginit(self, _RobotRaconteurPython.new_vectorstring(*args))
def push_back(self, x):
return _RobotRaconteurPython.vectorstring_push_back(self, x)
def front(self):
return _RobotRaconteurPython.vectorstring_front(self)
def back(self):
return _RobotRaconteurPython.vectorstring_back(self)
def assign(self, n, x):
return _RobotRaconteurPython.vectorstring_assign(self, n, x)
def resize(self, *args):
return _RobotRaconteurPython.vectorstring_resize(self, *args)
def insert(self, *args):
return _RobotRaconteurPython.vectorstring_insert(self, *args)
def reserve(self, n):
return _RobotRaconteurPython.vectorstring_reserve(self, n)
def capacity(self):
return _RobotRaconteurPython.vectorstring_capacity(self)
__swig_destroy__ = _RobotRaconteurPython.delete_vectorstring
# Register vectorstring in _RobotRaconteurPython:
_RobotRaconteurPython.vectorstring_swigregister(vectorstring)
cvar = _RobotRaconteurPython.cvar
MessageFlags_ROUTING_INFO = cvar.MessageFlags_ROUTING_INFO
MessageFlags_ENDPOINT_INFO = cvar.MessageFlags_ENDPOINT_INFO
MessageFlags_PRIORITY = cvar.MessageFlags_PRIORITY
MessageFlags_UNRELIABLE = cvar.MessageFlags_UNRELIABLE
MessageFlags_META_INFO = cvar.MessageFlags_META_INFO
MessageFlags_STRING_TABLE = cvar.MessageFlags_STRING_TABLE
MessageFlags_MULTIPLE_ENTRIES = cvar.MessageFlags_MULTIPLE_ENTRIES
MessageFlags_EXTENDED = cvar.MessageFlags_EXTENDED
MessageFlags_Version2Compat = cvar.MessageFlags_Version2Compat
MessageEntryFlags_SERVICE_PATH_STR = cvar.MessageEntryFlags_SERVICE_PATH_STR
MessageEntryFlags_SERVICE_PATH_CODE = cvar.MessageEntryFlags_SERVICE_PATH_CODE
MessageEntryFlags_MEMBER_NAME_STR = cvar.MessageEntryFlags_MEMBER_NAME_STR
MessageEntryFlags_MEMBER_NAME_CODE = cvar.MessageEntryFlags_MEMBER_NAME_CODE
MessageEntryFlags_REQUEST_ID = cvar.MessageEntryFlags_REQUEST_ID
MessageEntryFlags_ERROR = cvar.MessageEntryFlags_ERROR
MessageEntryFlags_META_INFO = cvar.MessageEntryFlags_META_INFO
MessageEntryFlags_EXTENDED = cvar.MessageEntryFlags_EXTENDED
MessageEntryFlags_Version2Compat = cvar.MessageEntryFlags_Version2Compat
MessageElementFlags_ELEMENT_NAME_STR = cvar.MessageElementFlags_ELEMENT_NAME_STR
MessageElementFlags_ELEMENT_NAME_CODE = cvar.MessageElementFlags_ELEMENT_NAME_CODE
MessageElementFlags_ELEMENT_NUMBER = cvar.MessageElementFlags_ELEMENT_NUMBER
MessageElementFlags_ELEMENT_TYPE_NAME_STR = cvar.MessageElementFlags_ELEMENT_TYPE_NAME_STR
MessageElementFlags_ELEMENT_TYPE_NAME_CODE = cvar.MessageElementFlags_ELEMENT_TYPE_NAME_CODE
MessageElementFlags_META_INFO = cvar.MessageElementFlags_META_INFO
MessageElementFlags_EXTENDED = cvar.MessageElementFlags_EXTENDED
MessageElementFlags_Version2Compat = cvar.MessageElementFlags_Version2Compat
TranspartCapabilityCode_PAGE_MASK = cvar.TranspartCapabilityCode_PAGE_MASK
TransportCapabilityCode_MESSAGE2_BASIC_PAGE = cvar.TransportCapabilityCode_MESSAGE2_BASIC_PAGE
TransportCapabilityCode_MESSAGE2_BASIC_ENABLE = cvar.TransportCapabilityCode_MESSAGE2_BASIC_ENABLE
TransportCapabilityCode_MESSAGE2_BASIC_CONNECTCOMBINED = cvar.TransportCapabilityCode_MESSAGE2_BASIC_CONNECTCOMBINED
TransportCapabilityCode_MESSAGE4_BASIC_PAGE = cvar.TransportCapabilityCode_MESSAGE4_BASIC_PAGE
TransportCapabilityCode_MESSAGE4_BASIC_ENABLE = cvar.TransportCapabilityCode_MESSAGE4_BASIC_ENABLE
TransportCapabilityCode_MESSAGE4_BASIC_CONNECTCOMBINED = cvar.TransportCapabilityCode_MESSAGE4_BASIC_CONNECTCOMBINED
TransportCapabilityCode_MESSAGE4_STRINGTABLE_PAGE = cvar.TransportCapabilityCode_MESSAGE4_STRINGTABLE_PAGE
TransportCapabilityCode_MESSAGE4_STRINGTABLE_ENABLE = cvar.TransportCapabilityCode_MESSAGE4_STRINGTABLE_ENABLE
TransportCapabilityCode_MESSAGE4_STRINGTABLE_MESSAGE_LOCAL = cvar.TransportCapabilityCode_MESSAGE4_STRINGTABLE_MESSAGE_LOCAL
TransportCapabilityCode_MESSAGE4_STRINGTABLE_STANDARD_TABLE = cvar.TransportCapabilityCode_MESSAGE4_STRINGTABLE_STANDARD_TABLE
class vectorint32(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
def iterator(self):
return _RobotRaconteurPython.vectorint32_iterator(self)
def __iter__(self):
return self.iterator()
def __nonzero__(self):
return _RobotRaconteurPython.vectorint32___nonzero__(self)
def __bool__(self):
return _RobotRaconteurPython.vectorint32___bool__(self)
def __len__(self):
return _RobotRaconteurPython.vectorint32___len__(self)
def __getslice__(self, i, j):
return _RobotRaconteurPython.vectorint32___getslice__(self, i, j)
def __setslice__(self, *args):
return _RobotRaconteurPython.vectorint32___setslice__(self, *args)
def __delslice__(self, i, j):
return _RobotRaconteurPython.vectorint32___delslice__(self, i, j)
def __delitem__(self, *args):
return _RobotRaconteurPython.vectorint32___delitem__(self, *args)
def __getitem__(self, *args):
return _RobotRaconteurPython.vectorint32___getitem__(self, *args)
def __setitem__(self, *args):
return _RobotRaconteurPython.vectorint32___setitem__(self, *args)
def pop(self):
return _RobotRaconteurPython.vectorint32_pop(self)
def append(self, x):
return _RobotRaconteurPython.vectorint32_append(self, x)
def empty(self):
return _RobotRaconteurPython.vectorint32_empty(self)
def size(self):
return _RobotRaconteurPython.vectorint32_size(self)
def swap(self, v):
return _RobotRaconteurPython.vectorint32_swap(self, v)
def begin(self):
return _RobotRaconteurPython.vectorint32_begin(self)
def end(self):
return _RobotRaconteurPython.vectorint32_end(self)
def rbegin(self):
return _RobotRaconteurPython.vectorint32_rbegin(self)
def rend(self):
return _RobotRaconteurPython.vectorint32_rend(self)
def clear(self):
return _RobotRaconteurPython.vectorint32_clear(self)
def get_allocator(self):
return _RobotRaconteurPython.vectorint32_get_allocator(self)
def pop_back(self):
return _RobotRaconteurPython.vectorint32_pop_back(self)
def erase(self, *args):
return _RobotRaconteurPython.vectorint32_erase(self, *args)
def __init__(self, *args):
_RobotRaconteurPython.vectorint32_swiginit(self, _RobotRaconteurPython.new_vectorint32(*args))
def push_back(self, x):
return _RobotRaconteurPython.vectorint32_push_back(self, x)
def front(self):
return _RobotRaconteurPython.vectorint32_front(self)
def back(self):
return _RobotRaconteurPython.vectorint32_back(self)
def assign(self, n, x):
return _RobotRaconteurPython.vectorint32_assign(self, n, x)
def resize(self, *args):
return _RobotRaconteurPython.vectorint32_resize(self, *args)
def insert(self, *args):
return _RobotRaconteurPython.vectorint32_insert(self, *args)
def reserve(self, n):
return _RobotRaconteurPython.vectorint32_reserve(self, n)
def capacity(self):
return _RobotRaconteurPython.vectorint32_capacity(self)
__swig_destroy__ = _RobotRaconteurPython.delete_vectorint32
# Register vectorint32 in _RobotRaconteurPython:
_RobotRaconteurPython.vectorint32_swigregister(vectorint32)
class vectoruint32(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
def iterator(self):
return _RobotRaconteurPython.vectoruint32_iterator(self)
def __iter__(self):
return self.iterator()
def __nonzero__(self):
return _RobotRaconteurPython.vectoruint32___nonzero__(self)
def __bool__(self):
return _RobotRaconteurPython.vectoruint32___bool__(self)
def __len__(self):
return _RobotRaconteurPython.vectoruint32___len__(self)
def __getslice__(self, i, j):
return _RobotRaconteurPython.vectoruint32___getslice__(self, i, j)
def __setslice__(self, *args):
return _RobotRaconteurPython.vectoruint32___setslice__(self, *args)
def __delslice__(self, i, j):
return _RobotRaconteurPython.vectoruint32___delslice__(self, i, j)
def __delitem__(self, *args):
return _RobotRaconteurPython.vectoruint32___delitem__(self, *args)
def __getitem__(self, *args):
return _RobotRaconteurPython.vectoruint32___getitem__(self, *args)
def __setitem__(self, *args):
return _RobotRaconteurPython.vectoruint32___setitem__(self, *args)
def pop(self):
return _RobotRaconteurPython.vectoruint32_pop(self)
def append(self, x):
return _RobotRaconteurPython.vectoruint32_append(self, x)
def empty(self):
return _RobotRaconteurPython.vectoruint32_empty(self)
def size(self):
return _RobotRaconteurPython.vectoruint32_size(self)
def swap(self, v):
return _RobotRaconteurPython.vectoruint32_swap(self, v)
def begin(self):
return _RobotRaconteurPython.vectoruint32_begin(self)
def end(self):
return _RobotRaconteurPython.vectoruint32_end(self)
def rbegin(self):
return _RobotRaconteurPython.vectoruint32_rbegin(self)
def rend(self):
return _RobotRaconteurPython.vectoruint32_rend(self)
def clear(self):
return _RobotRaconteurPython.vectoruint32_clear(self)
def get_allocator(self):
return _RobotRaconteurPython.vectoruint32_get_allocator(self)
def pop_back(self):
return _RobotRaconteurPython.vectoruint32_pop_back(self)
def erase(self, *args):
return _RobotRaconteurPython.vectoruint32_erase(self, *args)
def __init__(self, *args):
_RobotRaconteurPython.vectoruint32_swiginit(self, _RobotRaconteurPython.new_vectoruint32(*args))
def push_back(self, x):
return _RobotRaconteurPython.vectoruint32_push_back(self, x)
def front(self):
return _RobotRaconteurPython.vectoruint32_front(self)
def back(self):
return _RobotRaconteurPython.vectoruint32_back(self)
def assign(self, n, x):
return _RobotRaconteurPython.vectoruint32_assign(self, n, x)
def resize(self, *args):
return _RobotRaconteurPython.vectoruint32_resize(self, *args)
def insert(self, *args):
return _RobotRaconteurPython.vectoruint32_insert(self, *args)
def reserve(self, n):
return _RobotRaconteurPython.vectoruint32_reserve(self, n)
def capacity(self):
return _RobotRaconteurPython.vectoruint32_capacity(self)
__swig_destroy__ = _RobotRaconteurPython.delete_vectoruint32
# Register vectoruint32 in _RobotRaconteurPython:
_RobotRaconteurPython.vectoruint32_swigregister(vectoruint32)
class vector_int8_t(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
def iterator(self):
return _RobotRaconteurPython.vector_int8_t_iterator(self)
def __iter__(self):
return self.iterator()
def __nonzero__(self):
return _RobotRaconteurPython.vector_int8_t___nonzero__(self)
def __bool__(self):
return _RobotRaconteurPython.vector_int8_t___bool__(self)
def __len__(self):
return _RobotRaconteurPython.vector_int8_t___len__(self)
def __getslice__(self, i, j):
return _RobotRaconteurPython.vector_int8_t___getslice__(self, i, j)
def __setslice__(self, *args):
return _RobotRaconteurPython.vector_int8_t___setslice__(self, *args)
def __delslice__(self, i, j):
return _RobotRaconteurPython.vector_int8_t___delslice__(self, i, j)
def __delitem__(self, *args):
return _RobotRaconteurPython.vector_int8_t___delitem__(self, *args)
def __getitem__(self, *args):
return _RobotRaconteurPython.vector_int8_t___getitem__(self, *args)
def __setitem__(self, *args):
return _RobotRaconteurPython.vector_int8_t___setitem__(self, *args)
def pop(self):
return _RobotRaconteurPython.vector_int8_t_pop(self)
def append(self, x):
return _RobotRaconteurPython.vector_int8_t_append(self, x)
def empty(self):
return _RobotRaconteurPython.vector_int8_t_empty(self)
def size(self):
return _RobotRaconteurPython.vector_int8_t_size(self)
def swap(self, v):
return _RobotRaconteurPython.vector_int8_t_swap(self, v)
def begin(self):
return _RobotRaconteurPython.vector_int8_t_begin(self)
def end(self):
return _RobotRaconteurPython.vector_int8_t_end(self)
def rbegin(self):
return _RobotRaconteurPython.vector_int8_t_rbegin(self)
def rend(self):
return _RobotRaconteurPython.vector_int8_t_rend(self)
def clear(self):
return _RobotRaconteurPython.vector_int8_t_clear(self)
def get_allocator(self):
return _RobotRaconteurPython.vector_int8_t_get_allocator(self)
def pop_back(self):
return _RobotRaconteurPython.vector_int8_t_pop_back(self)
def erase(self, *args):
return _RobotRaconteurPython.vector_int8_t_erase(self, *args)
def __init__(self, *args):
_RobotRaconteurPython.vector_int8_t_swiginit(self, _RobotRaconteurPython.new_vector_int8_t(*args))
def push_back(self, x):
return _RobotRaconteurPython.vector_int8_t_push_back(self, x)
def front(self):
return _RobotRaconteurPython.vector_int8_t_front(self)
def back(self):
return _RobotRaconteurPython.vector_int8_t_back(self)
def assign(self, n, x):
return _RobotRaconteurPython.vector_int8_t_assign(self, n, x)
def resize(self, *args):
return _RobotRaconteurPython.vector_int8_t_resize(self, *args)
def insert(self, *args):
return _RobotRaconteurPython.vector_int8_t_insert(self, *args)
def reserve(self, n):
return _RobotRaconteurPython.vector_int8_t_reserve(self, n)
def capacity(self):
return _RobotRaconteurPython.vector_int8_t_capacity(self)
__swig_destroy__ = _RobotRaconteurPython.delete_vector_int8_t
# Register vector_int8_t in _RobotRaconteurPython:
_RobotRaconteurPython.vector_int8_t_swigregister(vector_int8_t)
class vector_uint8_t(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
def iterator(self):
return _RobotRaconteurPython.vector_uint8_t_iterator(self)
def __iter__(self):
return self.iterator()
def __nonzero__(self):
return _RobotRaconteurPython.vector_uint8_t___nonzero__(self)
def __bool__(self):
return _RobotRaconteurPython.vector_uint8_t___bool__(self)
def __len__(self):
return _RobotRaconteurPython.vector_uint8_t___len__(self)
def __getslice__(self, i, j):
return _RobotRaconteurPython.vector_uint8_t___getslice__(self, i, j)
def __setslice__(self, *args):
return _RobotRaconteurPython.vector_uint8_t___setslice__(self, *args)
def __delslice__(self, i, j):
return _RobotRaconteurPython.vector_uint8_t___delslice__(self, i, j)
def __delitem__(self, *args):
return _RobotRaconteurPython.vector_uint8_t___delitem__(self, *args)
def __getitem__(self, *args):
return _RobotRaconteurPython.vector_uint8_t___getitem__(self, *args)
def __setitem__(self, *args):
return _RobotRaconteurPython.vector_uint8_t___setitem__(self, *args)
def pop(self):
return _RobotRaconteurPython.vector_uint8_t_pop(self)
def append(self, x):
return _RobotRaconteurPython.vector_uint8_t_append(self, x)
def empty(self):
return _RobotRaconteurPython.vector_uint8_t_empty(self)
def size(self):
return _RobotRaconteurPython.vector_uint8_t_size(self)
def swap(self, v):
return _RobotRaconteurPython.vector_uint8_t_swap(self, v)
def begin(self):
return _RobotRaconteurPython.vector_uint8_t_begin(self)
def end(self):
return _RobotRaconteurPython.vector_uint8_t_end(self)
def rbegin(self):
return _RobotRaconteurPython.vector_uint8_t_rbegin(self)
def rend(self):
return _RobotRaconteurPython.vector_uint8_t_rend(self)
def clear(self):
return _RobotRaconteurPython.vector_uint8_t_clear(self)
def get_allocator(self):
return _RobotRaconteurPython.vector_uint8_t_get_allocator(self)
def pop_back(self):
return _RobotRaconteurPython.vector_uint8_t_pop_back(self)
def erase(self, *args):
return _RobotRaconteurPython.vector_uint8_t_erase(self, *args)
def __init__(self, *args):
_RobotRaconteurPython.vector_uint8_t_swiginit(self, _RobotRaconteurPython.new_vector_uint8_t(*args))
def push_back(self, x):
return _RobotRaconteurPython.vector_uint8_t_push_back(self, x)
def front(self):
return _RobotRaconteurPython.vector_uint8_t_front(self)
def back(self):
return _RobotRaconteurPython.vector_uint8_t_back(self)
def assign(self, n, x):
return _RobotRaconteurPython.vector_uint8_t_assign(self, n, x)
def resize(self, *args):
return _RobotRaconteurPython.vector_uint8_t_resize(self, *args)
def insert(self, *args):
return _RobotRaconteurPython.vector_uint8_t_insert(self, *args)
def reserve(self, n):
return _RobotRaconteurPython.vector_uint8_t_reserve(self, n)
def capacity(self):
return _RobotRaconteurPython.vector_uint8_t_capacity(self)
__swig_destroy__ = _RobotRaconteurPython.delete_vector_uint8_t
# Register vector_uint8_t in _RobotRaconteurPython:
_RobotRaconteurPython.vector_uint8_t_swigregister(vector_uint8_t)
class vector_uint64_t(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
def iterator(self):
return _RobotRaconteurPython.vector_uint64_t_iterator(self)
def __iter__(self):
return self.iterator()
def __nonzero__(self):
return _RobotRaconteurPython.vector_uint64_t___nonzero__(self)
def __bool__(self):
return _RobotRaconteurPython.vector_uint64_t___bool__(self)
def __len__(self):
return _RobotRaconteurPython.vector_uint64_t___len__(self)
def __getslice__(self, i, j):
return _RobotRaconteurPython.vector_uint64_t___getslice__(self, i, j)
def __setslice__(self, *args):
return _RobotRaconteurPython.vector_uint64_t___setslice__(self, *args)
def __delslice__(self, i, j):
return _RobotRaconteurPython.vector_uint64_t___delslice__(self, i, j)
def __delitem__(self, *args):
return _RobotRaconteurPython.vector_uint64_t___delitem__(self, *args)
def __getitem__(self, *args):
return _RobotRaconteurPython.vector_uint64_t___getitem__(self, *args)
def __setitem__(self, *args):
return _RobotRaconteurPython.vector_uint64_t___setitem__(self, *args)
def pop(self):
return _RobotRaconteurPython.vector_uint64_t_pop(self)
def append(self, x):
return _RobotRaconteurPython.vector_uint64_t_append(self, x)
def empty(self):
return _RobotRaconteurPython.vector_uint64_t_empty(self)
def size(self):
return _RobotRaconteurPython.vector_uint64_t_size(self)
def swap(self, v):
return _RobotRaconteurPython.vector_uint64_t_swap(self, v)
def begin(self):
return _RobotRaconteurPython.vector_uint64_t_begin(self)
def end(self):
return _RobotRaconteurPython.vector_uint64_t_end(self)
def rbegin(self):
return _RobotRaconteurPython.vector_uint64_t_rbegin(self)
def rend(self):
return _RobotRaconteurPython.vector_uint64_t_rend(self)
def clear(self):
return _RobotRaconteurPython.vector_uint64_t_clear(self)
def get_allocator(self):
return _RobotRaconteurPython.vector_uint64_t_get_allocator(self)
def pop_back(self):
return _RobotRaconteurPython.vector_uint64_t_pop_back(self)
def erase(self, *args):
return _RobotRaconteurPython.vector_uint64_t_erase(self, *args)
def __init__(self, *args):
_RobotRaconteurPython.vector_uint64_t_swiginit(self, _RobotRaconteurPython.new_vector_uint64_t(*args))
def push_back(self, x):
return _RobotRaconteurPython.vector_uint64_t_push_back(self, x)
def front(self):
return _RobotRaconteurPython.vector_uint64_t_front(self)
def back(self):
return _RobotRaconteurPython.vector_uint64_t_back(self)
def assign(self, n, x):
return _RobotRaconteurPython.vector_uint64_t_assign(self, n, x)
def resize(self, *args):
return _RobotRaconteurPython.vector_uint64_t_resize(self, *args)
def insert(self, *args):
return _RobotRaconteurPython.vector_uint64_t_insert(self, *args)
def reserve(self, n):
return _RobotRaconteurPython.vector_uint64_t_reserve(self, n)
def capacity(self):
return _RobotRaconteurPython.vector_uint64_t_capacity(self)
__swig_destroy__ = _RobotRaconteurPython.delete_vector_uint64_t
# Register vector_uint64_t in _RobotRaconteurPython:
_RobotRaconteurPython.vector_uint64_t_swigregister(vector_uint64_t)
class map_strstr(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
def iterator(self):
return _RobotRaconteurPython.map_strstr_iterator(self)
def __iter__(self):
return self.iterator()
def __nonzero__(self):
return _RobotRaconteurPython.map_strstr___nonzero__(self)
def __bool__(self):
return _RobotRaconteurPython.map_strstr___bool__(self)
def __len__(self):
return _RobotRaconteurPython.map_strstr___len__(self)
def __iter__(self):
return self.key_iterator()
def iterkeys(self):
return self.key_iterator()
def itervalues(self):
return self.value_iterator()
def iteritems(self):
return self.iterator()
def __getitem__(self, key):
return _RobotRaconteurPython.map_strstr___getitem__(self, key)
def __delitem__(self, key):
return _RobotRaconteurPython.map_strstr___delitem__(self, key)
def has_key(self, key):
return _RobotRaconteurPython.map_strstr_has_key(self, key)
def keys(self):
return _RobotRaconteurPython.map_strstr_keys(self)
def values(self):
return _RobotRaconteurPython.map_strstr_values(self)
def items(self):
return _RobotRaconteurPython.map_strstr_items(self)
def __contains__(self, key):
return _RobotRaconteurPython.map_strstr___contains__(self, key)
def key_iterator(self):
return _RobotRaconteurPython.map_strstr_key_iterator(self)
def value_iterator(self):
return _RobotRaconteurPython.map_strstr_value_iterator(self)
def __setitem__(self, *args):
return _RobotRaconteurPython.map_strstr___setitem__(self, *args)
def asdict(self):
return _RobotRaconteurPython.map_strstr_asdict(self)
def __init__(self, *args):
_RobotRaconteurPython.map_strstr_swiginit(self, _RobotRaconteurPython.new_map_strstr(*args))
def empty(self):
return _RobotRaconteurPython.map_strstr_empty(self)
def size(self):
return _RobotRaconteurPython.map_strstr_size(self)
def swap(self, v):
return _RobotRaconteurPython.map_strstr_swap(self, v)
def begin(self):
return _RobotRaconteurPython.map_strstr_begin(self)
def end(self):
return _RobotRaconteurPython.map_strstr_end(self)
def rbegin(self):
return _RobotRaconteurPython.map_strstr_rbegin(self)
def rend(self):
return _RobotRaconteurPython.map_strstr_rend(self)
def clear(self):
return _RobotRaconteurPython.map_strstr_clear(self)
def get_allocator(self):
return _RobotRaconteurPython.map_strstr_get_allocator(self)
def count(self, x):
return _RobotRaconteurPython.map_strstr_count(self, x)
def erase(self, *args):
return _RobotRaconteurPython.map_strstr_erase(self, *args)
def find(self, x):
return _RobotRaconteurPython.map_strstr_find(self, x)
def lower_bound(self, x):
return _RobotRaconteurPython.map_strstr_lower_bound(self, x)
def upper_bound(self, x):
return _RobotRaconteurPython.map_strstr_upper_bound(self, x)
__swig_destroy__ = _RobotRaconteurPython.delete_map_strstr
# Register map_strstr in _RobotRaconteurPython:
_RobotRaconteurPython.map_strstr_swigregister(map_strstr)
def GetRRDataTypeString(type):
return _RobotRaconteurPython.GetRRDataTypeString(type)
def IsTypeRRArray(type):
return _RobotRaconteurPython.IsTypeRRArray(type)
def IsTypeNumeric(type):
return _RobotRaconteurPython.IsTypeNumeric(type)
@_swig_add_metaclass(_SwigNonDynamicMeta)
class RRObject(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__setattr__ = _swig_setattr_nondynamic_instance_variable(object.__setattr__)
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined")
__repr__ = _swig_repr
__swig_destroy__ = _RobotRaconteurPython.delete_RRObject
# Register RRObject in _RobotRaconteurPython:
_RobotRaconteurPython.RRObject_swigregister(RRObject)
@_swig_add_metaclass(_SwigNonDynamicMeta)
class RRValue(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__setattr__ = _swig_setattr_nondynamic_instance_variable(object.__setattr__)
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined")
__repr__ = _swig_repr
__swig_destroy__ = _RobotRaconteurPython.delete_RRValue
# Register RRValue in _RobotRaconteurPython:
_RobotRaconteurPython.RRValue_swigregister(RRValue)
class MessageElementData(RRValue):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
__repr__ = _swig_repr
def GetTypeString(self):
return _RobotRaconteurPython.MessageElementData_GetTypeString(self)
def GetTypeID(self):
return _RobotRaconteurPython.MessageElementData_GetTypeID(self)
__swig_destroy__ = _RobotRaconteurPython.delete_MessageElementData
# Register MessageElementData in _RobotRaconteurPython:
_RobotRaconteurPython.MessageElementData_swigregister(MessageElementData)
class RRBaseArray(MessageElementData):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
__repr__ = _swig_repr
def GetTypeString(self):
return _RobotRaconteurPython.RRBaseArray_GetTypeString(self)
def size(self):
return _RobotRaconteurPython.RRBaseArray_size(self)
def void_ptr(self):
return _RobotRaconteurPython.RRBaseArray_void_ptr(self)
def ElementSize(self):
return _RobotRaconteurPython.RRBaseArray_ElementSize(self)
def GetTypeID(self):
return _RobotRaconteurPython.RRBaseArray_GetTypeID(self)
__swig_destroy__ = _RobotRaconteurPython.delete_RRBaseArray
# Register RRBaseArray in _RobotRaconteurPython:
_RobotRaconteurPython.RRBaseArray_swigregister(RRBaseArray)
def AllocateRRArrayByType(type, length):
return _RobotRaconteurPython.AllocateRRArrayByType(type, length)
class RRMultiDimArrayUntyped(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
Dims = property(_RobotRaconteurPython.RRMultiDimArrayUntyped_Dims_get, _RobotRaconteurPython.RRMultiDimArrayUntyped_Dims_set)
Array = property(_RobotRaconteurPython.RRMultiDimArrayUntyped_Array_get, _RobotRaconteurPython.RRMultiDimArrayUntyped_Array_set)
def __init__(self):
_RobotRaconteurPython.RRMultiDimArrayUntyped_swiginit(self, _RobotRaconteurPython.new_RRMultiDimArrayUntyped())
__swig_destroy__ = _RobotRaconteurPython.delete_RRMultiDimArrayUntyped
# Register RRMultiDimArrayUntyped in _RobotRaconteurPython:
_RobotRaconteurPython.RRMultiDimArrayUntyped_swigregister(RRMultiDimArrayUntyped)
class ServicePathSegment(object):
r"""
Service path segment containing a name and an optional index
"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
def __init__(self, *args):
r"""
Construct a new ServicePathSegment with a name and an index
:param name: The name of the segment
:type name: str
:param index: The index of the segment
:type index: str
"""
_RobotRaconteurPython.ServicePathSegment_swiginit(self, _RobotRaconteurPython.new_ServicePathSegment(*args))
name = property(_RobotRaconteurPython.ServicePathSegment_name_get, _RobotRaconteurPython.ServicePathSegment_name_set, doc=r"""The name of the segment""")
index = property(_RobotRaconteurPython.ServicePathSegment_index_get, _RobotRaconteurPython.ServicePathSegment_index_set, doc=r"""The index of the segment""")
__swig_destroy__ = _RobotRaconteurPython.delete_ServicePathSegment
# Register ServicePathSegment in _RobotRaconteurPython:
_RobotRaconteurPython.ServicePathSegment_swigregister(ServicePathSegment)
class ServicePathSegments(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
def iterator(self):
return _RobotRaconteurPython.ServicePathSegments_iterator(self)
def __iter__(self):
return self.iterator()
def __nonzero__(self):
return _RobotRaconteurPython.ServicePathSegments___nonzero__(self)
def __bool__(self):
return _RobotRaconteurPython.ServicePathSegments___bool__(self)
def __len__(self):
return _RobotRaconteurPython.ServicePathSegments___len__(self)
def __getslice__(self, i, j):
return _RobotRaconteurPython.ServicePathSegments___getslice__(self, i, j)
def __setslice__(self, *args):
return _RobotRaconteurPython.ServicePathSegments___setslice__(self, *args)
def __delslice__(self, i, j):
return _RobotRaconteurPython.ServicePathSegments___delslice__(self, i, j)
def __delitem__(self, *args):
return _RobotRaconteurPython.ServicePathSegments___delitem__(self, *args)
def __getitem__(self, *args):
return _RobotRaconteurPython.ServicePathSegments___getitem__(self, *args)
def __setitem__(self, *args):
return _RobotRaconteurPython.ServicePathSegments___setitem__(self, *args)
def pop(self):
return _RobotRaconteurPython.ServicePathSegments_pop(self)
def append(self, x):
return _RobotRaconteurPython.ServicePathSegments_append(self, x)
def empty(self):
return _RobotRaconteurPython.ServicePathSegments_empty(self)
def size(self):
return _RobotRaconteurPython.ServicePathSegments_size(self)
def swap(self, v):
return _RobotRaconteurPython.ServicePathSegments_swap(self, v)
def begin(self):
return _RobotRaconteurPython.ServicePathSegments_begin(self)
def end(self):
return _RobotRaconteurPython.ServicePathSegments_end(self)
def rbegin(self):
return _RobotRaconteurPython.ServicePathSegments_rbegin(self)
def rend(self):
return _RobotRaconteurPython.ServicePathSegments_rend(self)
def clear(self):
return _RobotRaconteurPython.ServicePathSegments_clear(self)
def get_allocator(self):
return _RobotRaconteurPython.ServicePathSegments_get_allocator(self)
def pop_back(self):
return _RobotRaconteurPython.ServicePathSegments_pop_back(self)
def erase(self, *args):
return _RobotRaconteurPython.ServicePathSegments_erase(self, *args)
def __init__(self, *args):
_RobotRaconteurPython.ServicePathSegments_swiginit(self, _RobotRaconteurPython.new_ServicePathSegments(*args))
def push_back(self, x):
return _RobotRaconteurPython.ServicePathSegments_push_back(self, x)
def front(self):
return _RobotRaconteurPython.ServicePathSegments_front(self)
def back(self):
return _RobotRaconteurPython.ServicePathSegments_back(self)
def assign(self, n, x):
return _RobotRaconteurPython.ServicePathSegments_assign(self, n, x)
def resize(self, *args):
return _RobotRaconteurPython.ServicePathSegments_resize(self, *args)
def insert(self, *args):
return _RobotRaconteurPython.ServicePathSegments_insert(self, *args)
def reserve(self, n):
return _RobotRaconteurPython.ServicePathSegments_reserve(self, n)
def capacity(self):
return _RobotRaconteurPython.ServicePathSegments_capacity(self)
__swig_destroy__ = _RobotRaconteurPython.delete_ServicePathSegments
# Register ServicePathSegments in _RobotRaconteurPython:
_RobotRaconteurPython.ServicePathSegments_swigregister(ServicePathSegments)
def EncodeServicePathIndex(index):
r"""
Encode a service path index for use in a Robot Raconteur service path
:param index: The index to encode
:type index: str
:return: The encoded index
:rtype: str
"""
return _RobotRaconteurPython.EncodeServicePathIndex(index)
def DecodeServicePathIndex(index):
r"""
Decode a service path index from a Robot Raconteur service path
:param index: The index to decode
:type index: str
:return: The decoded index
:rtype: str
"""
return _RobotRaconteurPython.DecodeServicePathIndex(index)
def ParseServicePath(path):
r"""
Split a service path into segments
:param path: The path to split
:type path: str
:return: The segments of the path
:rtype: List[RobotRaconteur.ServicePathSegment]
"""
return _RobotRaconteurPython.ParseServicePath(path)
def BuildServicePath(segments):
r"""
Join service path segments into a path
:param segments: The segments to join
:type segments: List[RobotRaconteur.ServicePathSegment]
:return: The joined path
:rtype: str
"""
return _RobotRaconteurPython.BuildServicePath(segments)
def IsStringName(str):
return _RobotRaconteurPython.IsStringName(str)
def IsStringScopedName(str):
return _RobotRaconteurPython.IsStringScopedName(str)
def IsStringUUID(str):
return _RobotRaconteurPython.IsStringUUID(str)
def IsStringIdentifier(str):
return _RobotRaconteurPython.IsStringIdentifier(str)
class MultiDimArray_CalculateCopyIndicesIter(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
__repr__ = _swig_repr
def Next(self):
return _RobotRaconteurPython.MultiDimArray_CalculateCopyIndicesIter_Next(self)
__swig_destroy__ = _RobotRaconteurPython.delete_MultiDimArray_CalculateCopyIndicesIter
# Register MultiDimArray_CalculateCopyIndicesIter in _RobotRaconteurPython:
_RobotRaconteurPython.MultiDimArray_CalculateCopyIndicesIter_swigregister(MultiDimArray_CalculateCopyIndicesIter)
def MultiDimArray_CalculateCopyIndicesBeginIter(mema_dims, mema_pos, memb_dims, memb_pos, count):
return _RobotRaconteurPython.MultiDimArray_CalculateCopyIndicesBeginIter(mema_dims, mema_pos, memb_dims, memb_pos, count)
@_swig_add_metaclass(_SwigNonDynamicMeta)
class NodeID(object):
r"""
NodeID(Union[None,str,numpy.ndarray])
NodeID UUID storage and generation
Robot Raconteur uses NodeID and NodeName to uniquely identify a node.
NodeID is a UUID (Universally Unique ID), while NodeName is a string. The
NodeID is expected to be unique, while the NodeName is set by the user
and may not be unique. The NodeID class represents the UUID NodeID.
A UUID is a 128-bit randomly generated number that is statistically guaranteed
to be unique to a very high probability. NodeID uses the Boost.UUID library
to generate, manage, and store the UUID.
The UUID can be loaded from a string, bytes, or generated randomly at runtime.
It can be converted to a string.
The LocalTransport and ServerNodeSetup classes will automatically assign
a NodeID to a node when the local transport is started with a specified node name.
The generated NodeID is stored on the local system, and is associated with the node name.
It will be loaded when a node is started with the same NodeName.
NodeID with all zeros is considered "any" node.
"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__setattr__ = _swig_setattr_nondynamic_instance_variable(object.__setattr__)
__repr__ = _swig_repr
def ToString(self, *args):
return _RobotRaconteurPython.NodeID_ToString(self, *args)
@staticmethod
def NewUniqueID():
r"""
Generate a new random NodeID UUID
Returned UUID is statistically guaranteed to be unique
:return: NodeID The newly generated UUID
:rtype: RobotRaconteur.NodeID
"""
return _RobotRaconteurPython.NodeID_NewUniqueID()
def __eq__(self, id2):
return _RobotRaconteurPython.NodeID___eq__(self, id2)
def __ne__(self, id2):
return _RobotRaconteurPython.NodeID___ne__(self, id2)
def __lt__(self, id2):
return _RobotRaconteurPython.NodeID___lt__(self, id2)
def IsAnyNode(self):
r"""
Is the NodeID UUID all zeros
The all zero UUID respresents "any" node, or an unset NodeID
:return: True The NodeID UUID is all zeros, representing any node, False The NodeID UUID is not all zeros
:rtype: bool
"""
return _RobotRaconteurPython.NodeID_IsAnyNode(self)
@staticmethod
def GetAny():
r"""
Get the "any" NodeId
:return: The "any" NodeID
:rtype: RobotRaconteur.NodeID
"""
return _RobotRaconteurPython.NodeID_GetAny()
def __init__(self, *args):
_RobotRaconteurPython.NodeID_swiginit(self, _RobotRaconteurPython.new_NodeID(*args))
def ToByteArray(self):
r"""
Convert the NodeID UUID to bytes
:return: The UUID as bytes
:rtype: bytearray
"""
val = _RobotRaconteurPython.NodeID_ToByteArray(self)
return bytearray(val)
return val
@staticmethod
def FromByteArray(bytes):
r"""
Returns a new NodeID from bytes
:param bytes: The bytes
:type bytes: bytearray
:return: The new NodeID instance with the specified UUID
:rtype: RobotRaconteur.NodeID
"""
return _RobotRaconteurPython.NodeID_FromByteArray(bytes)
def __str__(self):
return self.ToString()
__swig_destroy__ = _RobotRaconteurPython.delete_NodeID
# Register NodeID in _RobotRaconteurPython:
_RobotRaconteurPython.NodeID_swigregister(NodeID)
def NodeID_NewUniqueID():
r"""
Generate a new random NodeID UUID
Returned UUID is statistically guaranteed to be unique
:return: NodeID The newly generated UUID
:rtype: RobotRaconteur.NodeID
"""
return _RobotRaconteurPython.NodeID_NewUniqueID()
def NodeID_GetAny():
r"""
Get the "any" NodeId
:return: The "any" NodeID
:rtype: RobotRaconteur.NodeID
"""
return _RobotRaconteurPython.NodeID_GetAny()
def NodeID_FromByteArray(bytes):
r"""
Returns a new NodeID from bytes
:param bytes: The bytes
:type bytes: bytearray
:return: The new NodeID instance with the specified UUID
:rtype: RobotRaconteur.NodeID
"""
return _RobotRaconteurPython.NodeID_FromByteArray(bytes)
class vectorptr_messageentry(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
def iterator(self):
return _RobotRaconteurPython.vectorptr_messageentry_iterator(self)
def __iter__(self):
return self.iterator()
def __nonzero__(self):
return _RobotRaconteurPython.vectorptr_messageentry___nonzero__(self)
def __bool__(self):
return _RobotRaconteurPython.vectorptr_messageentry___bool__(self)
def __len__(self):
return _RobotRaconteurPython.vectorptr_messageentry___len__(self)
def __getslice__(self, i, j):
return _RobotRaconteurPython.vectorptr_messageentry___getslice__(self, i, j)
def __setslice__(self, *args):
return _RobotRaconteurPython.vectorptr_messageentry___setslice__(self, *args)
def __delslice__(self, i, j):
return _RobotRaconteurPython.vectorptr_messageentry___delslice__(self, i, j)
def __delitem__(self, *args):
return _RobotRaconteurPython.vectorptr_messageentry___delitem__(self, *args)
def __getitem__(self, *args):
return _RobotRaconteurPython.vectorptr_messageentry___getitem__(self, *args)
def __setitem__(self, *args):
return _RobotRaconteurPython.vectorptr_messageentry___setitem__(self, *args)
def pop(self):
return _RobotRaconteurPython.vectorptr_messageentry_pop(self)
def append(self, x):
return _RobotRaconteurPython.vectorptr_messageentry_append(self, x)
def empty(self):
return _RobotRaconteurPython.vectorptr_messageentry_empty(self)
def size(self):
return _RobotRaconteurPython.vectorptr_messageentry_size(self)
def swap(self, v):
return _RobotRaconteurPython.vectorptr_messageentry_swap(self, v)
def begin(self):
return _RobotRaconteurPython.vectorptr_messageentry_begin(self)
def end(self):
return _RobotRaconteurPython.vectorptr_messageentry_end(self)
def rbegin(self):
return _RobotRaconteurPython.vectorptr_messageentry_rbegin(self)
def rend(self):
return _RobotRaconteurPython.vectorptr_messageentry_rend(self)
def clear(self):
return _RobotRaconteurPython.vectorptr_messageentry_clear(self)
def get_allocator(self):
return _RobotRaconteurPython.vectorptr_messageentry_get_allocator(self)
def pop_back(self):
return _RobotRaconteurPython.vectorptr_messageentry_pop_back(self)
def erase(self, *args):
return _RobotRaconteurPython.vectorptr_messageentry_erase(self, *args)
def __init__(self, *args):
_RobotRaconteurPython.vectorptr_messageentry_swiginit(self, _RobotRaconteurPython.new_vectorptr_messageentry(*args))
def push_back(self, x):
return _RobotRaconteurPython.vectorptr_messageentry_push_back(self, x)
def front(self):
return _RobotRaconteurPython.vectorptr_messageentry_front(self)
def back(self):
return _RobotRaconteurPython.vectorptr_messageentry_back(self)
def assign(self, n, x):
return _RobotRaconteurPython.vectorptr_messageentry_assign(self, n, x)
def resize(self, *args):
return _RobotRaconteurPython.vectorptr_messageentry_resize(self, *args)
def insert(self, *args):
return _RobotRaconteurPython.vectorptr_messageentry_insert(self, *args)
def reserve(self, n):
return _RobotRaconteurPython.vectorptr_messageentry_reserve(self, n)
def capacity(self):
return _RobotRaconteurPython.vectorptr_messageentry_capacity(self)
__swig_destroy__ = _RobotRaconteurPython.delete_vectorptr_messageentry
# Register vectorptr_messageentry in _RobotRaconteurPython:
_RobotRaconteurPython.vectorptr_messageentry_swigregister(vectorptr_messageentry)
class vectorptr_messageelement(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
def iterator(self):
return _RobotRaconteurPython.vectorptr_messageelement_iterator(self)
def __iter__(self):
return self.iterator()
def __nonzero__(self):
return _RobotRaconteurPython.vectorptr_messageelement___nonzero__(self)
def __bool__(self):
return _RobotRaconteurPython.vectorptr_messageelement___bool__(self)
def __len__(self):
return _RobotRaconteurPython.vectorptr_messageelement___len__(self)
def __getslice__(self, i, j):
return _RobotRaconteurPython.vectorptr_messageelement___getslice__(self, i, j)
def __setslice__(self, *args):
return _RobotRaconteurPython.vectorptr_messageelement___setslice__(self, *args)
def __delslice__(self, i, j):
return _RobotRaconteurPython.vectorptr_messageelement___delslice__(self, i, j)
def __delitem__(self, *args):
return _RobotRaconteurPython.vectorptr_messageelement___delitem__(self, *args)
def __getitem__(self, *args):
return _RobotRaconteurPython.vectorptr_messageelement___getitem__(self, *args)
def __setitem__(self, *args):
return _RobotRaconteurPython.vectorptr_messageelement___setitem__(self, *args)
def pop(self):
return _RobotRaconteurPython.vectorptr_messageelement_pop(self)
def append(self, x):
return _RobotRaconteurPython.vectorptr_messageelement_append(self, x)
def empty(self):
return _RobotRaconteurPython.vectorptr_messageelement_empty(self)
def size(self):
return _RobotRaconteurPython.vectorptr_messageelement_size(self)
def swap(self, v):
return _RobotRaconteurPython.vectorptr_messageelement_swap(self, v)
def begin(self):
return _RobotRaconteurPython.vectorptr_messageelement_begin(self)
def end(self):
return _RobotRaconteurPython.vectorptr_messageelement_end(self)
def rbegin(self):
return _RobotRaconteurPython.vectorptr_messageelement_rbegin(self)
def rend(self):
return _RobotRaconteurPython.vectorptr_messageelement_rend(self)
def clear(self):
return _RobotRaconteurPython.vectorptr_messageelement_clear(self)
def get_allocator(self):
return _RobotRaconteurPython.vectorptr_messageelement_get_allocator(self)
def pop_back(self):
return _RobotRaconteurPython.vectorptr_messageelement_pop_back(self)
def erase(self, *args):
return _RobotRaconteurPython.vectorptr_messageelement_erase(self, *args)
def __init__(self, *args):
_RobotRaconteurPython.vectorptr_messageelement_swiginit(self, _RobotRaconteurPython.new_vectorptr_messageelement(*args))
def push_back(self, x):
return _RobotRaconteurPython.vectorptr_messageelement_push_back(self, x)
def front(self):
return _RobotRaconteurPython.vectorptr_messageelement_front(self)
def back(self):
return _RobotRaconteurPython.vectorptr_messageelement_back(self)
def assign(self, n, x):
return _RobotRaconteurPython.vectorptr_messageelement_assign(self, n, x)
def resize(self, *args):
return _RobotRaconteurPython.vectorptr_messageelement_resize(self, *args)
def insert(self, *args):
return _RobotRaconteurPython.vectorptr_messageelement_insert(self, *args)
def reserve(self, n):
return _RobotRaconteurPython.vectorptr_messageelement_reserve(self, n)
def capacity(self):
return _RobotRaconteurPython.vectorptr_messageelement_capacity(self)
__swig_destroy__ = _RobotRaconteurPython.delete_vectorptr_messageelement
# Register vectorptr_messageelement in _RobotRaconteurPython:
_RobotRaconteurPython.vectorptr_messageelement_swigregister(vectorptr_messageelement)
@_swig_add_metaclass(_SwigNonDynamicMeta)
class Message(RRValue):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__setattr__ = _swig_setattr_nondynamic_instance_variable(object.__setattr__)
__repr__ = _swig_repr
header = property(_RobotRaconteurPython.Message_header_get, _RobotRaconteurPython.Message_header_set)
entries = property(_RobotRaconteurPython.Message_entries_get, _RobotRaconteurPython.Message_entries_set)
def __init__(self):
_RobotRaconteurPython.Message_swiginit(self, _RobotRaconteurPython.new_Message())
def ComputeSize(self):
return _RobotRaconteurPython.Message_ComputeSize(self)
def FindEntry(self, name):
return _RobotRaconteurPython.Message_FindEntry(self, name)
def AddEntry(self, t, name):
return _RobotRaconteurPython.Message_AddEntry(self, t, name)
__swig_destroy__ = _RobotRaconteurPython.delete_Message
# Register Message in _RobotRaconteurPython:
_RobotRaconteurPython.Message_swigregister(Message)
@_swig_add_metaclass(_SwigNonDynamicMeta)
class MessageHeader(RRValue):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__setattr__ = _swig_setattr_nondynamic_instance_variable(object.__setattr__)
__repr__ = _swig_repr
HeaderSize = property(_RobotRaconteurPython.MessageHeader_HeaderSize_get, _RobotRaconteurPython.MessageHeader_HeaderSize_set)
MessageFlags = property(_RobotRaconteurPython.MessageHeader_MessageFlags_get, _RobotRaconteurPython.MessageHeader_MessageFlags_set)
SenderEndpoint = property(_RobotRaconteurPython.MessageHeader_SenderEndpoint_get, _RobotRaconteurPython.MessageHeader_SenderEndpoint_set)
ReceiverEndpoint = property(_RobotRaconteurPython.MessageHeader_ReceiverEndpoint_get, _RobotRaconteurPython.MessageHeader_ReceiverEndpoint_set)
SenderNodeName = property(_RobotRaconteurPython.MessageHeader_SenderNodeName_get, _RobotRaconteurPython.MessageHeader_SenderNodeName_set)
ReceiverNodeName = property(_RobotRaconteurPython.MessageHeader_ReceiverNodeName_get, _RobotRaconteurPython.MessageHeader_ReceiverNodeName_set)
SenderNodeID = property(_RobotRaconteurPython.MessageHeader_SenderNodeID_get, _RobotRaconteurPython.MessageHeader_SenderNodeID_set)
ReceiverNodeID = property(_RobotRaconteurPython.MessageHeader_ReceiverNodeID_get, _RobotRaconteurPython.MessageHeader_ReceiverNodeID_set)
MetaData = property(_RobotRaconteurPython.MessageHeader_MetaData_get, _RobotRaconteurPython.MessageHeader_MetaData_set)
EntryCount = property(_RobotRaconteurPython.MessageHeader_EntryCount_get, _RobotRaconteurPython.MessageHeader_EntryCount_set)
MessageID = property(_RobotRaconteurPython.MessageHeader_MessageID_get, _RobotRaconteurPython.MessageHeader_MessageID_set)
MessageResID = property(_RobotRaconteurPython.MessageHeader_MessageResID_get, _RobotRaconteurPython.MessageHeader_MessageResID_set)
MessageSize = property(_RobotRaconteurPython.MessageHeader_MessageSize_get, _RobotRaconteurPython.MessageHeader_MessageSize_set)
Priority = property(_RobotRaconteurPython.MessageHeader_Priority_get, _RobotRaconteurPython.MessageHeader_Priority_set)
Extended = property(_RobotRaconteurPython.MessageHeader_Extended_get, _RobotRaconteurPython.MessageHeader_Extended_set)
def ComputeSize(self):
return _RobotRaconteurPython.MessageHeader_ComputeSize(self)
def UpdateHeader(self, message_size, entry_count):
return _RobotRaconteurPython.MessageHeader_UpdateHeader(self, message_size, entry_count)
def __init__(self):
_RobotRaconteurPython.MessageHeader_swiginit(self, _RobotRaconteurPython.new_MessageHeader())
__swig_destroy__ = _RobotRaconteurPython.delete_MessageHeader
# Register MessageHeader in _RobotRaconteurPython:
_RobotRaconteurPython.MessageHeader_swigregister(MessageHeader)
@_swig_add_metaclass(_SwigNonDynamicMeta)
class MessageEntry(RRValue):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__setattr__ = _swig_setattr_nondynamic_instance_variable(object.__setattr__)
__repr__ = _swig_repr
EntrySize = property(_RobotRaconteurPython.MessageEntry_EntrySize_get, _RobotRaconteurPython.MessageEntry_EntrySize_set)
EntryFlags = property(_RobotRaconteurPython.MessageEntry_EntryFlags_get, _RobotRaconteurPython.MessageEntry_EntryFlags_set)
EntryType = property(_RobotRaconteurPython.MessageEntry_EntryType_get, _RobotRaconteurPython.MessageEntry_EntryType_set)
ServicePath = property(_RobotRaconteurPython.MessageEntry_ServicePath_get, _RobotRaconteurPython.MessageEntry_ServicePath_set)
MemberName = property(_RobotRaconteurPython.MessageEntry_MemberName_get, _RobotRaconteurPython.MessageEntry_MemberName_set)
MemberNameCode = property(_RobotRaconteurPython.MessageEntry_MemberNameCode_get, _RobotRaconteurPython.MessageEntry_MemberNameCode_set)
RequestID = property(_RobotRaconteurPython.MessageEntry_RequestID_get, _RobotRaconteurPython.MessageEntry_RequestID_set)
Error = property(_RobotRaconteurPython.MessageEntry_Error_get, _RobotRaconteurPython.MessageEntry_Error_set)
MetaData = property(_RobotRaconteurPython.MessageEntry_MetaData_get, _RobotRaconteurPython.MessageEntry_MetaData_set)
Extended = property(_RobotRaconteurPython.MessageEntry_Extended_get, _RobotRaconteurPython.MessageEntry_Extended_set)
elements = property(_RobotRaconteurPython.MessageEntry_elements_get, _RobotRaconteurPython.MessageEntry_elements_set)
def __init__(self, *args):
_RobotRaconteurPython.MessageEntry_swiginit(self, _RobotRaconteurPython.new_MessageEntry(*args))
def ComputeSize(self):
return _RobotRaconteurPython.MessageEntry_ComputeSize(self)
def FindElement(self, name):
return _RobotRaconteurPython.MessageEntry_FindElement(self, name)
def AddElement(self, m):
return _RobotRaconteurPython.MessageEntry_AddElement(self, m)
__swig_destroy__ = _RobotRaconteurPython.delete_MessageEntry
# Register MessageEntry in _RobotRaconteurPython:
_RobotRaconteurPython.MessageEntry_swigregister(MessageEntry)
@_swig_add_metaclass(_SwigNonDynamicMeta)
class MessageElement(RRValue):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__setattr__ = _swig_setattr_nondynamic_instance_variable(object.__setattr__)
__repr__ = _swig_repr
ElementSize = property(_RobotRaconteurPython.MessageElement_ElementSize_get, _RobotRaconteurPython.MessageElement_ElementSize_set)
ElementFlags = property(_RobotRaconteurPython.MessageElement_ElementFlags_get, _RobotRaconteurPython.MessageElement_ElementFlags_set)
ElementName = property(_RobotRaconteurPython.MessageElement_ElementName_get, _RobotRaconteurPython.MessageElement_ElementName_set)
ElementNameCode = property(_RobotRaconteurPython.MessageElement_ElementNameCode_get, _RobotRaconteurPython.MessageElement_ElementNameCode_set)
ElementNumber = property(_RobotRaconteurPython.MessageElement_ElementNumber_get, _RobotRaconteurPython.MessageElement_ElementNumber_set)
ElementType = property(_RobotRaconteurPython.MessageElement_ElementType_get, _RobotRaconteurPython.MessageElement_ElementType_set)
ElementTypeName = property(_RobotRaconteurPython.MessageElement_ElementTypeName_get, _RobotRaconteurPython.MessageElement_ElementTypeName_set)
ElementTypeNameCode = property(_RobotRaconteurPython.MessageElement_ElementTypeNameCode_get, _RobotRaconteurPython.MessageElement_ElementTypeNameCode_set)
MetaData = property(_RobotRaconteurPython.MessageElement_MetaData_get, _RobotRaconteurPython.MessageElement_MetaData_set)
Extended = property(_RobotRaconteurPython.MessageElement_Extended_get, _RobotRaconteurPython.MessageElement_Extended_set)
DataCount = property(_RobotRaconteurPython.MessageElement_DataCount_get, _RobotRaconteurPython.MessageElement_DataCount_set)
def __init__(self):
_RobotRaconteurPython.MessageElement_swiginit(self, _RobotRaconteurPython.new_MessageElement())
def _GetData(self):
val = _RobotRaconteurPython.MessageElement__GetData(self)
a=MessageElementDataUtil.ToRRBaseArray(val)
if (not a is None):
return a
a=MessageElementDataUtil.ToMessageElementNestedElementList(val)
if (not a is None):
return a
return val
def _SetData(self, value):
return _RobotRaconteurPython.MessageElement__SetData(self, value)
def ComputeSize(self):
return _RobotRaconteurPython.MessageElement_ComputeSize(self)
def UpdateData(self):
return _RobotRaconteurPython.MessageElement_UpdateData(self)
@staticmethod
def FindElement(m, name):
return _RobotRaconteurPython.MessageElement_FindElement(m, name)
@staticmethod
def ContainsElement(m, name):
return _RobotRaconteurPython.MessageElement_ContainsElement(m, name)
def GetData(self):
return self._GetData()
def SetData(self,data):
return self._SetData(data)
__swig_destroy__ = _RobotRaconteurPython.delete_MessageElement
# Register MessageElement in _RobotRaconteurPython:
_RobotRaconteurPython.MessageElement_swigregister(MessageElement)
def MessageElement_FindElement(m, name):
return _RobotRaconteurPython.MessageElement_FindElement(m, name)
def MessageElement_ContainsElement(m, name):
return _RobotRaconteurPython.MessageElement_ContainsElement(m, name)
@_swig_add_metaclass(_SwigNonDynamicMeta)
class MessageElementNestedElementList(MessageElementData):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__setattr__ = _swig_setattr_nondynamic_instance_variable(object.__setattr__)
__repr__ = _swig_repr
Type = property(_RobotRaconteurPython.MessageElementNestedElementList_Type_get, _RobotRaconteurPython.MessageElementNestedElementList_Type_set)
TypeName = property(_RobotRaconteurPython.MessageElementNestedElementList_TypeName_get, _RobotRaconteurPython.MessageElementNestedElementList_TypeName_set)
Elements = property(_RobotRaconteurPython.MessageElementNestedElementList_Elements_get, _RobotRaconteurPython.MessageElementNestedElementList_Elements_set)
def __init__(self, type_, type_name_, elements_):
_RobotRaconteurPython.MessageElementNestedElementList_swiginit(self, _RobotRaconteurPython.new_MessageElementNestedElementList(type_, type_name_, elements_))
def GetTypeString(self):
return _RobotRaconteurPython.MessageElementNestedElementList_GetTypeString(self)
def GetTypeID(self):
return _RobotRaconteurPython.MessageElementNestedElementList_GetTypeID(self)
__swig_destroy__ = _RobotRaconteurPython.delete_MessageElementNestedElementList
# Register MessageElementNestedElementList in _RobotRaconteurPython:
_RobotRaconteurPython.MessageElementNestedElementList_swigregister(MessageElementNestedElementList)
class MessageElementDataUtil(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
@staticmethod
def ToRRBaseArray(m):
return _RobotRaconteurPython.MessageElementDataUtil_ToRRBaseArray(m)
@staticmethod
def ToMessageElementNestedElementList(m):
return _RobotRaconteurPython.MessageElementDataUtil_ToMessageElementNestedElementList(m)
def __init__(self):
_RobotRaconteurPython.MessageElementDataUtil_swiginit(self, _RobotRaconteurPython.new_MessageElementDataUtil())
__swig_destroy__ = _RobotRaconteurPython.delete_MessageElementDataUtil
# Register MessageElementDataUtil in _RobotRaconteurPython:
_RobotRaconteurPython.MessageElementDataUtil_swigregister(MessageElementDataUtil)
def MessageElementDataUtil_ToRRBaseArray(m):
return _RobotRaconteurPython.MessageElementDataUtil_ToRRBaseArray(m)
def MessageElementDataUtil_ToMessageElementNestedElementList(m):
return _RobotRaconteurPython.MessageElementDataUtil_ToMessageElementNestedElementList(m)
def MessageFromBytes(bytes):
return _RobotRaconteurPython.MessageFromBytes(bytes)
def MessageLengthFromBytes(bytes):
return _RobotRaconteurPython.MessageLengthFromBytes(bytes)
def MessageToBytes(m, ver=2):
return _RobotRaconteurPython.MessageToBytes(m, ver)
def MessageElementFromBytes(bytes):
return _RobotRaconteurPython.MessageElementFromBytes(bytes)
def MessageElementLengthFromBytes(bytes):
return _RobotRaconteurPython.MessageElementLengthFromBytes(bytes)
def MessageElementToBytes(m, ver=2):
return _RobotRaconteurPython.MessageElementToBytes(m, ver)
class HandlerErrorInfo(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
error_code = property(_RobotRaconteurPython.HandlerErrorInfo_error_code_get, _RobotRaconteurPython.HandlerErrorInfo_error_code_set)
errorname = property(_RobotRaconteurPython.HandlerErrorInfo_errorname_get, _RobotRaconteurPython.HandlerErrorInfo_errorname_set)
errormessage = property(_RobotRaconteurPython.HandlerErrorInfo_errormessage_get, _RobotRaconteurPython.HandlerErrorInfo_errormessage_set)
errorsubname = property(_RobotRaconteurPython.HandlerErrorInfo_errorsubname_get, _RobotRaconteurPython.HandlerErrorInfo_errorsubname_set)
param_ = property(_RobotRaconteurPython.HandlerErrorInfo_param__get, _RobotRaconteurPython.HandlerErrorInfo_param__set)
def __init__(self):
_RobotRaconteurPython.HandlerErrorInfo_swiginit(self, _RobotRaconteurPython.new_HandlerErrorInfo())
__swig_destroy__ = _RobotRaconteurPython.delete_HandlerErrorInfo
# Register HandlerErrorInfo in _RobotRaconteurPython:
_RobotRaconteurPython.HandlerErrorInfo_swigregister(HandlerErrorInfo)
class AsyncRequestDirector(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
__swig_destroy__ = _RobotRaconteurPython.delete_AsyncRequestDirector
def handler(self, ret, error):
return _RobotRaconteurPython.AsyncRequestDirector_handler(self, ret, error)
def __init__(self):
if self.__class__ == AsyncRequestDirector:
_self = None
else:
_self = self
_RobotRaconteurPython.AsyncRequestDirector_swiginit(self, _RobotRaconteurPython.new_AsyncRequestDirector(_self, ))
def __disown__(self):
self.this.disown()
_RobotRaconteurPython.disown_AsyncRequestDirector(self)
return weakref.proxy(self)
# Register AsyncRequestDirector in _RobotRaconteurPython:
_RobotRaconteurPython.AsyncRequestDirector_swigregister(AsyncRequestDirector)
class AsyncVoidReturnDirector(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
__swig_destroy__ = _RobotRaconteurPython.delete_AsyncVoidReturnDirector
def handler(self, error):
return _RobotRaconteurPython.AsyncVoidReturnDirector_handler(self, error)
def __init__(self):
if self.__class__ == AsyncVoidReturnDirector:
_self = None
else:
_self = self
_RobotRaconteurPython.AsyncVoidReturnDirector_swiginit(self, _RobotRaconteurPython.new_AsyncVoidReturnDirector(_self, ))
def __disown__(self):
self.this.disown()
_RobotRaconteurPython.disown_AsyncVoidReturnDirector(self)
return weakref.proxy(self)
# Register AsyncVoidReturnDirector in _RobotRaconteurPython:
_RobotRaconteurPython.AsyncVoidReturnDirector_swigregister(AsyncVoidReturnDirector)
class AsyncVoidNoErrReturnDirector(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
__swig_destroy__ = _RobotRaconteurPython.delete_AsyncVoidNoErrReturnDirector
def handler(self):
return _RobotRaconteurPython.AsyncVoidNoErrReturnDirector_handler(self)
def __init__(self):
if self.__class__ == AsyncVoidNoErrReturnDirector:
_self = None
else:
_self = self
_RobotRaconteurPython.AsyncVoidNoErrReturnDirector_swiginit(self, _RobotRaconteurPython.new_AsyncVoidNoErrReturnDirector(_self, ))
def __disown__(self):
self.this.disown()
_RobotRaconteurPython.disown_AsyncVoidNoErrReturnDirector(self)
return weakref.proxy(self)
# Register AsyncVoidNoErrReturnDirector in _RobotRaconteurPython:
_RobotRaconteurPython.AsyncVoidNoErrReturnDirector_swigregister(AsyncVoidNoErrReturnDirector)
class AsyncStringReturnDirector(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
__swig_destroy__ = _RobotRaconteurPython.delete_AsyncStringReturnDirector
def handler(self, ret, error):
return _RobotRaconteurPython.AsyncStringReturnDirector_handler(self, ret, error)
def __init__(self):
if self.__class__ == AsyncStringReturnDirector:
_self = None
else:
_self = self
_RobotRaconteurPython.AsyncStringReturnDirector_swiginit(self, _RobotRaconteurPython.new_AsyncStringReturnDirector(_self, ))
def __disown__(self):
self.this.disown()
_RobotRaconteurPython.disown_AsyncStringReturnDirector(self)
return weakref.proxy(self)
# Register AsyncStringReturnDirector in _RobotRaconteurPython:
_RobotRaconteurPython.AsyncStringReturnDirector_swigregister(AsyncStringReturnDirector)
class AsyncUInt32ReturnDirector(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
__swig_destroy__ = _RobotRaconteurPython.delete_AsyncUInt32ReturnDirector
def handler(self, ret, error):
return _RobotRaconteurPython.AsyncUInt32ReturnDirector_handler(self, ret, error)
def __init__(self):
if self.__class__ == AsyncUInt32ReturnDirector:
_self = None
else:
_self = self
_RobotRaconteurPython.AsyncUInt32ReturnDirector_swiginit(self, _RobotRaconteurPython.new_AsyncUInt32ReturnDirector(_self, ))
def __disown__(self):
self.this.disown()
_RobotRaconteurPython.disown_AsyncUInt32ReturnDirector(self)
return weakref.proxy(self)
# Register AsyncUInt32ReturnDirector in _RobotRaconteurPython:
_RobotRaconteurPython.AsyncUInt32ReturnDirector_swigregister(AsyncUInt32ReturnDirector)
class vectorptr_typedefinition(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
def iterator(self):
return _RobotRaconteurPython.vectorptr_typedefinition_iterator(self)
def __iter__(self):
return self.iterator()
def __nonzero__(self):
return _RobotRaconteurPython.vectorptr_typedefinition___nonzero__(self)
def __bool__(self):
return _RobotRaconteurPython.vectorptr_typedefinition___bool__(self)
def __len__(self):
return _RobotRaconteurPython.vectorptr_typedefinition___len__(self)
def __getslice__(self, i, j):
return _RobotRaconteurPython.vectorptr_typedefinition___getslice__(self, i, j)
def __setslice__(self, *args):
return _RobotRaconteurPython.vectorptr_typedefinition___setslice__(self, *args)
def __delslice__(self, i, j):
return _RobotRaconteurPython.vectorptr_typedefinition___delslice__(self, i, j)
def __delitem__(self, *args):
return _RobotRaconteurPython.vectorptr_typedefinition___delitem__(self, *args)
def __getitem__(self, *args):
return _RobotRaconteurPython.vectorptr_typedefinition___getitem__(self, *args)
def __setitem__(self, *args):
return _RobotRaconteurPython.vectorptr_typedefinition___setitem__(self, *args)
def pop(self):
return _RobotRaconteurPython.vectorptr_typedefinition_pop(self)
def append(self, x):
return _RobotRaconteurPython.vectorptr_typedefinition_append(self, x)
def empty(self):
return _RobotRaconteurPython.vectorptr_typedefinition_empty(self)
def size(self):
return _RobotRaconteurPython.vectorptr_typedefinition_size(self)
def swap(self, v):
return _RobotRaconteurPython.vectorptr_typedefinition_swap(self, v)
def begin(self):
return _RobotRaconteurPython.vectorptr_typedefinition_begin(self)
def end(self):
return _RobotRaconteurPython.vectorptr_typedefinition_end(self)
def rbegin(self):
return _RobotRaconteurPython.vectorptr_typedefinition_rbegin(self)
def rend(self):
return _RobotRaconteurPython.vectorptr_typedefinition_rend(self)
def clear(self):
return _RobotRaconteurPython.vectorptr_typedefinition_clear(self)
def get_allocator(self):
return _RobotRaconteurPython.vectorptr_typedefinition_get_allocator(self)
def pop_back(self):
return _RobotRaconteurPython.vectorptr_typedefinition_pop_back(self)
def erase(self, *args):
return _RobotRaconteurPython.vectorptr_typedefinition_erase(self, *args)
def __init__(self, *args):
_RobotRaconteurPython.vectorptr_typedefinition_swiginit(self, _RobotRaconteurPython.new_vectorptr_typedefinition(*args))
def push_back(self, x):
return _RobotRaconteurPython.vectorptr_typedefinition_push_back(self, x)
def front(self):
return _RobotRaconteurPython.vectorptr_typedefinition_front(self)
def back(self):
return _RobotRaconteurPython.vectorptr_typedefinition_back(self)
def assign(self, n, x):
return _RobotRaconteurPython.vectorptr_typedefinition_assign(self, n, x)
def resize(self, *args):
return _RobotRaconteurPython.vectorptr_typedefinition_resize(self, *args)
def insert(self, *args):
return _RobotRaconteurPython.vectorptr_typedefinition_insert(self, *args)
def reserve(self, n):
return _RobotRaconteurPython.vectorptr_typedefinition_reserve(self, n)
def capacity(self):
return _RobotRaconteurPython.vectorptr_typedefinition_capacity(self)
__swig_destroy__ = _RobotRaconteurPython.delete_vectorptr_typedefinition
# Register vectorptr_typedefinition in _RobotRaconteurPython:
_RobotRaconteurPython.vectorptr_typedefinition_swigregister(vectorptr_typedefinition)
class vectorptr_memberdefinition(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
def iterator(self):
return _RobotRaconteurPython.vectorptr_memberdefinition_iterator(self)
def __iter__(self):
return self.iterator()
def __nonzero__(self):
return _RobotRaconteurPython.vectorptr_memberdefinition___nonzero__(self)
def __bool__(self):
return _RobotRaconteurPython.vectorptr_memberdefinition___bool__(self)
def __len__(self):
return _RobotRaconteurPython.vectorptr_memberdefinition___len__(self)
def __getslice__(self, i, j):
return _RobotRaconteurPython.vectorptr_memberdefinition___getslice__(self, i, j)
def __setslice__(self, *args):
return _RobotRaconteurPython.vectorptr_memberdefinition___setslice__(self, *args)
def __delslice__(self, i, j):
return _RobotRaconteurPython.vectorptr_memberdefinition___delslice__(self, i, j)
def __delitem__(self, *args):
return _RobotRaconteurPython.vectorptr_memberdefinition___delitem__(self, *args)
def __getitem__(self, *args):
val = _RobotRaconteurPython.vectorptr_memberdefinition___getitem__(self, *args)
a=MemberDefinitionUtil.ToProperty(val)
if (not a is None):
return a
a=MemberDefinitionUtil.ToFunction(val)
if (not a is None):
return a
a=MemberDefinitionUtil.ToEvent(val)
if (not a is None):
return a
a=MemberDefinitionUtil.ToObjRef(val)
if (not a is None):
return a
a=MemberDefinitionUtil.ToPipe(val)
if (not a is None):
return a
a=MemberDefinitionUtil.ToCallback(val)
if (not a is None):
return a
a=MemberDefinitionUtil.ToWire(val)
if (not a is None):
return a
a=MemberDefinitionUtil.ToMemory(val)
if (not a is None):
return a
return val
return val
def __setitem__(self, *args):
return _RobotRaconteurPython.vectorptr_memberdefinition___setitem__(self, *args)
def pop(self):
return _RobotRaconteurPython.vectorptr_memberdefinition_pop(self)
def append(self, x):
return _RobotRaconteurPython.vectorptr_memberdefinition_append(self, x)
def empty(self):
return _RobotRaconteurPython.vectorptr_memberdefinition_empty(self)
def size(self):
return _RobotRaconteurPython.vectorptr_memberdefinition_size(self)
def swap(self, v):
return _RobotRaconteurPython.vectorptr_memberdefinition_swap(self, v)
def begin(self):
return _RobotRaconteurPython.vectorptr_memberdefinition_begin(self)
def end(self):
return _RobotRaconteurPython.vectorptr_memberdefinition_end(self)
def rbegin(self):
return _RobotRaconteurPython.vectorptr_memberdefinition_rbegin(self)
def rend(self):
return _RobotRaconteurPython.vectorptr_memberdefinition_rend(self)
def clear(self):
return _RobotRaconteurPython.vectorptr_memberdefinition_clear(self)
def get_allocator(self):
return _RobotRaconteurPython.vectorptr_memberdefinition_get_allocator(self)
def pop_back(self):
return _RobotRaconteurPython.vectorptr_memberdefinition_pop_back(self)
def erase(self, *args):
return _RobotRaconteurPython.vectorptr_memberdefinition_erase(self, *args)
def __init__(self, *args):
_RobotRaconteurPython.vectorptr_memberdefinition_swiginit(self, _RobotRaconteurPython.new_vectorptr_memberdefinition(*args))
def push_back(self, x):
return _RobotRaconteurPython.vectorptr_memberdefinition_push_back(self, x)
def front(self):
return _RobotRaconteurPython.vectorptr_memberdefinition_front(self)
def back(self):
return _RobotRaconteurPython.vectorptr_memberdefinition_back(self)
def assign(self, n, x):
return _RobotRaconteurPython.vectorptr_memberdefinition_assign(self, n, x)
def resize(self, *args):
return _RobotRaconteurPython.vectorptr_memberdefinition_resize(self, *args)
def insert(self, *args):
return _RobotRaconteurPython.vectorptr_memberdefinition_insert(self, *args)
def reserve(self, n):
return _RobotRaconteurPython.vectorptr_memberdefinition_reserve(self, n)
def capacity(self):
return _RobotRaconteurPython.vectorptr_memberdefinition_capacity(self)
__swig_destroy__ = _RobotRaconteurPython.delete_vectorptr_memberdefinition
# Register vectorptr_memberdefinition in _RobotRaconteurPython:
_RobotRaconteurPython.vectorptr_memberdefinition_swigregister(vectorptr_memberdefinition)
class vectorptr_serviceentrydefinition(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
def iterator(self):
return _RobotRaconteurPython.vectorptr_serviceentrydefinition_iterator(self)
def __iter__(self):
return self.iterator()
def __nonzero__(self):
return _RobotRaconteurPython.vectorptr_serviceentrydefinition___nonzero__(self)
def __bool__(self):
return _RobotRaconteurPython.vectorptr_serviceentrydefinition___bool__(self)
def __len__(self):
return _RobotRaconteurPython.vectorptr_serviceentrydefinition___len__(self)
def __getslice__(self, i, j):
return _RobotRaconteurPython.vectorptr_serviceentrydefinition___getslice__(self, i, j)
def __setslice__(self, *args):
return _RobotRaconteurPython.vectorptr_serviceentrydefinition___setslice__(self, *args)
def __delslice__(self, i, j):
return _RobotRaconteurPython.vectorptr_serviceentrydefinition___delslice__(self, i, j)
def __delitem__(self, *args):
return _RobotRaconteurPython.vectorptr_serviceentrydefinition___delitem__(self, *args)
def __getitem__(self, *args):
return _RobotRaconteurPython.vectorptr_serviceentrydefinition___getitem__(self, *args)
def __setitem__(self, *args):
return _RobotRaconteurPython.vectorptr_serviceentrydefinition___setitem__(self, *args)
def pop(self):
return _RobotRaconteurPython.vectorptr_serviceentrydefinition_pop(self)
def append(self, x):
return _RobotRaconteurPython.vectorptr_serviceentrydefinition_append(self, x)
def empty(self):
return _RobotRaconteurPython.vectorptr_serviceentrydefinition_empty(self)
def size(self):
return _RobotRaconteurPython.vectorptr_serviceentrydefinition_size(self)
def swap(self, v):
return _RobotRaconteurPython.vectorptr_serviceentrydefinition_swap(self, v)
def begin(self):
return _RobotRaconteurPython.vectorptr_serviceentrydefinition_begin(self)
def end(self):
return _RobotRaconteurPython.vectorptr_serviceentrydefinition_end(self)
def rbegin(self):
return _RobotRaconteurPython.vectorptr_serviceentrydefinition_rbegin(self)
def rend(self):
return _RobotRaconteurPython.vectorptr_serviceentrydefinition_rend(self)
def clear(self):
return _RobotRaconteurPython.vectorptr_serviceentrydefinition_clear(self)
def get_allocator(self):
return _RobotRaconteurPython.vectorptr_serviceentrydefinition_get_allocator(self)
def pop_back(self):
return _RobotRaconteurPython.vectorptr_serviceentrydefinition_pop_back(self)
def erase(self, *args):
return _RobotRaconteurPython.vectorptr_serviceentrydefinition_erase(self, *args)
def __init__(self, *args):
_RobotRaconteurPython.vectorptr_serviceentrydefinition_swiginit(self, _RobotRaconteurPython.new_vectorptr_serviceentrydefinition(*args))
def push_back(self, x):
return _RobotRaconteurPython.vectorptr_serviceentrydefinition_push_back(self, x)
def front(self):
return _RobotRaconteurPython.vectorptr_serviceentrydefinition_front(self)
def back(self):
return _RobotRaconteurPython.vectorptr_serviceentrydefinition_back(self)
def assign(self, n, x):
return _RobotRaconteurPython.vectorptr_serviceentrydefinition_assign(self, n, x)
def resize(self, *args):
return _RobotRaconteurPython.vectorptr_serviceentrydefinition_resize(self, *args)
def insert(self, *args):
return _RobotRaconteurPython.vectorptr_serviceentrydefinition_insert(self, *args)
def reserve(self, n):
return _RobotRaconteurPython.vectorptr_serviceentrydefinition_reserve(self, n)
def capacity(self):
return _RobotRaconteurPython.vectorptr_serviceentrydefinition_capacity(self)
__swig_destroy__ = _RobotRaconteurPython.delete_vectorptr_serviceentrydefinition
# Register vectorptr_serviceentrydefinition in _RobotRaconteurPython:
_RobotRaconteurPython.vectorptr_serviceentrydefinition_swigregister(vectorptr_serviceentrydefinition)
class vectorptr_constantdefinition(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
def iterator(self):
return _RobotRaconteurPython.vectorptr_constantdefinition_iterator(self)
def __iter__(self):
return self.iterator()
def __nonzero__(self):
return _RobotRaconteurPython.vectorptr_constantdefinition___nonzero__(self)
def __bool__(self):
return _RobotRaconteurPython.vectorptr_constantdefinition___bool__(self)
def __len__(self):
return _RobotRaconteurPython.vectorptr_constantdefinition___len__(self)
def __getslice__(self, i, j):
return _RobotRaconteurPython.vectorptr_constantdefinition___getslice__(self, i, j)
def __setslice__(self, *args):
return _RobotRaconteurPython.vectorptr_constantdefinition___setslice__(self, *args)
def __delslice__(self, i, j):
return _RobotRaconteurPython.vectorptr_constantdefinition___delslice__(self, i, j)
def __delitem__(self, *args):
return _RobotRaconteurPython.vectorptr_constantdefinition___delitem__(self, *args)
def __getitem__(self, *args):
return _RobotRaconteurPython.vectorptr_constantdefinition___getitem__(self, *args)
def __setitem__(self, *args):
return _RobotRaconteurPython.vectorptr_constantdefinition___setitem__(self, *args)
def pop(self):
return _RobotRaconteurPython.vectorptr_constantdefinition_pop(self)
def append(self, x):
return _RobotRaconteurPython.vectorptr_constantdefinition_append(self, x)
def empty(self):
return _RobotRaconteurPython.vectorptr_constantdefinition_empty(self)
def size(self):
return _RobotRaconteurPython.vectorptr_constantdefinition_size(self)
def swap(self, v):
return _RobotRaconteurPython.vectorptr_constantdefinition_swap(self, v)
def begin(self):
return _RobotRaconteurPython.vectorptr_constantdefinition_begin(self)
def end(self):
return _RobotRaconteurPython.vectorptr_constantdefinition_end(self)
def rbegin(self):
return _RobotRaconteurPython.vectorptr_constantdefinition_rbegin(self)
def rend(self):
return _RobotRaconteurPython.vectorptr_constantdefinition_rend(self)
def clear(self):
return _RobotRaconteurPython.vectorptr_constantdefinition_clear(self)
def get_allocator(self):
return _RobotRaconteurPython.vectorptr_constantdefinition_get_allocator(self)
def pop_back(self):
return _RobotRaconteurPython.vectorptr_constantdefinition_pop_back(self)
def erase(self, *args):
return _RobotRaconteurPython.vectorptr_constantdefinition_erase(self, *args)
def __init__(self, *args):
_RobotRaconteurPython.vectorptr_constantdefinition_swiginit(self, _RobotRaconteurPython.new_vectorptr_constantdefinition(*args))
def push_back(self, x):
return _RobotRaconteurPython.vectorptr_constantdefinition_push_back(self, x)
def front(self):
return _RobotRaconteurPython.vectorptr_constantdefinition_front(self)
def back(self):
return _RobotRaconteurPython.vectorptr_constantdefinition_back(self)
def assign(self, n, x):
return _RobotRaconteurPython.vectorptr_constantdefinition_assign(self, n, x)
def resize(self, *args):
return _RobotRaconteurPython.vectorptr_constantdefinition_resize(self, *args)
def insert(self, *args):
return _RobotRaconteurPython.vectorptr_constantdefinition_insert(self, *args)
def reserve(self, n):
return _RobotRaconteurPython.vectorptr_constantdefinition_reserve(self, n)
def capacity(self):
return _RobotRaconteurPython.vectorptr_constantdefinition_capacity(self)
__swig_destroy__ = _RobotRaconteurPython.delete_vectorptr_constantdefinition
# Register vectorptr_constantdefinition in _RobotRaconteurPython:
_RobotRaconteurPython.vectorptr_constantdefinition_swigregister(vectorptr_constantdefinition)
class vectorptr_enumdefinition(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
def iterator(self):
return _RobotRaconteurPython.vectorptr_enumdefinition_iterator(self)
def __iter__(self):
return self.iterator()
def __nonzero__(self):
return _RobotRaconteurPython.vectorptr_enumdefinition___nonzero__(self)
def __bool__(self):
return _RobotRaconteurPython.vectorptr_enumdefinition___bool__(self)
def __len__(self):
return _RobotRaconteurPython.vectorptr_enumdefinition___len__(self)
def __getslice__(self, i, j):
return _RobotRaconteurPython.vectorptr_enumdefinition___getslice__(self, i, j)
def __setslice__(self, *args):
return _RobotRaconteurPython.vectorptr_enumdefinition___setslice__(self, *args)
def __delslice__(self, i, j):
return _RobotRaconteurPython.vectorptr_enumdefinition___delslice__(self, i, j)
def __delitem__(self, *args):
return _RobotRaconteurPython.vectorptr_enumdefinition___delitem__(self, *args)
def __getitem__(self, *args):
return _RobotRaconteurPython.vectorptr_enumdefinition___getitem__(self, *args)
def __setitem__(self, *args):
return _RobotRaconteurPython.vectorptr_enumdefinition___setitem__(self, *args)
def pop(self):
return _RobotRaconteurPython.vectorptr_enumdefinition_pop(self)
def append(self, x):
return _RobotRaconteurPython.vectorptr_enumdefinition_append(self, x)
def empty(self):
return _RobotRaconteurPython.vectorptr_enumdefinition_empty(self)
def size(self):
return _RobotRaconteurPython.vectorptr_enumdefinition_size(self)
def swap(self, v):
return _RobotRaconteurPython.vectorptr_enumdefinition_swap(self, v)
def begin(self):
return _RobotRaconteurPython.vectorptr_enumdefinition_begin(self)
def end(self):
return _RobotRaconteurPython.vectorptr_enumdefinition_end(self)
def rbegin(self):
return _RobotRaconteurPython.vectorptr_enumdefinition_rbegin(self)
def rend(self):
return _RobotRaconteurPython.vectorptr_enumdefinition_rend(self)
def clear(self):
return _RobotRaconteurPython.vectorptr_enumdefinition_clear(self)
def get_allocator(self):
return _RobotRaconteurPython.vectorptr_enumdefinition_get_allocator(self)
def pop_back(self):
return _RobotRaconteurPython.vectorptr_enumdefinition_pop_back(self)
def erase(self, *args):
return _RobotRaconteurPython.vectorptr_enumdefinition_erase(self, *args)
def __init__(self, *args):
_RobotRaconteurPython.vectorptr_enumdefinition_swiginit(self, _RobotRaconteurPython.new_vectorptr_enumdefinition(*args))
def push_back(self, x):
return _RobotRaconteurPython.vectorptr_enumdefinition_push_back(self, x)
def front(self):
return _RobotRaconteurPython.vectorptr_enumdefinition_front(self)
def back(self):
return _RobotRaconteurPython.vectorptr_enumdefinition_back(self)
def assign(self, n, x):
return _RobotRaconteurPython.vectorptr_enumdefinition_assign(self, n, x)
def resize(self, *args):
return _RobotRaconteurPython.vectorptr_enumdefinition_resize(self, *args)
def insert(self, *args):
return _RobotRaconteurPython.vectorptr_enumdefinition_insert(self, *args)
def reserve(self, n):
return _RobotRaconteurPython.vectorptr_enumdefinition_reserve(self, n)
def capacity(self):
return _RobotRaconteurPython.vectorptr_enumdefinition_capacity(self)
__swig_destroy__ = _RobotRaconteurPython.delete_vectorptr_enumdefinition
# Register vectorptr_enumdefinition in _RobotRaconteurPython:
_RobotRaconteurPython.vectorptr_enumdefinition_swigregister(vectorptr_enumdefinition)
class vector_constantdefinition_structfield(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
def iterator(self):
return _RobotRaconteurPython.vector_constantdefinition_structfield_iterator(self)
def __iter__(self):
return self.iterator()
def __nonzero__(self):
return _RobotRaconteurPython.vector_constantdefinition_structfield___nonzero__(self)
def __bool__(self):
return _RobotRaconteurPython.vector_constantdefinition_structfield___bool__(self)
def __len__(self):
return _RobotRaconteurPython.vector_constantdefinition_structfield___len__(self)
def __getslice__(self, i, j):
return _RobotRaconteurPython.vector_constantdefinition_structfield___getslice__(self, i, j)
def __setslice__(self, *args):
return _RobotRaconteurPython.vector_constantdefinition_structfield___setslice__(self, *args)
def __delslice__(self, i, j):
return _RobotRaconteurPython.vector_constantdefinition_structfield___delslice__(self, i, j)
def __delitem__(self, *args):
return _RobotRaconteurPython.vector_constantdefinition_structfield___delitem__(self, *args)
def __getitem__(self, *args):
return _RobotRaconteurPython.vector_constantdefinition_structfield___getitem__(self, *args)
def __setitem__(self, *args):
return _RobotRaconteurPython.vector_constantdefinition_structfield___setitem__(self, *args)
def pop(self):
return _RobotRaconteurPython.vector_constantdefinition_structfield_pop(self)
def append(self, x):
return _RobotRaconteurPython.vector_constantdefinition_structfield_append(self, x)
def empty(self):
return _RobotRaconteurPython.vector_constantdefinition_structfield_empty(self)
def size(self):
return _RobotRaconteurPython.vector_constantdefinition_structfield_size(self)
def swap(self, v):
return _RobotRaconteurPython.vector_constantdefinition_structfield_swap(self, v)
def begin(self):
return _RobotRaconteurPython.vector_constantdefinition_structfield_begin(self)
def end(self):
return _RobotRaconteurPython.vector_constantdefinition_structfield_end(self)
def rbegin(self):
return _RobotRaconteurPython.vector_constantdefinition_structfield_rbegin(self)
def rend(self):
return _RobotRaconteurPython.vector_constantdefinition_structfield_rend(self)
def clear(self):
return _RobotRaconteurPython.vector_constantdefinition_structfield_clear(self)
def get_allocator(self):
return _RobotRaconteurPython.vector_constantdefinition_structfield_get_allocator(self)
def pop_back(self):
return _RobotRaconteurPython.vector_constantdefinition_structfield_pop_back(self)
def erase(self, *args):
return _RobotRaconteurPython.vector_constantdefinition_structfield_erase(self, *args)
def __init__(self, *args):
_RobotRaconteurPython.vector_constantdefinition_structfield_swiginit(self, _RobotRaconteurPython.new_vector_constantdefinition_structfield(*args))
def push_back(self, x):
return _RobotRaconteurPython.vector_constantdefinition_structfield_push_back(self, x)
def front(self):
return _RobotRaconteurPython.vector_constantdefinition_structfield_front(self)
def back(self):
return _RobotRaconteurPython.vector_constantdefinition_structfield_back(self)
def assign(self, n, x):
return _RobotRaconteurPython.vector_constantdefinition_structfield_assign(self, n, x)
def resize(self, *args):
return _RobotRaconteurPython.vector_constantdefinition_structfield_resize(self, *args)
def insert(self, *args):
return _RobotRaconteurPython.vector_constantdefinition_structfield_insert(self, *args)
def reserve(self, n):
return _RobotRaconteurPython.vector_constantdefinition_structfield_reserve(self, n)
def capacity(self):
return _RobotRaconteurPython.vector_constantdefinition_structfield_capacity(self)
__swig_destroy__ = _RobotRaconteurPython.delete_vector_constantdefinition_structfield
# Register vector_constantdefinition_structfield in _RobotRaconteurPython:
_RobotRaconteurPython.vector_constantdefinition_structfield_swigregister(vector_constantdefinition_structfield)
class vector_enumdefinitionvalues(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
def iterator(self):
return _RobotRaconteurPython.vector_enumdefinitionvalues_iterator(self)
def __iter__(self):
return self.iterator()
def __nonzero__(self):
return _RobotRaconteurPython.vector_enumdefinitionvalues___nonzero__(self)
def __bool__(self):
return _RobotRaconteurPython.vector_enumdefinitionvalues___bool__(self)
def __len__(self):
return _RobotRaconteurPython.vector_enumdefinitionvalues___len__(self)
def __getslice__(self, i, j):
return _RobotRaconteurPython.vector_enumdefinitionvalues___getslice__(self, i, j)
def __setslice__(self, *args):
return _RobotRaconteurPython.vector_enumdefinitionvalues___setslice__(self, *args)
def __delslice__(self, i, j):
return _RobotRaconteurPython.vector_enumdefinitionvalues___delslice__(self, i, j)
def __delitem__(self, *args):
return _RobotRaconteurPython.vector_enumdefinitionvalues___delitem__(self, *args)
def __getitem__(self, *args):
return _RobotRaconteurPython.vector_enumdefinitionvalues___getitem__(self, *args)
def __setitem__(self, *args):
return _RobotRaconteurPython.vector_enumdefinitionvalues___setitem__(self, *args)
def pop(self):
return _RobotRaconteurPython.vector_enumdefinitionvalues_pop(self)
def append(self, x):
return _RobotRaconteurPython.vector_enumdefinitionvalues_append(self, x)
def empty(self):
return _RobotRaconteurPython.vector_enumdefinitionvalues_empty(self)
def size(self):
return _RobotRaconteurPython.vector_enumdefinitionvalues_size(self)
def swap(self, v):
return _RobotRaconteurPython.vector_enumdefinitionvalues_swap(self, v)
def begin(self):
return _RobotRaconteurPython.vector_enumdefinitionvalues_begin(self)
def end(self):
return _RobotRaconteurPython.vector_enumdefinitionvalues_end(self)
def rbegin(self):
return _RobotRaconteurPython.vector_enumdefinitionvalues_rbegin(self)
def rend(self):
return _RobotRaconteurPython.vector_enumdefinitionvalues_rend(self)
def clear(self):
return _RobotRaconteurPython.vector_enumdefinitionvalues_clear(self)
def get_allocator(self):
return _RobotRaconteurPython.vector_enumdefinitionvalues_get_allocator(self)
def pop_back(self):
return _RobotRaconteurPython.vector_enumdefinitionvalues_pop_back(self)
def erase(self, *args):
return _RobotRaconteurPython.vector_enumdefinitionvalues_erase(self, *args)
def __init__(self, *args):
_RobotRaconteurPython.vector_enumdefinitionvalues_swiginit(self, _RobotRaconteurPython.new_vector_enumdefinitionvalues(*args))
def push_back(self, x):
return _RobotRaconteurPython.vector_enumdefinitionvalues_push_back(self, x)
def front(self):
return _RobotRaconteurPython.vector_enumdefinitionvalues_front(self)
def back(self):
return _RobotRaconteurPython.vector_enumdefinitionvalues_back(self)
def assign(self, n, x):
return _RobotRaconteurPython.vector_enumdefinitionvalues_assign(self, n, x)
def resize(self, *args):
return _RobotRaconteurPython.vector_enumdefinitionvalues_resize(self, *args)
def insert(self, *args):
return _RobotRaconteurPython.vector_enumdefinitionvalues_insert(self, *args)
def reserve(self, n):
return _RobotRaconteurPython.vector_enumdefinitionvalues_reserve(self, n)
def capacity(self):
return _RobotRaconteurPython.vector_enumdefinitionvalues_capacity(self)
__swig_destroy__ = _RobotRaconteurPython.delete_vector_enumdefinitionvalues
# Register vector_enumdefinitionvalues in _RobotRaconteurPython:
_RobotRaconteurPython.vector_enumdefinitionvalues_swigregister(vector_enumdefinitionvalues)
class vector_usingdefinition(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
def iterator(self):
return _RobotRaconteurPython.vector_usingdefinition_iterator(self)
def __iter__(self):
return self.iterator()
def __nonzero__(self):
return _RobotRaconteurPython.vector_usingdefinition___nonzero__(self)
def __bool__(self):
return _RobotRaconteurPython.vector_usingdefinition___bool__(self)
def __len__(self):
return _RobotRaconteurPython.vector_usingdefinition___len__(self)
def __getslice__(self, i, j):
return _RobotRaconteurPython.vector_usingdefinition___getslice__(self, i, j)
def __setslice__(self, *args):
return _RobotRaconteurPython.vector_usingdefinition___setslice__(self, *args)
def __delslice__(self, i, j):
return _RobotRaconteurPython.vector_usingdefinition___delslice__(self, i, j)
def __delitem__(self, *args):
return _RobotRaconteurPython.vector_usingdefinition___delitem__(self, *args)
def __getitem__(self, *args):
return _RobotRaconteurPython.vector_usingdefinition___getitem__(self, *args)
def __setitem__(self, *args):
return _RobotRaconteurPython.vector_usingdefinition___setitem__(self, *args)
def pop(self):
return _RobotRaconteurPython.vector_usingdefinition_pop(self)
def append(self, x):
return _RobotRaconteurPython.vector_usingdefinition_append(self, x)
def empty(self):
return _RobotRaconteurPython.vector_usingdefinition_empty(self)
def size(self):
return _RobotRaconteurPython.vector_usingdefinition_size(self)
def swap(self, v):
return _RobotRaconteurPython.vector_usingdefinition_swap(self, v)
def begin(self):
return _RobotRaconteurPython.vector_usingdefinition_begin(self)
def end(self):
return _RobotRaconteurPython.vector_usingdefinition_end(self)
def rbegin(self):
return _RobotRaconteurPython.vector_usingdefinition_rbegin(self)
def rend(self):
return _RobotRaconteurPython.vector_usingdefinition_rend(self)
def clear(self):
return _RobotRaconteurPython.vector_usingdefinition_clear(self)
def get_allocator(self):
return _RobotRaconteurPython.vector_usingdefinition_get_allocator(self)
def pop_back(self):
return _RobotRaconteurPython.vector_usingdefinition_pop_back(self)
def erase(self, *args):
return _RobotRaconteurPython.vector_usingdefinition_erase(self, *args)
def __init__(self, *args):
_RobotRaconteurPython.vector_usingdefinition_swiginit(self, _RobotRaconteurPython.new_vector_usingdefinition(*args))
def push_back(self, x):
return _RobotRaconteurPython.vector_usingdefinition_push_back(self, x)
def front(self):
return _RobotRaconteurPython.vector_usingdefinition_front(self)
def back(self):
return _RobotRaconteurPython.vector_usingdefinition_back(self)
def assign(self, n, x):
return _RobotRaconteurPython.vector_usingdefinition_assign(self, n, x)
def resize(self, *args):
return _RobotRaconteurPython.vector_usingdefinition_resize(self, *args)
def insert(self, *args):
return _RobotRaconteurPython.vector_usingdefinition_insert(self, *args)
def reserve(self, n):
return _RobotRaconteurPython.vector_usingdefinition_reserve(self, n)
def capacity(self):
return _RobotRaconteurPython.vector_usingdefinition_capacity(self)
__swig_destroy__ = _RobotRaconteurPython.delete_vector_usingdefinition
# Register vector_usingdefinition in _RobotRaconteurPython:
_RobotRaconteurPython.vector_usingdefinition_swigregister(vector_usingdefinition)
class vectorptr_exceptiondefinition(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
def iterator(self):
return _RobotRaconteurPython.vectorptr_exceptiondefinition_iterator(self)
def __iter__(self):
return self.iterator()
def __nonzero__(self):
return _RobotRaconteurPython.vectorptr_exceptiondefinition___nonzero__(self)
def __bool__(self):
return _RobotRaconteurPython.vectorptr_exceptiondefinition___bool__(self)
def __len__(self):
return _RobotRaconteurPython.vectorptr_exceptiondefinition___len__(self)
def __getslice__(self, i, j):
return _RobotRaconteurPython.vectorptr_exceptiondefinition___getslice__(self, i, j)
def __setslice__(self, *args):
return _RobotRaconteurPython.vectorptr_exceptiondefinition___setslice__(self, *args)
def __delslice__(self, i, j):
return _RobotRaconteurPython.vectorptr_exceptiondefinition___delslice__(self, i, j)
def __delitem__(self, *args):
return _RobotRaconteurPython.vectorptr_exceptiondefinition___delitem__(self, *args)
def __getitem__(self, *args):
return _RobotRaconteurPython.vectorptr_exceptiondefinition___getitem__(self, *args)
def __setitem__(self, *args):
return _RobotRaconteurPython.vectorptr_exceptiondefinition___setitem__(self, *args)
def pop(self):
return _RobotRaconteurPython.vectorptr_exceptiondefinition_pop(self)
def append(self, x):
return _RobotRaconteurPython.vectorptr_exceptiondefinition_append(self, x)
def empty(self):
return _RobotRaconteurPython.vectorptr_exceptiondefinition_empty(self)
def size(self):
return _RobotRaconteurPython.vectorptr_exceptiondefinition_size(self)
def swap(self, v):
return _RobotRaconteurPython.vectorptr_exceptiondefinition_swap(self, v)
def begin(self):
return _RobotRaconteurPython.vectorptr_exceptiondefinition_begin(self)
def end(self):
return _RobotRaconteurPython.vectorptr_exceptiondefinition_end(self)
def rbegin(self):
return _RobotRaconteurPython.vectorptr_exceptiondefinition_rbegin(self)
def rend(self):
return _RobotRaconteurPython.vectorptr_exceptiondefinition_rend(self)
def clear(self):
return _RobotRaconteurPython.vectorptr_exceptiondefinition_clear(self)
def get_allocator(self):
return _RobotRaconteurPython.vectorptr_exceptiondefinition_get_allocator(self)
def pop_back(self):
return _RobotRaconteurPython.vectorptr_exceptiondefinition_pop_back(self)
def erase(self, *args):
return _RobotRaconteurPython.vectorptr_exceptiondefinition_erase(self, *args)
def __init__(self, *args):
_RobotRaconteurPython.vectorptr_exceptiondefinition_swiginit(self, _RobotRaconteurPython.new_vectorptr_exceptiondefinition(*args))
def push_back(self, x):
return _RobotRaconteurPython.vectorptr_exceptiondefinition_push_back(self, x)
def front(self):
return _RobotRaconteurPython.vectorptr_exceptiondefinition_front(self)
def back(self):
return _RobotRaconteurPython.vectorptr_exceptiondefinition_back(self)
def assign(self, n, x):
return _RobotRaconteurPython.vectorptr_exceptiondefinition_assign(self, n, x)
def resize(self, *args):
return _RobotRaconteurPython.vectorptr_exceptiondefinition_resize(self, *args)
def insert(self, *args):
return _RobotRaconteurPython.vectorptr_exceptiondefinition_insert(self, *args)
def reserve(self, n):
return _RobotRaconteurPython.vectorptr_exceptiondefinition_reserve(self, n)
def capacity(self):
return _RobotRaconteurPython.vectorptr_exceptiondefinition_capacity(self)
__swig_destroy__ = _RobotRaconteurPython.delete_vectorptr_exceptiondefinition
# Register vectorptr_exceptiondefinition in _RobotRaconteurPython:
_RobotRaconteurPython.vectorptr_exceptiondefinition_swigregister(vectorptr_exceptiondefinition)
class vectorptr_servicedefinition(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
def iterator(self):
return _RobotRaconteurPython.vectorptr_servicedefinition_iterator(self)
def __iter__(self):
return self.iterator()
def __nonzero__(self):
return _RobotRaconteurPython.vectorptr_servicedefinition___nonzero__(self)
def __bool__(self):
return _RobotRaconteurPython.vectorptr_servicedefinition___bool__(self)
def __len__(self):
return _RobotRaconteurPython.vectorptr_servicedefinition___len__(self)
def __getslice__(self, i, j):
return _RobotRaconteurPython.vectorptr_servicedefinition___getslice__(self, i, j)
def __setslice__(self, *args):
return _RobotRaconteurPython.vectorptr_servicedefinition___setslice__(self, *args)
def __delslice__(self, i, j):
return _RobotRaconteurPython.vectorptr_servicedefinition___delslice__(self, i, j)
def __delitem__(self, *args):
return _RobotRaconteurPython.vectorptr_servicedefinition___delitem__(self, *args)
def __getitem__(self, *args):
return _RobotRaconteurPython.vectorptr_servicedefinition___getitem__(self, *args)
def __setitem__(self, *args):
return _RobotRaconteurPython.vectorptr_servicedefinition___setitem__(self, *args)
def pop(self):
return _RobotRaconteurPython.vectorptr_servicedefinition_pop(self)
def append(self, x):
return _RobotRaconteurPython.vectorptr_servicedefinition_append(self, x)
def empty(self):
return _RobotRaconteurPython.vectorptr_servicedefinition_empty(self)
def size(self):
return _RobotRaconteurPython.vectorptr_servicedefinition_size(self)
def swap(self, v):
return _RobotRaconteurPython.vectorptr_servicedefinition_swap(self, v)
def begin(self):
return _RobotRaconteurPython.vectorptr_servicedefinition_begin(self)
def end(self):
return _RobotRaconteurPython.vectorptr_servicedefinition_end(self)
def rbegin(self):
return _RobotRaconteurPython.vectorptr_servicedefinition_rbegin(self)
def rend(self):
return _RobotRaconteurPython.vectorptr_servicedefinition_rend(self)
def clear(self):
return _RobotRaconteurPython.vectorptr_servicedefinition_clear(self)
def get_allocator(self):
return _RobotRaconteurPython.vectorptr_servicedefinition_get_allocator(self)
def pop_back(self):
return _RobotRaconteurPython.vectorptr_servicedefinition_pop_back(self)
def erase(self, *args):
return _RobotRaconteurPython.vectorptr_servicedefinition_erase(self, *args)
def __init__(self, *args):
_RobotRaconteurPython.vectorptr_servicedefinition_swiginit(self, _RobotRaconteurPython.new_vectorptr_servicedefinition(*args))
def push_back(self, x):
return _RobotRaconteurPython.vectorptr_servicedefinition_push_back(self, x)
def front(self):
return _RobotRaconteurPython.vectorptr_servicedefinition_front(self)
def back(self):
return _RobotRaconteurPython.vectorptr_servicedefinition_back(self)
def assign(self, n, x):
return _RobotRaconteurPython.vectorptr_servicedefinition_assign(self, n, x)
def resize(self, *args):
return _RobotRaconteurPython.vectorptr_servicedefinition_resize(self, *args)
def insert(self, *args):
return _RobotRaconteurPython.vectorptr_servicedefinition_insert(self, *args)
def reserve(self, n):
return _RobotRaconteurPython.vectorptr_servicedefinition_reserve(self, n)
def capacity(self):
return _RobotRaconteurPython.vectorptr_servicedefinition_capacity(self)
__swig_destroy__ = _RobotRaconteurPython.delete_vectorptr_servicedefinition
# Register vectorptr_servicedefinition in _RobotRaconteurPython:
_RobotRaconteurPython.vectorptr_servicedefinition_swigregister(vectorptr_servicedefinition)
class ServiceDefinitionParseInfo(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
ServiceName = property(_RobotRaconteurPython.ServiceDefinitionParseInfo_ServiceName_get, _RobotRaconteurPython.ServiceDefinitionParseInfo_ServiceName_set)
RobDefFilePath = property(_RobotRaconteurPython.ServiceDefinitionParseInfo_RobDefFilePath_get, _RobotRaconteurPython.ServiceDefinitionParseInfo_RobDefFilePath_set)
Line = property(_RobotRaconteurPython.ServiceDefinitionParseInfo_Line_get, _RobotRaconteurPython.ServiceDefinitionParseInfo_Line_set)
LineNumber = property(_RobotRaconteurPython.ServiceDefinitionParseInfo_LineNumber_get, _RobotRaconteurPython.ServiceDefinitionParseInfo_LineNumber_set)
def __init__(self):
_RobotRaconteurPython.ServiceDefinitionParseInfo_swiginit(self, _RobotRaconteurPython.new_ServiceDefinitionParseInfo())
def Reset(self):
return _RobotRaconteurPython.ServiceDefinitionParseInfo_Reset(self)
__swig_destroy__ = _RobotRaconteurPython.delete_ServiceDefinitionParseInfo
# Register ServiceDefinitionParseInfo in _RobotRaconteurPython:
_RobotRaconteurPython.ServiceDefinitionParseInfo_swigregister(ServiceDefinitionParseInfo)
@_swig_add_metaclass(_SwigNonDynamicMeta)
class RobotRaconteurVersion(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__setattr__ = _swig_setattr_nondynamic_instance_variable(object.__setattr__)
__repr__ = _swig_repr
def __init__(self, *args):
_RobotRaconteurPython.RobotRaconteurVersion_swiginit(self, _RobotRaconteurPython.new_RobotRaconteurVersion(*args))
def ToString(self):
return _RobotRaconteurPython.RobotRaconteurVersion_ToString(self)
def FromString(self, v, parse_info=None):
return _RobotRaconteurPython.RobotRaconteurVersion_FromString(self, v, parse_info)
def __nonzero__(self):
return _RobotRaconteurPython.RobotRaconteurVersion___nonzero__(self)
__bool__ = __nonzero__
major = property(_RobotRaconteurPython.RobotRaconteurVersion_major_get, _RobotRaconteurPython.RobotRaconteurVersion_major_set)
minor = property(_RobotRaconteurPython.RobotRaconteurVersion_minor_get, _RobotRaconteurPython.RobotRaconteurVersion_minor_set)
patch = property(_RobotRaconteurPython.RobotRaconteurVersion_patch_get, _RobotRaconteurPython.RobotRaconteurVersion_patch_set)
tweak = property(_RobotRaconteurPython.RobotRaconteurVersion_tweak_get, _RobotRaconteurPython.RobotRaconteurVersion_tweak_set)
ParseInfo = property(_RobotRaconteurPython.RobotRaconteurVersion_ParseInfo_get, _RobotRaconteurPython.RobotRaconteurVersion_ParseInfo_set)
def __eq__(self, other):
return RobotRaconteurVersion_eq(self,other)
def __ne___(self, other):
return RobotRaconteurVersion_ne(self,other)
def __gt__(self, other):
return RobotRaconteurVersion_gt(self,other)
def __ge__(self, other):
return RobotRaconteurVersion_ge(self,other)
def __lt__(self, other):
return RobotRaconteurVersion_lt(self,other)
def __le__(self, other):
return RobotRaconteurVersion_le(self,other)
def __str__(self):
return self.ToString()
__swig_destroy__ = _RobotRaconteurPython.delete_RobotRaconteurVersion
# Register RobotRaconteurVersion in _RobotRaconteurPython:
_RobotRaconteurPython.RobotRaconteurVersion_swigregister(RobotRaconteurVersion)
def RobotRaconteurVersion_eq(v1, v2):
return _RobotRaconteurPython.RobotRaconteurVersion_eq(v1, v2)
def RobotRaconteurVersion_ne(v1, v2):
return _RobotRaconteurPython.RobotRaconteurVersion_ne(v1, v2)
def RobotRaconteurVersion_gt(v1, v2):
return _RobotRaconteurPython.RobotRaconteurVersion_gt(v1, v2)
def RobotRaconteurVersion_ge(v1, v2):
return _RobotRaconteurPython.RobotRaconteurVersion_ge(v1, v2)
def RobotRaconteurVersion_lt(v1, v2):
return _RobotRaconteurPython.RobotRaconteurVersion_lt(v1, v2)
def RobotRaconteurVersion_le(v1, v2):
return _RobotRaconteurPython.RobotRaconteurVersion_le(v1, v2)
@_swig_add_metaclass(_SwigNonDynamicMeta)
class ServiceDefinition(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__setattr__ = _swig_setattr_nondynamic_instance_variable(object.__setattr__)
__repr__ = _swig_repr
Name = property(_RobotRaconteurPython.ServiceDefinition_Name_get, _RobotRaconteurPython.ServiceDefinition_Name_set)
NamedArrays = property(_RobotRaconteurPython.ServiceDefinition_NamedArrays_get, _RobotRaconteurPython.ServiceDefinition_NamedArrays_set)
Pods = property(_RobotRaconteurPython.ServiceDefinition_Pods_get, _RobotRaconteurPython.ServiceDefinition_Pods_set)
Structures = property(_RobotRaconteurPython.ServiceDefinition_Structures_get, _RobotRaconteurPython.ServiceDefinition_Structures_set)
Objects = property(_RobotRaconteurPython.ServiceDefinition_Objects_get, _RobotRaconteurPython.ServiceDefinition_Objects_set)
Options = property(_RobotRaconteurPython.ServiceDefinition_Options_get, _RobotRaconteurPython.ServiceDefinition_Options_set)
Imports = property(_RobotRaconteurPython.ServiceDefinition_Imports_get, _RobotRaconteurPython.ServiceDefinition_Imports_set)
Exceptions = property(_RobotRaconteurPython.ServiceDefinition_Exceptions_get, _RobotRaconteurPython.ServiceDefinition_Exceptions_set)
Using = property(_RobotRaconteurPython.ServiceDefinition_Using_get, _RobotRaconteurPython.ServiceDefinition_Using_set)
Constants = property(_RobotRaconteurPython.ServiceDefinition_Constants_get, _RobotRaconteurPython.ServiceDefinition_Constants_set)
Enums = property(_RobotRaconteurPython.ServiceDefinition_Enums_get, _RobotRaconteurPython.ServiceDefinition_Enums_set)
StdVer = property(_RobotRaconteurPython.ServiceDefinition_StdVer_get, _RobotRaconteurPython.ServiceDefinition_StdVer_set)
ParseInfo = property(_RobotRaconteurPython.ServiceDefinition_ParseInfo_get, _RobotRaconteurPython.ServiceDefinition_ParseInfo_set)
DocString = property(_RobotRaconteurPython.ServiceDefinition_DocString_get, _RobotRaconteurPython.ServiceDefinition_DocString_set)
def ToString(self):
return _RobotRaconteurPython.ServiceDefinition_ToString(self)
def FromString(self, s, parse_info=None):
return _RobotRaconteurPython.ServiceDefinition_FromString(self, s, parse_info)
def __init__(self):
_RobotRaconteurPython.ServiceDefinition_swiginit(self, _RobotRaconteurPython.new_ServiceDefinition())
def Reset(self):
return _RobotRaconteurPython.ServiceDefinition_Reset(self)
__swig_destroy__ = _RobotRaconteurPython.delete_ServiceDefinition
# Register ServiceDefinition in _RobotRaconteurPython:
_RobotRaconteurPython.ServiceDefinition_swigregister(ServiceDefinition)
@_swig_add_metaclass(_SwigNonDynamicMeta)
class ServiceEntryDefinition(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__setattr__ = _swig_setattr_nondynamic_instance_variable(object.__setattr__)
__repr__ = _swig_repr
Name = property(_RobotRaconteurPython.ServiceEntryDefinition_Name_get, _RobotRaconteurPython.ServiceEntryDefinition_Name_set)
Members = property(_RobotRaconteurPython.ServiceEntryDefinition_Members_get, _RobotRaconteurPython.ServiceEntryDefinition_Members_set)
EntryType = property(_RobotRaconteurPython.ServiceEntryDefinition_EntryType_get, _RobotRaconteurPython.ServiceEntryDefinition_EntryType_set)
Implements = property(_RobotRaconteurPython.ServiceEntryDefinition_Implements_get, _RobotRaconteurPython.ServiceEntryDefinition_Implements_set)
Options = property(_RobotRaconteurPython.ServiceEntryDefinition_Options_get, _RobotRaconteurPython.ServiceEntryDefinition_Options_set)
Constants = property(_RobotRaconteurPython.ServiceEntryDefinition_Constants_get, _RobotRaconteurPython.ServiceEntryDefinition_Constants_set)
ParseInfo = property(_RobotRaconteurPython.ServiceEntryDefinition_ParseInfo_get, _RobotRaconteurPython.ServiceEntryDefinition_ParseInfo_set)
DocString = property(_RobotRaconteurPython.ServiceEntryDefinition_DocString_get, _RobotRaconteurPython.ServiceEntryDefinition_DocString_set)
def __init__(self, _def):
_RobotRaconteurPython.ServiceEntryDefinition_swiginit(self, _RobotRaconteurPython.new_ServiceEntryDefinition(_def))
def ToString(self):
return _RobotRaconteurPython.ServiceEntryDefinition_ToString(self)
def FromString(self, s, parse_info=None):
return _RobotRaconteurPython.ServiceEntryDefinition_FromString(self, s, parse_info)
def GetServiceDefinition(self):
return _RobotRaconteurPython.ServiceEntryDefinition_GetServiceDefinition(self)
def SetServiceDefinition(self, value):
return _RobotRaconteurPython.ServiceEntryDefinition_SetServiceDefinition(self, value)
def Reset(self):
return _RobotRaconteurPython.ServiceEntryDefinition_Reset(self)
__swig_destroy__ = _RobotRaconteurPython.delete_ServiceEntryDefinition
# Register ServiceEntryDefinition in _RobotRaconteurPython:
_RobotRaconteurPython.ServiceEntryDefinition_swigregister(ServiceEntryDefinition)
@_swig_add_metaclass(_SwigNonDynamicMeta)
class MemberDefinition(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__setattr__ = _swig_setattr_nondynamic_instance_variable(object.__setattr__)
__repr__ = _swig_repr
Name = property(_RobotRaconteurPython.MemberDefinition_Name_get, _RobotRaconteurPython.MemberDefinition_Name_set)
DocString = property(_RobotRaconteurPython.MemberDefinition_DocString_get, _RobotRaconteurPython.MemberDefinition_DocString_set)
def __init__(self, ServiceEntry):
_RobotRaconteurPython.MemberDefinition_swiginit(self, _RobotRaconteurPython.new_MemberDefinition(ServiceEntry))
def NoLock(self):
return _RobotRaconteurPython.MemberDefinition_NoLock(self)
def ToString(self):
return _RobotRaconteurPython.MemberDefinition_ToString(self)
def GetServiceEntry(self):
return _RobotRaconteurPython.MemberDefinition_GetServiceEntry(self)
def SetServiceEntry(self, value):
return _RobotRaconteurPython.MemberDefinition_SetServiceEntry(self, value)
Modifiers = property(_RobotRaconteurPython.MemberDefinition_Modifiers_get, _RobotRaconteurPython.MemberDefinition_Modifiers_set)
ParseInfo = property(_RobotRaconteurPython.MemberDefinition_ParseInfo_get, _RobotRaconteurPython.MemberDefinition_ParseInfo_set)
def Reset(self):
return _RobotRaconteurPython.MemberDefinition_Reset(self)
__swig_destroy__ = _RobotRaconteurPython.delete_MemberDefinition
# Register MemberDefinition in _RobotRaconteurPython:
_RobotRaconteurPython.MemberDefinition_swigregister(MemberDefinition)
class PropertyDefinition(MemberDefinition):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
Type = property(_RobotRaconteurPython.PropertyDefinition_Type_get, _RobotRaconteurPython.PropertyDefinition_Type_set)
def __init__(self, ServiceEntry):
_RobotRaconteurPython.PropertyDefinition_swiginit(self, _RobotRaconteurPython.new_PropertyDefinition(ServiceEntry))
def ToString(self, *args):
return _RobotRaconteurPython.PropertyDefinition_ToString(self, *args)
def FromString(self, s, parse_info=None):
return _RobotRaconteurPython.PropertyDefinition_FromString(self, s, parse_info)
__swig_destroy__ = _RobotRaconteurPython.delete_PropertyDefinition
# Register PropertyDefinition in _RobotRaconteurPython:
_RobotRaconteurPython.PropertyDefinition_swigregister(PropertyDefinition)
class FunctionDefinition(MemberDefinition):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
ReturnType = property(_RobotRaconteurPython.FunctionDefinition_ReturnType_get, _RobotRaconteurPython.FunctionDefinition_ReturnType_set)
Parameters = property(_RobotRaconteurPython.FunctionDefinition_Parameters_get, _RobotRaconteurPython.FunctionDefinition_Parameters_set)
def __init__(self, ServiceEntry):
_RobotRaconteurPython.FunctionDefinition_swiginit(self, _RobotRaconteurPython.new_FunctionDefinition(ServiceEntry))
def ToString(self):
return _RobotRaconteurPython.FunctionDefinition_ToString(self)
def FromString(self, s, parse_info=None):
return _RobotRaconteurPython.FunctionDefinition_FromString(self, s, parse_info)
def IsGenerator(self):
return _RobotRaconteurPython.FunctionDefinition_IsGenerator(self)
__swig_destroy__ = _RobotRaconteurPython.delete_FunctionDefinition
# Register FunctionDefinition in _RobotRaconteurPython:
_RobotRaconteurPython.FunctionDefinition_swigregister(FunctionDefinition)
class EventDefinition(MemberDefinition):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
Parameters = property(_RobotRaconteurPython.EventDefinition_Parameters_get, _RobotRaconteurPython.EventDefinition_Parameters_set)
def __init__(self, ServiceEntry):
_RobotRaconteurPython.EventDefinition_swiginit(self, _RobotRaconteurPython.new_EventDefinition(ServiceEntry))
def ToString(self):
return _RobotRaconteurPython.EventDefinition_ToString(self)
def FromString(self, s, parse_info=None):
return _RobotRaconteurPython.EventDefinition_FromString(self, s, parse_info)
__swig_destroy__ = _RobotRaconteurPython.delete_EventDefinition
# Register EventDefinition in _RobotRaconteurPython:
_RobotRaconteurPython.EventDefinition_swigregister(EventDefinition)
class ObjRefDefinition(MemberDefinition):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
ObjectType = property(_RobotRaconteurPython.ObjRefDefinition_ObjectType_get, _RobotRaconteurPython.ObjRefDefinition_ObjectType_set)
ArrayType = property(_RobotRaconteurPython.ObjRefDefinition_ArrayType_get, _RobotRaconteurPython.ObjRefDefinition_ArrayType_set)
ContainerType = property(_RobotRaconteurPython.ObjRefDefinition_ContainerType_get, _RobotRaconteurPython.ObjRefDefinition_ContainerType_set)
def __init__(self, ServiceEntry):
_RobotRaconteurPython.ObjRefDefinition_swiginit(self, _RobotRaconteurPython.new_ObjRefDefinition(ServiceEntry))
def ToString(self):
return _RobotRaconteurPython.ObjRefDefinition_ToString(self)
def FromString(self, s, parse_info=None):
return _RobotRaconteurPython.ObjRefDefinition_FromString(self, s, parse_info)
__swig_destroy__ = _RobotRaconteurPython.delete_ObjRefDefinition
# Register ObjRefDefinition in _RobotRaconteurPython:
_RobotRaconteurPython.ObjRefDefinition_swigregister(ObjRefDefinition)
class PipeDefinition(MemberDefinition):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
Type = property(_RobotRaconteurPython.PipeDefinition_Type_get, _RobotRaconteurPython.PipeDefinition_Type_set)
def __init__(self, ServiceEntry):
_RobotRaconteurPython.PipeDefinition_swiginit(self, _RobotRaconteurPython.new_PipeDefinition(ServiceEntry))
def ToString(self):
return _RobotRaconteurPython.PipeDefinition_ToString(self)
def FromString(self, s, parse_info=None):
return _RobotRaconteurPython.PipeDefinition_FromString(self, s, parse_info)
__swig_destroy__ = _RobotRaconteurPython.delete_PipeDefinition
# Register PipeDefinition in _RobotRaconteurPython:
_RobotRaconteurPython.PipeDefinition_swigregister(PipeDefinition)
class CallbackDefinition(MemberDefinition):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
ReturnType = property(_RobotRaconteurPython.CallbackDefinition_ReturnType_get, _RobotRaconteurPython.CallbackDefinition_ReturnType_set)
Parameters = property(_RobotRaconteurPython.CallbackDefinition_Parameters_get, _RobotRaconteurPython.CallbackDefinition_Parameters_set)
def __init__(self, ServiceEntry):
_RobotRaconteurPython.CallbackDefinition_swiginit(self, _RobotRaconteurPython.new_CallbackDefinition(ServiceEntry))
def ToString(self):
return _RobotRaconteurPython.CallbackDefinition_ToString(self)
def FromString(self, s, parse_info=None):
return _RobotRaconteurPython.CallbackDefinition_FromString(self, s, parse_info)
__swig_destroy__ = _RobotRaconteurPython.delete_CallbackDefinition
# Register CallbackDefinition in _RobotRaconteurPython:
_RobotRaconteurPython.CallbackDefinition_swigregister(CallbackDefinition)
class WireDefinition(MemberDefinition):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
Type = property(_RobotRaconteurPython.WireDefinition_Type_get, _RobotRaconteurPython.WireDefinition_Type_set)
def __init__(self, ServiceEntry):
_RobotRaconteurPython.WireDefinition_swiginit(self, _RobotRaconteurPython.new_WireDefinition(ServiceEntry))
def ToString(self):
return _RobotRaconteurPython.WireDefinition_ToString(self)
def FromString(self, s, parse_info=None):
return _RobotRaconteurPython.WireDefinition_FromString(self, s, parse_info)
__swig_destroy__ = _RobotRaconteurPython.delete_WireDefinition
# Register WireDefinition in _RobotRaconteurPython:
_RobotRaconteurPython.WireDefinition_swigregister(WireDefinition)
class MemoryDefinition(MemberDefinition):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
Type = property(_RobotRaconteurPython.MemoryDefinition_Type_get, _RobotRaconteurPython.MemoryDefinition_Type_set)
def __init__(self, ServiceEntry):
_RobotRaconteurPython.MemoryDefinition_swiginit(self, _RobotRaconteurPython.new_MemoryDefinition(ServiceEntry))
def ToString(self):
return _RobotRaconteurPython.MemoryDefinition_ToString(self)
def FromString(self, s, parse_info=None):
return _RobotRaconteurPython.MemoryDefinition_FromString(self, s, parse_info)
__swig_destroy__ = _RobotRaconteurPython.delete_MemoryDefinition
# Register MemoryDefinition in _RobotRaconteurPython:
_RobotRaconteurPython.MemoryDefinition_swigregister(MemoryDefinition)
@_swig_add_metaclass(_SwigNonDynamicMeta)
class TypeDefinition(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__setattr__ = _swig_setattr_nondynamic_instance_variable(object.__setattr__)
__repr__ = _swig_repr
Name = property(_RobotRaconteurPython.TypeDefinition_Name_get, _RobotRaconteurPython.TypeDefinition_Name_set)
Type = property(_RobotRaconteurPython.TypeDefinition_Type_get, _RobotRaconteurPython.TypeDefinition_Type_set)
TypeString = property(_RobotRaconteurPython.TypeDefinition_TypeString_get, _RobotRaconteurPython.TypeDefinition_TypeString_set)
ArrayType = property(_RobotRaconteurPython.TypeDefinition_ArrayType_get, _RobotRaconteurPython.TypeDefinition_ArrayType_set)
ArrayVarLength = property(_RobotRaconteurPython.TypeDefinition_ArrayVarLength_get, _RobotRaconteurPython.TypeDefinition_ArrayVarLength_set)
ArrayLength = property(_RobotRaconteurPython.TypeDefinition_ArrayLength_get, _RobotRaconteurPython.TypeDefinition_ArrayLength_set)
ContainerType = property(_RobotRaconteurPython.TypeDefinition_ContainerType_get, _RobotRaconteurPython.TypeDefinition_ContainerType_set)
def ToString(self):
return _RobotRaconteurPython.TypeDefinition_ToString(self)
def FromString(self, s, parse_info=None):
return _RobotRaconteurPython.TypeDefinition_FromString(self, s, parse_info)
@staticmethod
def DataTypeFromString(d):
return _RobotRaconteurPython.TypeDefinition_DataTypeFromString(d)
@staticmethod
def StringFromDataType(d):
return _RobotRaconteurPython.TypeDefinition_StringFromDataType(d)
def _GetMember(self):
return _RobotRaconteurPython.TypeDefinition__GetMember(self)
def _SetMember(self, value):
return _RobotRaconteurPython.TypeDefinition__SetMember(self, value)
def CopyTo(self, _def):
return _RobotRaconteurPython.TypeDefinition_CopyTo(self, _def)
def Clone(self):
return _RobotRaconteurPython.TypeDefinition_Clone(self)
def Rename(self, name):
return _RobotRaconteurPython.TypeDefinition_Rename(self, name)
def RemoveContainers(self):
return _RobotRaconteurPython.TypeDefinition_RemoveContainers(self)
def RemoveArray(self):
return _RobotRaconteurPython.TypeDefinition_RemoveArray(self)
def QualifyTypeStringWithUsing(self):
return _RobotRaconteurPython.TypeDefinition_QualifyTypeStringWithUsing(self)
def UnqualifyTypeStringWithUsing(self):
return _RobotRaconteurPython.TypeDefinition_UnqualifyTypeStringWithUsing(self)
def Reset(self):
return _RobotRaconteurPython.TypeDefinition_Reset(self)
def __init__(self, *args):
_RobotRaconteurPython.TypeDefinition_swiginit(self, _RobotRaconteurPython.new_TypeDefinition(*args))
__swig_destroy__ = _RobotRaconteurPython.delete_TypeDefinition
# Register TypeDefinition in _RobotRaconteurPython:
_RobotRaconteurPython.TypeDefinition_swigregister(TypeDefinition)
def TypeDefinition_DataTypeFromString(d):
return _RobotRaconteurPython.TypeDefinition_DataTypeFromString(d)
def TypeDefinition_StringFromDataType(d):
return _RobotRaconteurPython.TypeDefinition_StringFromDataType(d)
@_swig_add_metaclass(_SwigNonDynamicMeta)
class UsingDefinition(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__setattr__ = _swig_setattr_nondynamic_instance_variable(object.__setattr__)
__repr__ = _swig_repr
__swig_destroy__ = _RobotRaconteurPython.delete_UsingDefinition
QualifiedName = property(_RobotRaconteurPython.UsingDefinition_QualifiedName_get, _RobotRaconteurPython.UsingDefinition_QualifiedName_set)
UnqualifiedName = property(_RobotRaconteurPython.UsingDefinition_UnqualifiedName_get, _RobotRaconteurPython.UsingDefinition_UnqualifiedName_set)
ParseInfo = property(_RobotRaconteurPython.UsingDefinition_ParseInfo_get, _RobotRaconteurPython.UsingDefinition_ParseInfo_set)
def _GetService(self):
return _RobotRaconteurPython.UsingDefinition__GetService(self)
def _SetService(self, value):
return _RobotRaconteurPython.UsingDefinition__SetService(self, value)
def __init__(self, service):
_RobotRaconteurPython.UsingDefinition_swiginit(self, _RobotRaconteurPython.new_UsingDefinition(service))
def ToString(self):
return _RobotRaconteurPython.UsingDefinition_ToString(self)
def FromString(self, s, parse_info=None):
return _RobotRaconteurPython.UsingDefinition_FromString(self, s, parse_info)
# Register UsingDefinition in _RobotRaconteurPython:
_RobotRaconteurPython.UsingDefinition_swigregister(UsingDefinition)
class ConstantDefinition_StructField(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
Name = property(_RobotRaconteurPython.ConstantDefinition_StructField_Name_get, _RobotRaconteurPython.ConstantDefinition_StructField_Name_set)
ConstantRefName = property(_RobotRaconteurPython.ConstantDefinition_StructField_ConstantRefName_get, _RobotRaconteurPython.ConstantDefinition_StructField_ConstantRefName_set)
def __init__(self):
_RobotRaconteurPython.ConstantDefinition_StructField_swiginit(self, _RobotRaconteurPython.new_ConstantDefinition_StructField())
__swig_destroy__ = _RobotRaconteurPython.delete_ConstantDefinition_StructField
# Register ConstantDefinition_StructField in _RobotRaconteurPython:
_RobotRaconteurPython.ConstantDefinition_StructField_swigregister(ConstantDefinition_StructField)
@_swig_add_metaclass(_SwigNonDynamicMeta)
class ConstantDefinition(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__setattr__ = _swig_setattr_nondynamic_instance_variable(object.__setattr__)
__repr__ = _swig_repr
__swig_destroy__ = _RobotRaconteurPython.delete_ConstantDefinition
Name = property(_RobotRaconteurPython.ConstantDefinition_Name_get, _RobotRaconteurPython.ConstantDefinition_Name_set)
DocString = property(_RobotRaconteurPython.ConstantDefinition_DocString_get, _RobotRaconteurPython.ConstantDefinition_DocString_set)
Type = property(_RobotRaconteurPython.ConstantDefinition_Type_get, _RobotRaconteurPython.ConstantDefinition_Type_set)
Value = property(_RobotRaconteurPython.ConstantDefinition_Value_get, _RobotRaconteurPython.ConstantDefinition_Value_set)
ParseInfo = property(_RobotRaconteurPython.ConstantDefinition_ParseInfo_get, _RobotRaconteurPython.ConstantDefinition_ParseInfo_set)
def _GetService(self):
return _RobotRaconteurPython.ConstantDefinition__GetService(self)
def _SetService(self, value):
return _RobotRaconteurPython.ConstantDefinition__SetService(self, value)
def _GetServiceEntry(self):
return _RobotRaconteurPython.ConstantDefinition__GetServiceEntry(self)
def _SetServiceEntry(self, value):
return _RobotRaconteurPython.ConstantDefinition__SetServiceEntry(self, value)
def __init__(self, *args):
_RobotRaconteurPython.ConstantDefinition_swiginit(self, _RobotRaconteurPython.new_ConstantDefinition(*args))
def ToString(self):
return _RobotRaconteurPython.ConstantDefinition_ToString(self)
def FromString(self, s, parse_info=None):
return _RobotRaconteurPython.ConstantDefinition_FromString(self, s, parse_info)
def Reset(self):
return _RobotRaconteurPython.ConstantDefinition_Reset(self)
def VerifyValue(self):
return _RobotRaconteurPython.ConstantDefinition_VerifyValue(self)
def ValueToString(self):
return _RobotRaconteurPython.ConstantDefinition_ValueToString(self)
def ValueToStructFields(self):
return _RobotRaconteurPython.ConstantDefinition_ValueToStructFields(self)
@staticmethod
def UnescapeString(_in):
return _RobotRaconteurPython.ConstantDefinition_UnescapeString(_in)
@staticmethod
def EscapeString(_in):
return _RobotRaconteurPython.ConstantDefinition_EscapeString(_in)
# Register ConstantDefinition in _RobotRaconteurPython:
_RobotRaconteurPython.ConstantDefinition_swigregister(ConstantDefinition)
def ConstantDefinition_UnescapeString(_in):
return _RobotRaconteurPython.ConstantDefinition_UnescapeString(_in)
def ConstantDefinition_EscapeString(_in):
return _RobotRaconteurPython.ConstantDefinition_EscapeString(_in)
@_swig_add_metaclass(_SwigNonDynamicMeta)
class EnumDefinition(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__setattr__ = _swig_setattr_nondynamic_instance_variable(object.__setattr__)
__repr__ = _swig_repr
__swig_destroy__ = _RobotRaconteurPython.delete_EnumDefinition
Name = property(_RobotRaconteurPython.EnumDefinition_Name_get, _RobotRaconteurPython.EnumDefinition_Name_set)
DocString = property(_RobotRaconteurPython.EnumDefinition_DocString_get, _RobotRaconteurPython.EnumDefinition_DocString_set)
Values = property(_RobotRaconteurPython.EnumDefinition_Values_get, _RobotRaconteurPython.EnumDefinition_Values_set)
ParseInfo = property(_RobotRaconteurPython.EnumDefinition_ParseInfo_get, _RobotRaconteurPython.EnumDefinition_ParseInfo_set)
def _GetService(self):
return _RobotRaconteurPython.EnumDefinition__GetService(self)
def _SetService(self, value):
return _RobotRaconteurPython.EnumDefinition__SetService(self, value)
def __init__(self, service):
_RobotRaconteurPython.EnumDefinition_swiginit(self, _RobotRaconteurPython.new_EnumDefinition(service))
def ToString(self):
return _RobotRaconteurPython.EnumDefinition_ToString(self)
def FromString(self, s, parse_info=None):
return _RobotRaconteurPython.EnumDefinition_FromString(self, s, parse_info)
def VerifyValues(self):
return _RobotRaconteurPython.EnumDefinition_VerifyValues(self)
def Reset(self):
return _RobotRaconteurPython.EnumDefinition_Reset(self)
# Register EnumDefinition in _RobotRaconteurPython:
_RobotRaconteurPython.EnumDefinition_swigregister(EnumDefinition)
@_swig_add_metaclass(_SwigNonDynamicMeta)
class EnumDefinitionValue(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__setattr__ = _swig_setattr_nondynamic_instance_variable(object.__setattr__)
__repr__ = _swig_repr
def __init__(self):
_RobotRaconteurPython.EnumDefinitionValue_swiginit(self, _RobotRaconteurPython.new_EnumDefinitionValue())
Name = property(_RobotRaconteurPython.EnumDefinitionValue_Name_get, _RobotRaconteurPython.EnumDefinitionValue_Name_set)
DocString = property(_RobotRaconteurPython.EnumDefinitionValue_DocString_get, _RobotRaconteurPython.EnumDefinitionValue_DocString_set)
Value = property(_RobotRaconteurPython.EnumDefinitionValue_Value_get, _RobotRaconteurPython.EnumDefinitionValue_Value_set)
ImplicitValue = property(_RobotRaconteurPython.EnumDefinitionValue_ImplicitValue_get, _RobotRaconteurPython.EnumDefinitionValue_ImplicitValue_set)
HexValue = property(_RobotRaconteurPython.EnumDefinitionValue_HexValue_get, _RobotRaconteurPython.EnumDefinitionValue_HexValue_set)
__swig_destroy__ = _RobotRaconteurPython.delete_EnumDefinitionValue
# Register EnumDefinitionValue in _RobotRaconteurPython:
_RobotRaconteurPython.EnumDefinitionValue_swigregister(EnumDefinitionValue)
@_swig_add_metaclass(_SwigNonDynamicMeta)
class ExceptionDefinition(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__setattr__ = _swig_setattr_nondynamic_instance_variable(object.__setattr__)
__repr__ = _swig_repr
__swig_destroy__ = _RobotRaconteurPython.delete_ExceptionDefinition
Name = property(_RobotRaconteurPython.ExceptionDefinition_Name_get, _RobotRaconteurPython.ExceptionDefinition_Name_set)
DocString = property(_RobotRaconteurPython.ExceptionDefinition_DocString_get, _RobotRaconteurPython.ExceptionDefinition_DocString_set)
ParseInfo = property(_RobotRaconteurPython.ExceptionDefinition_ParseInfo_get, _RobotRaconteurPython.ExceptionDefinition_ParseInfo_set)
def _GetService(self):
return _RobotRaconteurPython.ExceptionDefinition__GetService(self)
def _SetService(self, value):
return _RobotRaconteurPython.ExceptionDefinition__SetService(self, value)
def __init__(self, service):
_RobotRaconteurPython.ExceptionDefinition_swiginit(self, _RobotRaconteurPython.new_ExceptionDefinition(service))
def ToString(self):
return _RobotRaconteurPython.ExceptionDefinition_ToString(self)
def FromString(self, s, parse_info=None):
return _RobotRaconteurPython.ExceptionDefinition_FromString(self, s, parse_info)
def Reset(self):
return _RobotRaconteurPython.ExceptionDefinition_Reset(self)
# Register ExceptionDefinition in _RobotRaconteurPython:
_RobotRaconteurPython.ExceptionDefinition_swigregister(ExceptionDefinition)
class MemberDefinitionUtil(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
@staticmethod
def ToProperty(t):
return _RobotRaconteurPython.MemberDefinitionUtil_ToProperty(t)
@staticmethod
def ToFunction(t):
return _RobotRaconteurPython.MemberDefinitionUtil_ToFunction(t)
@staticmethod
def ToObjRef(t):
return _RobotRaconteurPython.MemberDefinitionUtil_ToObjRef(t)
@staticmethod
def ToEvent(t):
return _RobotRaconteurPython.MemberDefinitionUtil_ToEvent(t)
@staticmethod
def ToPipe(t):
return _RobotRaconteurPython.MemberDefinitionUtil_ToPipe(t)
@staticmethod
def ToCallback(t):
return _RobotRaconteurPython.MemberDefinitionUtil_ToCallback(t)
@staticmethod
def ToWire(t):
return _RobotRaconteurPython.MemberDefinitionUtil_ToWire(t)
@staticmethod
def ToMemory(t):
return _RobotRaconteurPython.MemberDefinitionUtil_ToMemory(t)
def __init__(self):
_RobotRaconteurPython.MemberDefinitionUtil_swiginit(self, _RobotRaconteurPython.new_MemberDefinitionUtil())
__swig_destroy__ = _RobotRaconteurPython.delete_MemberDefinitionUtil
# Register MemberDefinitionUtil in _RobotRaconteurPython:
_RobotRaconteurPython.MemberDefinitionUtil_swigregister(MemberDefinitionUtil)
def MemberDefinitionUtil_ToProperty(t):
return _RobotRaconteurPython.MemberDefinitionUtil_ToProperty(t)
def MemberDefinitionUtil_ToFunction(t):
return _RobotRaconteurPython.MemberDefinitionUtil_ToFunction(t)
def MemberDefinitionUtil_ToObjRef(t):
return _RobotRaconteurPython.MemberDefinitionUtil_ToObjRef(t)
def MemberDefinitionUtil_ToEvent(t):
return _RobotRaconteurPython.MemberDefinitionUtil_ToEvent(t)
def MemberDefinitionUtil_ToPipe(t):
return _RobotRaconteurPython.MemberDefinitionUtil_ToPipe(t)
def MemberDefinitionUtil_ToCallback(t):
return _RobotRaconteurPython.MemberDefinitionUtil_ToCallback(t)
def MemberDefinitionUtil_ToWire(t):
return _RobotRaconteurPython.MemberDefinitionUtil_ToWire(t)
def MemberDefinitionUtil_ToMemory(t):
return _RobotRaconteurPython.MemberDefinitionUtil_ToMemory(t)
@_swig_add_metaclass(_SwigNonDynamicMeta)
class Transport(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__setattr__ = _swig_setattr_nondynamic_instance_variable(object.__setattr__)
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
__repr__ = _swig_repr
def GetUrlSchemeString(self):
return _RobotRaconteurPython.Transport_GetUrlSchemeString(self)
@staticmethod
def GetCurrentTransportConnectionURL():
return _RobotRaconteurPython.Transport_GetCurrentTransportConnectionURL()
def GetServerListenUrls(self):
return _RobotRaconteurPython.Transport_GetServerListenUrls(self)
__swig_destroy__ = _RobotRaconteurPython.delete_Transport
# Register Transport in _RobotRaconteurPython:
_RobotRaconteurPython.Transport_swigregister(Transport)
def Transport_GetCurrentTransportConnectionURL():
return _RobotRaconteurPython.Transport_GetCurrentTransportConnectionURL()
IPNodeDiscoveryFlags_NODE_LOCAL = _RobotRaconteurPython.IPNodeDiscoveryFlags_NODE_LOCAL
IPNodeDiscoveryFlags_LINK_LOCAL = _RobotRaconteurPython.IPNodeDiscoveryFlags_LINK_LOCAL
IPNodeDiscoveryFlags_SITE_LOCAL = _RobotRaconteurPython.IPNodeDiscoveryFlags_SITE_LOCAL
IPNodeDiscoveryFlags_IPV4_BROADCAST = _RobotRaconteurPython.IPNodeDiscoveryFlags_IPV4_BROADCAST
@_swig_add_metaclass(_SwigNonDynamicMeta)
class TcpTransport(Transport):
r"""
Transport for Transport Control Protocol Internet Protocol (TCP/IP) networks
It is recommended that ClientNodeSetup, ServerNodeSetup, or SecureServerNodeSetup
be used to construct this class.
See \ref robotraconteur_url for more information on URLs.
The TcpTransport implements transport connections over TCP/IP networks. TCP/IP is the
most common protocol used for Internet and Local Area Network (LAN) communication, including
Ethernet and WiFi connections. The Transport Control Protocol (TCP) is a reliable stream
protocol that establishes connections between devices using IP address and port pairs.
Each adapter has an assigned address, and applications create connections on different ports.
TcpTransport listens to the port specified in StartServer(), and the client uses
a URL containing the IP address and port of the listening transport. The TcpTransport
uses the established connection to pass messages between nodes.
The IP protocol is available in two major versions, IPv4 and IPv6. The most common
is IPv4, and its 32 bit address is typically written as four numbers,
ie 172.17.12.174. IPv4 has a number of critical limitations, the greatest being
its 2^32 address limit (approximately 4 billion). This is a problem when there are
tens of billions of internet connected devices already present. IPv6 introduces a 128
bit address space, which allows for approximately 3.4x10^38 possible addresses. The major
advantage for Robot Raconteur is the introduction of "link-local" addresses. These addresses
begin with "FE80::" and finish with an "EUI-64" address, which is tied to the MAC address
of the adaptor. IPv4 addresses need to be assigned to devices locally, and have a tendency
to change. IPv6 addresses are permanently assigned to the adapter itself, meaning that
network configuration for LAN communication is essentially automatic. Robot Raconteur
will prefer IPv6 connections when possible for this reason.
The TcpTransport is capable of using "raw" streams that implement the Robot Raconteur
message protocols, or to use HTTP WebSockets. HTTP WebSockets allow Robot Raconteur
to communicate seamlessly with browsers and HTTP servers without requiring
additional plugins. WebSockets provide additional security using "origins". See
AddWebSocketAllowedOrigin() for more information.
The TcpTransport supports TLS encryption using certificates. See \ref tls_security for
more information on TLS. The TcpTransport supports four modes of TLS encryption:
======= ============================================ ===========
Scheme Description Direction
======= ============================================ ===========
rrs+tcp "Raw" protocol with TLS Both
rr+wss Websocket over HTTPS Client Only
rrs+ws Websocket with RobotRaconteur TLS over HTTP Both
rrs+wss Websocket with RobotRaconteur TLS over HTTPS Client Only
======= ============================================ ===========
The different combinations of TLS and HTTPS for websockets are used for different scenarios.
Robot Raconteur Core can initiate HTTPS connections, but cannot accept them. Accepting
HTTPS connections requires a certificate issued by an authority like GoDaddy or Digicert,
and is typically used with an HTTP server running RobotRaconteurWeb.
TLS certificates for Robot Raconteur nodes are issued by Wason Technology, LLC using
a root certificate that is "burned in" to Robot Raconteur Core. All devices running
Robot Raconteur will support this certificate chain.
Discovery for the TcpTransport is accomplished using User Defined Protocol (UDP) multicast
and/or broadcast packets. Broadcast packets are sent to all connected devices, while
multicast is sent to devices that have registered to receive them. Unlike TCP, the packets
sent to broadcast or multicast are sent to the entire network. This allows for devices
to find each other on the network.
For IPv4, the broadcast address 255.255.255.255 on port 48653
is used for discovery. By default, IPv4 is disabled in favor of IPv6. IPv6 uses the multicast
following multicast addresses:
========== ========== ===== ========
Address Scope Port Default?
========== ========== ===== ========
FF01::BA86 Node-Local 48653 Disabled
FF02::BA86 Link-Local 48653 Enabled
FF05::BA86 Site-Local 48653 Disabled
========== ========== ===== ========
By default, discovery will only occur on the link-local IPv6 scope. This will
find nodes on the local subnet, but will not attempt to pass through any routers.
The use of RobotRaconteurNodeSetup and subclasses is recommended to construct
transports.
The transport must be registered with the node using
RobotRaconteurNode.RegisterTransport() after construction if node
setup is not used.
:param node: (optional) The node that will use the transport. Default is the singleton node
:type node: RobotRaconteur.RobotRaconteurNode
"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__setattr__ = _swig_setattr_nondynamic_instance_variable(object.__setattr__)
__repr__ = _swig_repr
def __init__(self, *args):
_RobotRaconteurPython.TcpTransport_swiginit(self, _RobotRaconteurPython.new_TcpTransport(*args))
def _GetDefaultReceiveTimeout(self):
return _RobotRaconteurPython.TcpTransport__GetDefaultReceiveTimeout(self)
def _SetDefaultReceiveTimeout(self, milliseconds):
return _RobotRaconteurPython.TcpTransport__SetDefaultReceiveTimeout(self, milliseconds)
def _GetDefaultConnectTimeout(self):
return _RobotRaconteurPython.TcpTransport__GetDefaultConnectTimeout(self)
def _SetDefaultConnectTimeout(self, milliseconds):
return _RobotRaconteurPython.TcpTransport__SetDefaultConnectTimeout(self, milliseconds)
def _GetDefaultHeartbeatPeriod(self):
return _RobotRaconteurPython.TcpTransport__GetDefaultHeartbeatPeriod(self)
def _SetDefaultHeartbeatPeriod(self, milliseconds):
return _RobotRaconteurPython.TcpTransport__SetDefaultHeartbeatPeriod(self, milliseconds)
def GetUrlSchemeString(self):
return _RobotRaconteurPython.TcpTransport_GetUrlSchemeString(self)
def GetServerListenUrls(self):
return _RobotRaconteurPython.TcpTransport_GetServerListenUrls(self)
def GetListenPort(self):
return _RobotRaconteurPython.TcpTransport_GetListenPort(self)
def StartServer(self, porte, localhost_only=False):
return _RobotRaconteurPython.TcpTransport_StartServer(self, porte, localhost_only)
def Close(self):
r"""
Close the transport. Done automatically by node shutdown.
"""
return _RobotRaconteurPython.TcpTransport_Close(self)
def EnableNodeDiscoveryListening(self, *args):
r"""
Enable node discovery listening
By default enables listining on IPv6 link-local scope
See IPNodeDiscoveryFlags constants
:param flags: The flags specifying the scope
:type flags: int
"""
return _RobotRaconteurPython.TcpTransport_EnableNodeDiscoveryListening(self, *args)
def DisableNodeDiscoveryListening(self):
r"""
Disable node discovery listening
"""
return _RobotRaconteurPython.TcpTransport_DisableNodeDiscoveryListening(self)
def EnableNodeAnnounce(self, *args):
r"""
Enable node discovery announce
By default enables announce on IPv6 link-local scope
See IPNodeDiscoveryFlags constants
:param flags: The flags specifying the scope
:type flags: int
"""
return _RobotRaconteurPython.TcpTransport_EnableNodeAnnounce(self, *args)
def DisableNodeAnnounce(self):
r"""
Disable node discovery announce
"""
return _RobotRaconteurPython.TcpTransport_DisableNodeAnnounce(self)
def _GetNodeAnnouncePeriod(self):
return _RobotRaconteurPython.TcpTransport__GetNodeAnnouncePeriod(self)
def _SetNodeAnnouncePeriod(self, millis):
return _RobotRaconteurPython.TcpTransport__SetNodeAnnouncePeriod(self, millis)
def _GetMaxMessageSize(self):
return _RobotRaconteurPython.TcpTransport__GetMaxMessageSize(self)
def _SetMaxMessageSize(self, size):
return _RobotRaconteurPython.TcpTransport__SetMaxMessageSize(self, size)
def _GetMaxConnectionCount(self):
return _RobotRaconteurPython.TcpTransport__GetMaxConnectionCount(self)
def _SetMaxConnectionCount(self, count):
return _RobotRaconteurPython.TcpTransport__SetMaxConnectionCount(self, count)
def _GetRequireTls(self):
return _RobotRaconteurPython.TcpTransport__GetRequireTls(self)
def _SetRequireTls(self, require_tls):
return _RobotRaconteurPython.TcpTransport__SetRequireTls(self, require_tls)
def LoadTlsNodeCertificate(self):
return _RobotRaconteurPython.TcpTransport_LoadTlsNodeCertificate(self)
def _IsTlsNodeCertificateLoaded(self):
return _RobotRaconteurPython.TcpTransport__IsTlsNodeCertificateLoaded(self)
def _IsTransportConnectionSecure(self, *args):
return _RobotRaconteurPython.TcpTransport__IsTransportConnectionSecure(self, *args)
def _IsSecurePeerIdentityVerified(self, *args):
return _RobotRaconteurPython.TcpTransport__IsSecurePeerIdentityVerified(self, *args)
def _GetSecurePeerIdentity(self, *args):
return _RobotRaconteurPython.TcpTransport__GetSecurePeerIdentity(self, *args)
def StartServerUsingPortSharer(self):
return _RobotRaconteurPython.TcpTransport_StartServerUsingPortSharer(self)
def _IsPortSharerRunning(self):
return _RobotRaconteurPython.TcpTransport__IsPortSharerRunning(self)
def _GetAcceptWebSockets(self):
return _RobotRaconteurPython.TcpTransport__GetAcceptWebSockets(self)
def _SetAcceptWebSockets(self, value):
return _RobotRaconteurPython.TcpTransport__SetAcceptWebSockets(self, value)
def GetWebSocketAllowedOrigins(self):
return _RobotRaconteurPython.TcpTransport_GetWebSocketAllowedOrigins(self)
def AddWebSocketAllowedOrigin(self, origin):
return _RobotRaconteurPython.TcpTransport_AddWebSocketAllowedOrigin(self, origin)
def RemoveWebSocketAllowedOrigin(self, origin):
return _RobotRaconteurPython.TcpTransport_RemoveWebSocketAllowedOrigin(self, origin)
def _GetDisableMessage4(self):
return _RobotRaconteurPython.TcpTransport__GetDisableMessage4(self)
def _SetDisableMessage4(self, d):
return _RobotRaconteurPython.TcpTransport__SetDisableMessage4(self, d)
def _GetDisableStringTable(self):
return _RobotRaconteurPython.TcpTransport__GetDisableStringTable(self)
def _SetDisableStringTable(self, d):
return _RobotRaconteurPython.TcpTransport__SetDisableStringTable(self, d)
def _GetDisableAsyncMessageIO(self):
return _RobotRaconteurPython.TcpTransport__GetDisableAsyncMessageIO(self)
def _SetDisableAsyncMessageIO(self, d):
return _RobotRaconteurPython.TcpTransport__SetDisableAsyncMessageIO(self, d)
@staticmethod
def GetLocalAdapterIPAddresses():
return _RobotRaconteurPython.TcpTransport_GetLocalAdapterIPAddresses()
DefaultReceiveTimeout = property(lambda self: self._GetDefaultReceiveTimeout()/1000.0, lambda self, timeout: self._SetDefaultReceiveTimeout(timeout*1000),
doc = """
Set the default receive timeout in seconds
If no messages are received within the timeout, the connection
is assumed to be lost.
Default: 15 seconds
:rtype: float
""")
DefaultConnectTimeout = property(lambda self: self._GetDefaultConnectTimeout()/1000.0, lambda self, timeout: self._SetDefaultConnectTimeout(timeout*1000),
doc = """
Set the default connect timeout in seconds
If the connection is not completed within the timeout, the connection
attempt will be aborted.
Default: 5 seconds
:rtype: float
"""
)
DefaultHeartbeatPeriod = property(lambda self: self._GetDefaultHeartbeatPeriod()/1000.0, lambda self, timeout: self._SetDefaultHeartbeatPeriod(timeout*1000),
doc = """
Set the default heartbeat period in seconds
The heartbeat is used to keep the connection alive
if no communication is occuring between nodes.
Default: 5 seconds
:rtype: float
"""
)
MaxMessageSize = property(lambda self: self._GetMaxMessageSize(), lambda self, size: self._SetMaxMessageSize(size),
doc = """
Set the maximum serialized message size
Default: 10 MB
:rtype: int
""")
MaxConnectionCount = property(lambda self: self._GetMaxConnectionCount(), lambda self, count: self._SetMaxConnectionCount(count),
doc = """
Set the maximum number of concurrent connections
Default: 0 for unlimited
:rtype: int
""")
RequireTls = property(lambda self: self._GetRequireTls(), lambda self, val: self._SetRequireTls(val),
doc = """
Set if all connections require TLS
If true, all connections require TLS
:rtype: bool
""")
IsTlsNodeCertificateLoaded = property(lambda self: self._IsTlsNodeCertificateLoaded(),
doc = """
Check if TLS certificate is loaded
:rtype: bool
""")
AcceptWebSockets = property(lambda self: self._GetAcceptWebSockets(), lambda self, val: self._SetAcceptWebSockets(val),
doc = """
Set if the transport will accept incoming HTTP websocket connections
Default: true
:rtype: bool
""")
DisableMessage4 = property(lambda self: self._GetDisableMessage4(), lambda self, val: self._SetDisableMessage4(val),
doc = """
Set disable Message Format Version 4
Message Format Version 2 will be used
Default: Message V4 is enabled
:rtype: bool
""")
DisableStringTable = property(lambda self: self._GetDisableStringTable(), lambda self, val: self._SetDisableStringTable(val),
doc = """
Set disable string table
Default: false
RobotRaconteurNodeSetup and its subclasses
will disable the string table by default
:rtype: bool
""")
DisableAsyncMessageIO = property(lambda self: self._GetDisableAsyncMessageIO(), lambda self, val: self._SetDisableAsyncMessageIO(val),
doc = """
Set if async message io is disabled
Async message io has better memory handling, at the
expense of slightly higher latency.
Default: Async io enabled
:rtype: bool
""")
NodeAnnouncePeriod = property(lambda self: self._GetNodeAnnouncePeriod()/1000.0, lambda self, timeout: self._SetNodeAnnouncePeriod(timeout*1000),
doc = """
Set the period between node announce in seconds
Default 55 seconds
:rtype: float
"""
)
def IsTransportConnectionSecure(self,obj):
"""
Check if specified client or endpoint is using TLS for its transport
Throws ConnectionException if the client or endpoint is invalid or the connection
is not using TcpTransport
:param obj: The client or endpoint to check
:return: True The connection is using TLS, otherwise False
:rtype: bool
"""
if (hasattr(obj,'rrinnerstub')):
obj=obj.rrinnerstub
return self._IsTransportConnectionSecure(obj)
def IsSecurePeerIdentityVerified(self,obj):
"""
Check if specified peer is using TLS and has been
verified using a certificate
Checks if the peer server node has a valid certificate, or if the peer client
has been verified using mutual authentication.
Throws ConnectionException if the endpoint is invalid or the connection
is not using TcpTransport
:param obj: The client or endpoint to check
:return: True The connection is using TLS, otherwise False
:rtype: bool
"""
if (hasattr(obj,'rrinnerstub')):
obj=obj.rrinnerstub
return self._IsSecurePeerIdentityVerified(obj)
def GetSecurePeerIdentity(self,obj):
"""
Get the identity of the peer if secured using TLS
Get the identity of a peer verified using TLS certificates. Returns a NodeID in string
format. Will throw AuthenticationException if the peer has not been verified.
:param obj: The client or endpoint to check
:return: The verified peer NodeID as a string
:rtype: str
"""
if (hasattr(obj,'rrinnerstub')):
obj=obj.rrinnerstub
return self._GetSecurePeerIdentity(obj)
__swig_destroy__ = _RobotRaconteurPython.delete_TcpTransport
# Register TcpTransport in _RobotRaconteurPython:
_RobotRaconteurPython.TcpTransport_swigregister(TcpTransport)
def TcpTransport_GetLocalAdapterIPAddresses():
return _RobotRaconteurPython.TcpTransport_GetLocalAdapterIPAddresses()
@_swig_add_metaclass(_SwigNonDynamicMeta)
class LocalTransport(Transport):
r"""
Transport for communication between processes using UNIX domain sockets
It is recommended that ClientNodeSetup, ServerNodeSetup, or SecureServerNodeSetup
be used to construct this class.
See \ref robotraconteur_url for more information on URLs.
The LocalTransport implements transport connections between processes running on the
same host operating system using UNIX domain sockets. UNIX domain sockets are similar
to standard networking sockets, but are used when both peers are on the same machine
instead of connected through a network. This provides faster operation and greater
security, since the kernel simply passes data between the processes. UNIX domain
sockets work using Information Node (inode) files, which are special files on
the standard filesystem. Servers "listen" on a specified inode, and clients
use the inode as the address to connect. The LocalTransport uses UNIX sockets
in `SOCK_STREAM` mode. This provides a reliable stream transport connection similar
to TCP, but with significantly improved performance due the lower overhead.
UNIX domain sockets were added to Windows 10 with the 1803 update. Robot Raconteur
switch to UNIX domain sockets for the LocalTransport on Windows in version 0.9.2.
Previous versions used Named Pipes, but these were inferior to UNIX sockets. The
LocalTransport will not function on versions of Windows prior to Windows 10 1803 update
due to the lack of support for UNIX sockets. A warning will be issued to the log if
the transport is not available, and all connection attempts will fail. All other
transports will continue to operate normally.
The LocalTransport stores inode and node information files in the filesystem at various
operator system dependent locations. See the Robot Raconteur Standards documents
for details on where these files are stored.
Discovery is implemented using file watchers. The file watchens must be activated
using the node setup flags, or by calling EnableNodeDiscoveryListening().
After being initialized the file watchers operate automatically.
The LocalTransport can be used to dynamically assign NodeIDs to nodes based on a NodeName.
StartServerAsNodeName() and StartClientAsNodeName() take a NodeName that will identify the
node to clients, and manage a system-local NodeID corresponding to that NodeName. The
generated NodeIDs are stored on the local filesystem. If LocalTransport finds a corresponding
NodeID on the filesystem, it will load and use that NodeID. If it does not, a new random NodeID
is automatically generated.
The server can be started in "public" or "private" mode. Private servers store their inode and
information in a location only the account owner can access, while "public" servers are
placed in a location that all users with the appropriate permissions can access. By default,
public LocalTransport servers are assigned to the "robotraconteur" group. Clients that belong to the
"robotraconteur" group will be able to connect to these public servers.
The use of RobotRaconteurNodeSetup and subclasses is recommended to construct
transports.
The transport must be registered with the node using
RobotRaconteurNode.RegisterTransport() after construction if node
setup is not used.
:param node: (optional) The node that will use the transport. Default is the singleton node
:type node: RobotRaconteur.RobotRaconteurNode
"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__setattr__ = _swig_setattr_nondynamic_instance_variable(object.__setattr__)
__repr__ = _swig_repr
def __init__(self, *args):
_RobotRaconteurPython.LocalTransport_swiginit(self, _RobotRaconteurPython.new_LocalTransport(*args))
@staticmethod
def IsLocalTransportSupported():
r"""
Check if the LocalTransport is supported on the current
operating system.
Windows versions before Windows 10 1803 do not support the LocalTransport
due to lack of UNIX sockets. All other transports will continue to operate
normally.
All versions of Linux and Mac OSX support the LocalTransport
LocalTransport on Android and iOS is not officially supported
:return: True LocalTransport is supported, otherwise False
:rtype: bool
"""
return _RobotRaconteurPython.LocalTransport_IsLocalTransportSupported()
def GetUrlSchemeString(self):
return _RobotRaconteurPython.LocalTransport_GetUrlSchemeString(self)
def GetServerListenUrls(self):
return _RobotRaconteurPython.LocalTransport_GetServerListenUrls(self)
def StartClientAsNodeName(self, name):
r"""
Initialize the LocalTransport by assigning a NodeID based on NodeName
Assigns the specified name to be the NodeName of the node, and manages
a corresponding NodeID. See LocalTransport for more information.
Throws NodeNameAlreadyInUse if another node is using name
:param name: The node name
:type name: str
"""
return _RobotRaconteurPython.LocalTransport_StartClientAsNodeName(self, name)
def StartServerAsNodeName(self, name, public_=False):
r"""
StartServerAsNodeName(name, public_ = False)
Start the server using the specified NodeName and assigns a NodeID
The LocalTransport will listen on a UNIX domain socket for incoming clients,
using information files and inodes on the local filesystem. Clients
can locate the node using the NodeID and/or NodeName. The NodeName is assigned
to the node, and the transport manages a corresponding NodeID. See
LocalTransport for more information.
Throws NodeNameAlreadyInUse if another node is using name
Throws NodeIDAlreadyInUse if another node is using the managed
NodeID
:param name: The NodeName
:type name: str
:param public_: If True, other users can access the server. If False, only
the account owner can access the server.
:type public_: bool
"""
return _RobotRaconteurPython.LocalTransport_StartServerAsNodeName(self, name, public_)
def StartServerAsNodeID(self, nodeid, public_=False):
r"""
StartServerAsNodeId(name, public_ = False)
The LocalTransport will listen on a UNIX domain socket for incoming clients,
using information files and inodes on the local filesystem. This function
leaves the NodeName blank, so clients must use NodeID to identify the node.
Throws NodeIDAlreadyInUse if another node is using nodeid
:param nodeid: The NodeID
:type nodeid: RobotRaconteur.NodeID
:param public_: If True, other users can access the server. If False, only
the account owner can access the server.
:type public_: bool
"""
return _RobotRaconteurPython.LocalTransport_StartServerAsNodeID(self, nodeid, public_)
def Close(self):
r"""
Close the transport. Done automatically by node shutdown.
"""
return _RobotRaconteurPython.LocalTransport_Close(self)
def _GetMaxMessageSize(self):
return _RobotRaconteurPython.LocalTransport__GetMaxMessageSize(self)
def _SetMaxMessageSize(self, size):
return _RobotRaconteurPython.LocalTransport__SetMaxMessageSize(self, size)
def _GetDisableMessage4(self):
return _RobotRaconteurPython.LocalTransport__GetDisableMessage4(self)
def _SetDisableMessage4(self, d):
return _RobotRaconteurPython.LocalTransport__SetDisableMessage4(self, d)
def _GetDisableStringTable(self):
return _RobotRaconteurPython.LocalTransport__GetDisableStringTable(self)
def _SetDisableStringTable(self, d):
return _RobotRaconteurPython.LocalTransport__SetDisableStringTable(self, d)
def _GetDisableAsyncMessageIO(self):
return _RobotRaconteurPython.LocalTransport__GetDisableAsyncMessageIO(self)
def _SetDisableAsyncMessageIO(self, d):
return _RobotRaconteurPython.LocalTransport__SetDisableAsyncMessageIO(self, d)
def EnableNodeDiscoveryListening(self):
return _RobotRaconteurPython.LocalTransport_EnableNodeDiscoveryListening(self)
def DisableNodeDiscoveryListening(self):
return _RobotRaconteurPython.LocalTransport_DisableNodeDiscoveryListening(self)
MaxMessageSize = property(lambda self: self._GetMaxMessageSize(), lambda self, size: self._SetMaxMessageSize(size),
doc = """
Set the maximum serialized message size
Default: 10 MB
:rtype: int
""")
DisableMessage4 = property(lambda self: self._GetDisableMessage4(), lambda self, val: self._SetDisableMessage4(val),
doc = """
Set disable Message Format Version 4
Message Format Version 2 will be used
Default: Message V4 is enabled
:rtype: bool
""")
DisableStringTable = property(lambda self: self._GetDisableStringTable(), lambda self, val: self._SetDisableStringTable(val),
doc = """
Set disable string table
Default: false
RobotRaconteurNodeSetup and its subclasses
will disable the string table by default
:rtype: bool
""")
DisableAsyncMessageIO = property(lambda self: self._GetDisableAsyncMessageIO(), lambda self, val: self._SetDisableAsyncMessageIO(val),
doc = """
Set if async message io is disabled
Async message io has better memory handling, at the
expense of slightly higher latency.
Default: Async io enabled
:rtype: bool
""")
__swig_destroy__ = _RobotRaconteurPython.delete_LocalTransport
# Register LocalTransport in _RobotRaconteurPython:
_RobotRaconteurPython.LocalTransport_swigregister(LocalTransport)
def LocalTransport_IsLocalTransportSupported():
r"""
Check if the LocalTransport is supported on the current
operating system.
Windows versions before Windows 10 1803 do not support the LocalTransport
due to lack of UNIX sockets. All other transports will continue to operate
normally.
All versions of Linux and Mac OSX support the LocalTransport
LocalTransport on Android and iOS is not officially supported
:return: True LocalTransport is supported, otherwise False
:rtype: bool
"""
return _RobotRaconteurPython.LocalTransport_IsLocalTransportSupported()
@_swig_add_metaclass(_SwigNonDynamicMeta)
class HardwareTransport(Transport):
r"""
Transport for USB, Bluetooth, and PCIe hardware devices
**WARNING: THE HARDWARE TRANSPORT IS EXPERIMENTAL!**
The HardwareTransport is disabled by default by the node setup classes.
Use ``--robotraconteur-hardware-enable=true`` option to enable.
It is recommended that ClientNodeSetup, ServerNodeSetup, or SecureServerNodeSetup
be used to construct this class.
See \ref robotraconteur_url for more information on URLs.
Contact Wason Technology, LLC for more information on the hardware
transport.
The use of RobotRaconteurNodeSetup and subclasses is recommended to construct
transports.
The transport must be registered with the node using
RobotRaconteurNode.RegisterTransport() after construction if node
setup is not used.
:param node: (optional) The node that will use the transport. Default is the singleton node
:type node: RobotRaconteur.RobotRaconteurNode
"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__setattr__ = _swig_setattr_nondynamic_instance_variable(object.__setattr__)
__repr__ = _swig_repr
def __init__(self, *args):
_RobotRaconteurPython.HardwareTransport_swiginit(self, _RobotRaconteurPython.new_HardwareTransport(*args))
def GetUrlSchemeString(self):
return _RobotRaconteurPython.HardwareTransport_GetUrlSchemeString(self)
def GetServerListenUrls(self):
return _RobotRaconteurPython.HardwareTransport_GetServerListenUrls(self)
def Close(self):
r"""
Close the transport. Done automatically by node shutdown.
"""
return _RobotRaconteurPython.HardwareTransport_Close(self)
def _GetMaxMessageSize(self):
return _RobotRaconteurPython.HardwareTransport__GetMaxMessageSize(self)
def _SetMaxMessageSize(self, size):
return _RobotRaconteurPython.HardwareTransport__SetMaxMessageSize(self, size)
def _GetDisableMessage4(self):
return _RobotRaconteurPython.HardwareTransport__GetDisableMessage4(self)
def _SetDisableMessage4(self, d):
return _RobotRaconteurPython.HardwareTransport__SetDisableMessage4(self, d)
def _GetDisableStringTable(self):
return _RobotRaconteurPython.HardwareTransport__GetDisableStringTable(self)
def _SetDisableStringTable(self, d):
return _RobotRaconteurPython.HardwareTransport__SetDisableStringTable(self, d)
def _GetDisableAsyncMessageIO(self):
return _RobotRaconteurPython.HardwareTransport__GetDisableAsyncMessageIO(self)
def _SetDisableAsyncMessageIO(self, d):
return _RobotRaconteurPython.HardwareTransport__SetDisableAsyncMessageIO(self, d)
MaxMessageSize = property(lambda self: self._GetMaxMessageSize(), lambda self, size: self._SetMaxMessageSize(size),
doc = """
Set the maximum serialized message size
Default: 10 MB
:rtype: int
""")
DisableMessage4 = property(lambda self: self._GetDisableMessage4(), lambda self, val: self._SetDisableMessage4(val),
doc = """
Set disable Message Format Version 4
Message Format Version 2 will be used
Default: Message V4 is enabled
:rtype: bool
""")
DisableStringTable = property(lambda self: self._GetDisableStringTable(), lambda self, val: self._SetDisableStringTable(val),
doc = """
Set disable string table
Default: false
RobotRaconteurNodeSetup and its subclasses
will disable the string table by default
:rtype: bool
""")
DisableAsyncMessageIO = property(lambda self: self._GetDisableAsyncMessageIO(), lambda self, val: self._SetDisableAsyncMessageIO(val),
doc = """
Set if async message io is disabled
Async message io has better memory handling, at the
expense of slightly higher latency.
Default: Async io enabled
:rtype: bool
""")
__swig_destroy__ = _RobotRaconteurPython.delete_HardwareTransport
# Register HardwareTransport in _RobotRaconteurPython:
_RobotRaconteurPython.HardwareTransport_swigregister(HardwareTransport)
@_swig_add_metaclass(_SwigNonDynamicMeta)
class IntraTransport(Transport):
r"""
Transport for intra-process communication
It is recommended that ClientNodeSetup, ServerNodeSetup, or SecureServerNodeSetup
be used to construct this class.
See \ref robotraconteur_url for more information on URLs.
The IntraTransport implements transport connections between nodes running
within the same process. This is often true for simulation environments, where
there may be multiple simulated devices running within the simulation. The
IntraTransport uses a singleton to keep track of the different nodes running
in the same process, and to form connections. The singleton also implements
discovery updates.
The use of RobotRaconteurNodeSetup and subclasses is recommended to construct
transports.
The transport must be registered with the node using
RobotRaconteurNode.RegisterTransport() after construction if node
setup is not used.
:param node: (optional) The node that will use the transport. Default is the singleton node
:type node: RobotRaconteur.RobotRaconteurNode
"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__setattr__ = _swig_setattr_nondynamic_instance_variable(object.__setattr__)
__repr__ = _swig_repr
def __init__(self, *args):
_RobotRaconteurPython.IntraTransport_swiginit(self, _RobotRaconteurPython.new_IntraTransport(*args))
def GetUrlSchemeString(self):
return _RobotRaconteurPython.IntraTransport_GetUrlSchemeString(self)
def GetServerListenUrls(self):
return _RobotRaconteurPython.IntraTransport_GetServerListenUrls(self)
def Close(self):
r"""
Close the transport. Done automatically by node shutdown.
"""
return _RobotRaconteurPython.IntraTransport_Close(self)
def StartClient(self):
r"""Start the transport as a client"""
return _RobotRaconteurPython.IntraTransport_StartClient(self)
def StartServer(self):
r"""Start the server to listen for incoming client connections"""
return _RobotRaconteurPython.IntraTransport_StartServer(self)
__swig_destroy__ = _RobotRaconteurPython.delete_IntraTransport
# Register IntraTransport in _RobotRaconteurPython:
_RobotRaconteurPython.IntraTransport_swigregister(IntraTransport)
class TimerEvent(object):
r"""
Timer event structure
Contains information about the state of the timer. Passed to the
callback on invocation.
"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
stopped = property(_RobotRaconteurPython.TimerEvent_stopped_get, doc=r"""
True if timer has been stopped
:rtype: bool
""")
last_expected = property(_RobotRaconteurPython.TimerEvent_last_expected_get, doc=r"""
The last expected callback invocation time
:rtype: datetime.datetime
""")
last_real = property(_RobotRaconteurPython.TimerEvent_last_real_get, doc=r"""
The real last callback invocation time
:rtype: datetime.datetime
""")
current_expected = property(_RobotRaconteurPython.TimerEvent_current_expected_get, doc=r"""
The current expected invocation time
:rtype: datetime.datetime
""")
current_real = property(_RobotRaconteurPython.TimerEvent_current_real_get, doc=r"""
The current invocation time
:rtype: datetime.datetime
""")
def __init__(self):
_RobotRaconteurPython.TimerEvent_swiginit(self, _RobotRaconteurPython.new_TimerEvent())
__swig_destroy__ = _RobotRaconteurPython.delete_TimerEvent
# Register TimerEvent in _RobotRaconteurPython:
_RobotRaconteurPython.TimerEvent_swigregister(TimerEvent)
class AsyncTimerEventReturnDirector(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
__swig_destroy__ = _RobotRaconteurPython.delete_AsyncTimerEventReturnDirector
def handler(self, ret, error):
return _RobotRaconteurPython.AsyncTimerEventReturnDirector_handler(self, ret, error)
def __init__(self):
if self.__class__ == AsyncTimerEventReturnDirector:
_self = None
else:
_self = self
_RobotRaconteurPython.AsyncTimerEventReturnDirector_swiginit(self, _RobotRaconteurPython.new_AsyncTimerEventReturnDirector(_self, ))
def __disown__(self):
self.this.disown()
_RobotRaconteurPython.disown_AsyncTimerEventReturnDirector(self)
return weakref.proxy(self)
# Register AsyncTimerEventReturnDirector in _RobotRaconteurPython:
_RobotRaconteurPython.AsyncTimerEventReturnDirector_swigregister(AsyncTimerEventReturnDirector)
@_swig_add_metaclass(_SwigNonDynamicMeta)
class Timer(object):
r"""
A timer to invoke a callback
Timers invoke a callback at a specified rate. The timer
can either be one-short, or repeating.
Use RobotRaconteurNode.CreateTimer() to create timers.
"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__setattr__ = _swig_setattr_nondynamic_instance_variable(object.__setattr__)
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
__repr__ = _swig_repr
def Start(self):
r"""
Start the timer
Must be called after RobotRaconteurNode.CreateTimer()
"""
return _RobotRaconteurPython.Timer_Start(self)
def Stop(self):
r"""
Stop the timer
"""
return _RobotRaconteurPython.Timer_Stop(self)
def TryStop(self):
r"""
Stop the timer without throwing an exception if the timer is not running
"""
return _RobotRaconteurPython.Timer_TryStop(self)
def GetPeriod(self):
r"""
Get the period of the timer in seconds
:rtype: float
"""
return _RobotRaconteurPython.Timer_GetPeriod(self)
def SetPeriod(self, period):
r"""
Set the period of the timer in seconds
:param period: Period in seconds
:type period: float
"""
return _RobotRaconteurPython.Timer_SetPeriod(self, period)
def IsRunning(self):
r"""
Get if the timer is running
:rtype: bool
"""
return _RobotRaconteurPython.Timer_IsRunning(self)
__swig_destroy__ = _RobotRaconteurPython.delete_Timer
# Register Timer in _RobotRaconteurPython:
_RobotRaconteurPython.Timer_swigregister(Timer)
class WallTimer(Timer):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
def Start(self):
r"""
Start the timer
Must be called after RobotRaconteurNode.CreateTimer()
"""
return _RobotRaconteurPython.WallTimer_Start(self)
def Stop(self):
r"""
Stop the timer
"""
return _RobotRaconteurPython.WallTimer_Stop(self)
def TryStop(self):
r"""
Stop the timer without throwing an exception if the timer is not running
"""
return _RobotRaconteurPython.WallTimer_TryStop(self)
def GetPeriod(self):
r"""
Get the period of the timer in seconds
:rtype: float
"""
return _RobotRaconteurPython.WallTimer_GetPeriod(self)
def SetPeriod(self, period):
r"""
Set the period of the timer in seconds
:param period: Period in seconds
:type period: float
"""
return _RobotRaconteurPython.WallTimer_SetPeriod(self, period)
def IsRunning(self):
r"""
Get if the timer is running
:rtype: bool
"""
return _RobotRaconteurPython.WallTimer_IsRunning(self)
__swig_destroy__ = _RobotRaconteurPython.delete_WallTimer
def __init__(self,*args):
#This is a shadowed function
from .RobotRaconteurPythonUtil import AsyncTimerEventReturnDirectorImpl
if (not hasattr(args[1], '__call__')): raise Exception("Handler must be callable")
director=AsyncTimerEventReturnDirectorImpl(args[1])
oneshot=False
if (len(args) > 2):
oneshot=args[2]
if (len(args) > 3):
node=args[3]
else:
node=RobotRaconteurNode.s
this = _RobotRaconteurPython.new_WallTimer(args[0],oneshot,node,director,0)
director.__disown__()
try: self.this.append(this)
except: self.this = this
# Register WallTimer in _RobotRaconteurPython:
_RobotRaconteurPython.WallTimer_swigregister(WallTimer)
@_swig_add_metaclass(_SwigNonDynamicMeta)
class Rate(object):
r"""
Rate to stabilize a loop
Rate is used to stabilize the period of a loop. Use
RobotRaconteur.CreateRate() to create rates.
"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__setattr__ = _swig_setattr_nondynamic_instance_variable(object.__setattr__)
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
__repr__ = _swig_repr
def Sleep(self):
r"""
Sleep the calling thread until the current loop period expires
"""
return _RobotRaconteurPython.Rate_Sleep(self)
__swig_destroy__ = _RobotRaconteurPython.delete_Rate
# Register Rate in _RobotRaconteurPython:
_RobotRaconteurPython.Rate_swigregister(Rate)
class WallRate(Rate):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
def __init__(self, *args):
_RobotRaconteurPython.WallRate_swiginit(self, _RobotRaconteurPython.new_WallRate(*args))
def Sleep(self):
r"""
Sleep the calling thread until the current loop period expires
"""
return _RobotRaconteurPython.WallRate_Sleep(self)
__swig_destroy__ = _RobotRaconteurPython.delete_WallRate
# Register WallRate in _RobotRaconteurPython:
_RobotRaconteurPython.WallRate_swigregister(WallRate)
@_swig_add_metaclass(_SwigNonDynamicMeta)
class AutoResetEvent(object):
r"""
Synchronization event for thread synchronization. Resets automatically after
being triggered
Construct using RobotRaconteurNode.CreateAutoResetEvent()
"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__setattr__ = _swig_setattr_nondynamic_instance_variable(object.__setattr__)
__repr__ = _swig_repr
def __init__(self):
_RobotRaconteurPython.AutoResetEvent_swiginit(self, _RobotRaconteurPython.new_AutoResetEvent())
__swig_destroy__ = _RobotRaconteurPython.delete_AutoResetEvent
def Set(self):
r"""
Set the event, releasing waiting threads
"""
return _RobotRaconteurPython.AutoResetEvent_Set(self)
def Reset(self):
r"""
Reset the event
"""
return _RobotRaconteurPython.AutoResetEvent_Reset(self)
def WaitOne(self, *args):
r"""
WaitOne(timeout=0)
Block the current thread until Set() is called, or timeout
expires
Timeout is based on the RobotRaconteurNode time provider
:param timeout: The timeout in seconds
:type timeout: float
:return: True if event was set, False if not
:rtype: bool
"""
return _RobotRaconteurPython.AutoResetEvent_WaitOne(self, *args)
# Register AutoResetEvent in _RobotRaconteurPython:
_RobotRaconteurPython.AutoResetEvent_swigregister(AutoResetEvent)
@_swig_add_metaclass(_SwigNonDynamicMeta)
class TimeSpec(object):
r"""
TimeSpec(seconds=0,nanoseconds=0)
Represents. a point in time. Used by "wire" members to
timestamp packets
Time is always in UTC
Time is relative to the UNIX epoch "1970-01-01T00:00:00Z"
:param seconds: seconds from epoch
:type seconds: int
:param nanoseconds: nanoseconds from epoch
:type nanoseconds: int
"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__setattr__ = _swig_setattr_nondynamic_instance_variable(object.__setattr__)
__repr__ = _swig_repr
def __str__(self):
return str(self.seconds + (self.nanoseconds * 1.0e-9))
seconds = property(_RobotRaconteurPython.TimeSpec_seconds_get, _RobotRaconteurPython.TimeSpec_seconds_set, doc=r"""
Seconds since epoch
""")
nanoseconds = property(_RobotRaconteurPython.TimeSpec_nanoseconds_get, _RobotRaconteurPython.TimeSpec_nanoseconds_set, doc=r"""
Nanoseconds from epoch. Normalized to be between 0 and 1e9-1
""")
def __init__(self, *args):
_RobotRaconteurPython.TimeSpec_swiginit(self, _RobotRaconteurPython.new_TimeSpec(*args))
def __eq__(self, t2):
r"""equality comparison"""
return _RobotRaconteurPython.TimeSpec___eq__(self, t2)
def __ne__(self, t2):
r"""inequality comparison"""
return _RobotRaconteurPython.TimeSpec___ne__(self, t2)
def __sub__(self, t2):
r"""subtraction operator"""
return _RobotRaconteurPython.TimeSpec___sub__(self, t2)
def __add__(self, t2):
r"""addition operator"""
return _RobotRaconteurPython.TimeSpec___add__(self, t2)
def __gt__(self, t2):
r"""greater-than comparison"""
return _RobotRaconteurPython.TimeSpec___gt__(self, t2)
def __ge__(self, t2):
r"""greater-than-or-equal comparison"""
return _RobotRaconteurPython.TimeSpec___ge__(self, t2)
def __lt__(self, t2):
r"""less-then comparison"""
return _RobotRaconteurPython.TimeSpec___lt__(self, t2)
def __le__(self, t2):
r"""less-than-or-equal comparison"""
return _RobotRaconteurPython.TimeSpec___le__(self, t2)
def cleanup_nanosecs(self):
r"""normalize nanoseconds to be within 0 and 1e9-1"""
return _RobotRaconteurPython.TimeSpec_cleanup_nanosecs(self)
__swig_destroy__ = _RobotRaconteurPython.delete_TimeSpec
# Register TimeSpec in _RobotRaconteurPython:
_RobotRaconteurPython.TimeSpec_swigregister(TimeSpec)
class WrappedService_typed_packet(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
packet = property(_RobotRaconteurPython.WrappedService_typed_packet_packet_get, _RobotRaconteurPython.WrappedService_typed_packet_packet_set)
type = property(_RobotRaconteurPython.WrappedService_typed_packet_type_get, _RobotRaconteurPython.WrappedService_typed_packet_type_set)
stub = property(_RobotRaconteurPython.WrappedService_typed_packet_stub_get, _RobotRaconteurPython.WrappedService_typed_packet_stub_set)
client = property(_RobotRaconteurPython.WrappedService_typed_packet_client_get, _RobotRaconteurPython.WrappedService_typed_packet_client_set)
def __init__(self):
_RobotRaconteurPython.WrappedService_typed_packet_swiginit(self, _RobotRaconteurPython.new_WrappedService_typed_packet())
__swig_destroy__ = _RobotRaconteurPython.delete_WrappedService_typed_packet
# Register WrappedService_typed_packet in _RobotRaconteurPython:
_RobotRaconteurPython.WrappedService_typed_packet_swigregister(WrappedService_typed_packet)
class WrappedPipeEndpointDirector(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
__swig_destroy__ = _RobotRaconteurPython.delete_WrappedPipeEndpointDirector
def PipeEndpointClosedCallback(self):
return _RobotRaconteurPython.WrappedPipeEndpointDirector_PipeEndpointClosedCallback(self)
def PacketReceivedEvent(self):
return _RobotRaconteurPython.WrappedPipeEndpointDirector_PacketReceivedEvent(self)
def PacketAckReceivedEvent(self, packetnum):
return _RobotRaconteurPython.WrappedPipeEndpointDirector_PacketAckReceivedEvent(self, packetnum)
def __init__(self):
if self.__class__ == WrappedPipeEndpointDirector:
_self = None
else:
_self = self
_RobotRaconteurPython.WrappedPipeEndpointDirector_swiginit(self, _RobotRaconteurPython.new_WrappedPipeEndpointDirector(_self, ))
def __disown__(self):
self.this.disown()
_RobotRaconteurPython.disown_WrappedPipeEndpointDirector(self)
return weakref.proxy(self)
# Register WrappedPipeEndpointDirector in _RobotRaconteurPython:
_RobotRaconteurPython.WrappedPipeEndpointDirector_swigregister(WrappedPipeEndpointDirector)
class AsyncPipeEndpointReturnDirector(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
__swig_destroy__ = _RobotRaconteurPython.delete_AsyncPipeEndpointReturnDirector
def handler(self, ep, error):
return _RobotRaconteurPython.AsyncPipeEndpointReturnDirector_handler(self, ep, error)
def __init__(self):
if self.__class__ == AsyncPipeEndpointReturnDirector:
_self = None
else:
_self = self
_RobotRaconteurPython.AsyncPipeEndpointReturnDirector_swiginit(self, _RobotRaconteurPython.new_AsyncPipeEndpointReturnDirector(_self, ))
def __disown__(self):
self.this.disown()
_RobotRaconteurPython.disown_AsyncPipeEndpointReturnDirector(self)
return weakref.proxy(self)
# Register AsyncPipeEndpointReturnDirector in _RobotRaconteurPython:
_RobotRaconteurPython.AsyncPipeEndpointReturnDirector_swigregister(AsyncPipeEndpointReturnDirector)
class WrappedTryReceivePacketWaitResult(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
res = property(_RobotRaconteurPython.WrappedTryReceivePacketWaitResult_res_get, _RobotRaconteurPython.WrappedTryReceivePacketWaitResult_res_set)
packet = property(_RobotRaconteurPython.WrappedTryReceivePacketWaitResult_packet_get, _RobotRaconteurPython.WrappedTryReceivePacketWaitResult_packet_set)
def __init__(self):
_RobotRaconteurPython.WrappedTryReceivePacketWaitResult_swiginit(self, _RobotRaconteurPython.new_WrappedTryReceivePacketWaitResult())
__swig_destroy__ = _RobotRaconteurPython.delete_WrappedTryReceivePacketWaitResult
# Register WrappedTryReceivePacketWaitResult in _RobotRaconteurPython:
_RobotRaconteurPython.WrappedTryReceivePacketWaitResult_swigregister(WrappedTryReceivePacketWaitResult)
class WrappedPipeEndpoint(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined")
__repr__ = _swig_repr
def SendPacket(self, packet):
return _RobotRaconteurPython.WrappedPipeEndpoint_SendPacket(self, packet)
def ReceivePacket(self):
return _RobotRaconteurPython.WrappedPipeEndpoint_ReceivePacket(self)
def PeekNextPacket(self):
return _RobotRaconteurPython.WrappedPipeEndpoint_PeekNextPacket(self)
def ReceivePacketWait(self, *args):
return _RobotRaconteurPython.WrappedPipeEndpoint_ReceivePacketWait(self, *args)
def PeekNextPacketWait(self, *args):
return _RobotRaconteurPython.WrappedPipeEndpoint_PeekNextPacketWait(self, *args)
def TryReceivePacketWait(self, *args):
return _RobotRaconteurPython.WrappedPipeEndpoint_TryReceivePacketWait(self, *args)
def Close(self):
return _RobotRaconteurPython.WrappedPipeEndpoint_Close(self)
def GetIndex(self):
return _RobotRaconteurPython.WrappedPipeEndpoint_GetIndex(self)
def GetEndpoint(self):
return _RobotRaconteurPython.WrappedPipeEndpoint_GetEndpoint(self)
def Available(self):
return _RobotRaconteurPython.WrappedPipeEndpoint_Available(self)
def GetRequestPacketAck(self):
return _RobotRaconteurPython.WrappedPipeEndpoint_GetRequestPacketAck(self)
def SetRequestPacketAck(self, v):
return _RobotRaconteurPython.WrappedPipeEndpoint_SetRequestPacketAck(self, v)
Type = property(_RobotRaconteurPython.WrappedPipeEndpoint_Type_get, _RobotRaconteurPython.WrappedPipeEndpoint_Type_set)
def SetRRDirector(self, director, id):
return _RobotRaconteurPython.WrappedPipeEndpoint_SetRRDirector(self, director, id)
def IsUnreliable(self):
return _RobotRaconteurPython.WrappedPipeEndpoint_IsUnreliable(self)
def Direction(self):
return _RobotRaconteurPython.WrappedPipeEndpoint_Direction(self)
def AsyncSendPacket(self, packet, handler, id):
return _RobotRaconteurPython.WrappedPipeEndpoint_AsyncSendPacket(self, packet, handler, id)
def AsyncClose(self, timeout, handler, id):
return _RobotRaconteurPython.WrappedPipeEndpoint_AsyncClose(self, timeout, handler, id)
def GetNode(self):
return _RobotRaconteurPython.WrappedPipeEndpoint_GetNode(self)
def GetIgnoreReceived(self):
return _RobotRaconteurPython.WrappedPipeEndpoint_GetIgnoreReceived(self)
def SetIgnoreReceived(self, ignore):
return _RobotRaconteurPython.WrappedPipeEndpoint_SetIgnoreReceived(self, ignore)
__swig_destroy__ = _RobotRaconteurPython.delete_WrappedPipeEndpoint
# Register WrappedPipeEndpoint in _RobotRaconteurPython:
_RobotRaconteurPython.WrappedPipeEndpoint_swigregister(WrappedPipeEndpoint)
class WrappedPipeClient(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined")
__repr__ = _swig_repr
def Connect(self, index):
return _RobotRaconteurPython.WrappedPipeClient_Connect(self, index)
def AsyncConnect(self, index, timeout, handler, id):
return _RobotRaconteurPython.WrappedPipeClient_AsyncConnect(self, index, timeout, handler, id)
def GetMemberName(self):
return _RobotRaconteurPython.WrappedPipeClient_GetMemberName(self)
Type = property(_RobotRaconteurPython.WrappedPipeClient_Type_get, _RobotRaconteurPython.WrappedPipeClient_Type_set)
def GetNode(self):
return _RobotRaconteurPython.WrappedPipeClient_GetNode(self)
def Direction(self):
return _RobotRaconteurPython.WrappedPipeClient_Direction(self)
__swig_destroy__ = _RobotRaconteurPython.delete_WrappedPipeClient
# Register WrappedPipeClient in _RobotRaconteurPython:
_RobotRaconteurPython.WrappedPipeClient_swigregister(WrappedPipeClient)
class WrappedPipeServerConnectDirector(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
__swig_destroy__ = _RobotRaconteurPython.delete_WrappedPipeServerConnectDirector
def PipeConnectCallback(self, pipeendpoint):
return _RobotRaconteurPython.WrappedPipeServerConnectDirector_PipeConnectCallback(self, pipeendpoint)
def __init__(self):
if self.__class__ == WrappedPipeServerConnectDirector:
_self = None
else:
_self = self
_RobotRaconteurPython.WrappedPipeServerConnectDirector_swiginit(self, _RobotRaconteurPython.new_WrappedPipeServerConnectDirector(_self, ))
def __disown__(self):
self.this.disown()
_RobotRaconteurPython.disown_WrappedPipeServerConnectDirector(self)
return weakref.proxy(self)
# Register WrappedPipeServerConnectDirector in _RobotRaconteurPython:
_RobotRaconteurPython.WrappedPipeServerConnectDirector_swigregister(WrappedPipeServerConnectDirector)
class WrappedPipeServer(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined")
__repr__ = _swig_repr
def GetMemberName(self):
return _RobotRaconteurPython.WrappedPipeServer_GetMemberName(self)
Type = property(_RobotRaconteurPython.WrappedPipeServer_Type_get, _RobotRaconteurPython.WrappedPipeServer_Type_set)
def SetWrappedPipeConnectCallback(self, director, id):
return _RobotRaconteurPython.WrappedPipeServer_SetWrappedPipeConnectCallback(self, director, id)
def GetNode(self):
return _RobotRaconteurPython.WrappedPipeServer_GetNode(self)
def Direction(self):
return _RobotRaconteurPython.WrappedPipeServer_Direction(self)
__swig_destroy__ = _RobotRaconteurPython.delete_WrappedPipeServer
# Register WrappedPipeServer in _RobotRaconteurPython:
_RobotRaconteurPython.WrappedPipeServer_swigregister(WrappedPipeServer)
class WrappedPipeBroadcasterPredicateDirector(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
def Predicate(self, client_endpoint, index):
return _RobotRaconteurPython.WrappedPipeBroadcasterPredicateDirector_Predicate(self, client_endpoint, index)
__swig_destroy__ = _RobotRaconteurPython.delete_WrappedPipeBroadcasterPredicateDirector
def __init__(self):
if self.__class__ == WrappedPipeBroadcasterPredicateDirector:
_self = None
else:
_self = self
_RobotRaconteurPython.WrappedPipeBroadcasterPredicateDirector_swiginit(self, _RobotRaconteurPython.new_WrappedPipeBroadcasterPredicateDirector(_self, ))
def __disown__(self):
self.this.disown()
_RobotRaconteurPython.disown_WrappedPipeBroadcasterPredicateDirector(self)
return weakref.proxy(self)
# Register WrappedPipeBroadcasterPredicateDirector in _RobotRaconteurPython:
_RobotRaconteurPython.WrappedPipeBroadcasterPredicateDirector_swigregister(WrappedPipeBroadcasterPredicateDirector)
class WrappedPipeBroadcaster(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
def Init(self, pipe, maximum_backlog=-1):
return _RobotRaconteurPython.WrappedPipeBroadcaster_Init(self, pipe, maximum_backlog)
def SendPacket(self, packet):
return _RobotRaconteurPython.WrappedPipeBroadcaster_SendPacket(self, packet)
def AsyncSendPacket(self, packet, handler, id):
return _RobotRaconteurPython.WrappedPipeBroadcaster_AsyncSendPacket(self, packet, handler, id)
def GetActivePipeEndpointCount(self):
return _RobotRaconteurPython.WrappedPipeBroadcaster_GetActivePipeEndpointCount(self)
def SetPredicateDirector(self, f, id):
return _RobotRaconteurPython.WrappedPipeBroadcaster_SetPredicateDirector(self, f, id)
def GetMaxBacklog(self):
return _RobotRaconteurPython.WrappedPipeBroadcaster_GetMaxBacklog(self)
def SetMaxBacklog(self, maximum_backlog):
return _RobotRaconteurPython.WrappedPipeBroadcaster_SetMaxBacklog(self, maximum_backlog)
def __init__(self):
_RobotRaconteurPython.WrappedPipeBroadcaster_swiginit(self, _RobotRaconteurPython.new_WrappedPipeBroadcaster())
__swig_destroy__ = _RobotRaconteurPython.delete_WrappedPipeBroadcaster
# Register WrappedPipeBroadcaster in _RobotRaconteurPython:
_RobotRaconteurPython.WrappedPipeBroadcaster_swigregister(WrappedPipeBroadcaster)
class WrappedWireConnectionDirector(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
__swig_destroy__ = _RobotRaconteurPython.delete_WrappedWireConnectionDirector
def WireValueChanged(self, value, time):
return _RobotRaconteurPython.WrappedWireConnectionDirector_WireValueChanged(self, value, time)
def WireConnectionClosedCallback(self):
return _RobotRaconteurPython.WrappedWireConnectionDirector_WireConnectionClosedCallback(self)
def __init__(self):
if self.__class__ == WrappedWireConnectionDirector:
_self = None
else:
_self = self
_RobotRaconteurPython.WrappedWireConnectionDirector_swiginit(self, _RobotRaconteurPython.new_WrappedWireConnectionDirector(_self, ))
def __disown__(self):
self.this.disown()
_RobotRaconteurPython.disown_WrappedWireConnectionDirector(self)
return weakref.proxy(self)
# Register WrappedWireConnectionDirector in _RobotRaconteurPython:
_RobotRaconteurPython.WrappedWireConnectionDirector_swigregister(WrappedWireConnectionDirector)
class AsyncWireConnectionReturnDirector(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
__swig_destroy__ = _RobotRaconteurPython.delete_AsyncWireConnectionReturnDirector
def handler(self, ep, error):
return _RobotRaconteurPython.AsyncWireConnectionReturnDirector_handler(self, ep, error)
def __init__(self):
if self.__class__ == AsyncWireConnectionReturnDirector:
_self = None
else:
_self = self
_RobotRaconteurPython.AsyncWireConnectionReturnDirector_swiginit(self, _RobotRaconteurPython.new_AsyncWireConnectionReturnDirector(_self, ))
def __disown__(self):
self.this.disown()
_RobotRaconteurPython.disown_AsyncWireConnectionReturnDirector(self)
return weakref.proxy(self)
# Register AsyncWireConnectionReturnDirector in _RobotRaconteurPython:
_RobotRaconteurPython.AsyncWireConnectionReturnDirector_swigregister(AsyncWireConnectionReturnDirector)
class AsyncWirePeekReturnDirector(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
__swig_destroy__ = _RobotRaconteurPython.delete_AsyncWirePeekReturnDirector
def handler(self, value, ts, error):
return _RobotRaconteurPython.AsyncWirePeekReturnDirector_handler(self, value, ts, error)
def __init__(self):
if self.__class__ == AsyncWirePeekReturnDirector:
_self = None
else:
_self = self
_RobotRaconteurPython.AsyncWirePeekReturnDirector_swiginit(self, _RobotRaconteurPython.new_AsyncWirePeekReturnDirector(_self, ))
def __disown__(self):
self.this.disown()
_RobotRaconteurPython.disown_AsyncWirePeekReturnDirector(self)
return weakref.proxy(self)
# Register AsyncWirePeekReturnDirector in _RobotRaconteurPython:
_RobotRaconteurPython.AsyncWirePeekReturnDirector_swigregister(AsyncWirePeekReturnDirector)
class TryGetValueResult(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
res = property(_RobotRaconteurPython.TryGetValueResult_res_get, _RobotRaconteurPython.TryGetValueResult_res_set)
value = property(_RobotRaconteurPython.TryGetValueResult_value_get, _RobotRaconteurPython.TryGetValueResult_value_set)
ts = property(_RobotRaconteurPython.TryGetValueResult_ts_get, _RobotRaconteurPython.TryGetValueResult_ts_set)
def __init__(self):
_RobotRaconteurPython.TryGetValueResult_swiginit(self, _RobotRaconteurPython.new_TryGetValueResult())
__swig_destroy__ = _RobotRaconteurPython.delete_TryGetValueResult
# Register TryGetValueResult in _RobotRaconteurPython:
_RobotRaconteurPython.TryGetValueResult_swigregister(TryGetValueResult)
class WrappedWireConnection(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined")
__repr__ = _swig_repr
def GetInValue(self):
return _RobotRaconteurPython.WrappedWireConnection_GetInValue(self)
def GetOutValue(self):
return _RobotRaconteurPython.WrappedWireConnection_GetOutValue(self)
def SetOutValue(self, value):
return _RobotRaconteurPython.WrappedWireConnection_SetOutValue(self, value)
def SetRRDirector(self, director, id):
return _RobotRaconteurPython.WrappedWireConnection_SetRRDirector(self, director, id)
Type = property(_RobotRaconteurPython.WrappedWireConnection_Type_get, _RobotRaconteurPython.WrappedWireConnection_Type_set)
def Close(self):
return _RobotRaconteurPython.WrappedWireConnection_Close(self)
def GetEndpoint(self):
return _RobotRaconteurPython.WrappedWireConnection_GetEndpoint(self)
def GetLastValueReceivedTime(self):
return _RobotRaconteurPython.WrappedWireConnection_GetLastValueReceivedTime(self)
def GetLastValueSentTime(self):
return _RobotRaconteurPython.WrappedWireConnection_GetLastValueSentTime(self)
def GetInValueValid(self):
return _RobotRaconteurPython.WrappedWireConnection_GetInValueValid(self)
def GetOutValueValid(self):
return _RobotRaconteurPython.WrappedWireConnection_GetOutValueValid(self)
def TryGetInValue(self):
return _RobotRaconteurPython.WrappedWireConnection_TryGetInValue(self)
def TryGetOutValue(self):
return _RobotRaconteurPython.WrappedWireConnection_TryGetOutValue(self)
def AsyncClose(self, timeout, handler, id):
return _RobotRaconteurPython.WrappedWireConnection_AsyncClose(self, timeout, handler, id)
def GetNode(self):
return _RobotRaconteurPython.WrappedWireConnection_GetNode(self)
def GetIgnoreInValue(self):
return _RobotRaconteurPython.WrappedWireConnection_GetIgnoreInValue(self)
def SetIgnoreInValue(self, ignore):
return _RobotRaconteurPython.WrappedWireConnection_SetIgnoreInValue(self, ignore)
def GetInValueLifespan(self):
return _RobotRaconteurPython.WrappedWireConnection_GetInValueLifespan(self)
def SetInValueLifespan(self, millis):
return _RobotRaconteurPython.WrappedWireConnection_SetInValueLifespan(self, millis)
def GetOutValueLifespan(self):
return _RobotRaconteurPython.WrappedWireConnection_GetOutValueLifespan(self)
def SetOutValueLifespan(self, millis):
return _RobotRaconteurPython.WrappedWireConnection_SetOutValueLifespan(self, millis)
def WaitInValueValid(self, *args):
return _RobotRaconteurPython.WrappedWireConnection_WaitInValueValid(self, *args)
def WaitOutValueValid(self, *args):
return _RobotRaconteurPython.WrappedWireConnection_WaitOutValueValid(self, *args)
def Direction(self):
return _RobotRaconteurPython.WrappedWireConnection_Direction(self)
__swig_destroy__ = _RobotRaconteurPython.delete_WrappedWireConnection
# Register WrappedWireConnection in _RobotRaconteurPython:
_RobotRaconteurPython.WrappedWireConnection_swigregister(WrappedWireConnection)
class WrappedWireClient(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined")
__repr__ = _swig_repr
def Connect(self):
return _RobotRaconteurPython.WrappedWireClient_Connect(self)
def AsyncConnect(self, timeout, handler, id):
return _RobotRaconteurPython.WrappedWireClient_AsyncConnect(self, timeout, handler, id)
def GetMemberName(self):
return _RobotRaconteurPython.WrappedWireClient_GetMemberName(self)
def PeekInValue(self, ts):
return _RobotRaconteurPython.WrappedWireClient_PeekInValue(self, ts)
def PeekOutValue(self, ts):
return _RobotRaconteurPython.WrappedWireClient_PeekOutValue(self, ts)
def PokeOutValue(self, value):
return _RobotRaconteurPython.WrappedWireClient_PokeOutValue(self, value)
def AsyncPeekInValue(self, timeout, handler, id):
return _RobotRaconteurPython.WrappedWireClient_AsyncPeekInValue(self, timeout, handler, id)
def AsyncPeekOutValue(self, timeout, handler, id):
return _RobotRaconteurPython.WrappedWireClient_AsyncPeekOutValue(self, timeout, handler, id)
def AsyncPokeOutValue(self, value, timeout, handler, id):
return _RobotRaconteurPython.WrappedWireClient_AsyncPokeOutValue(self, value, timeout, handler, id)
Type = property(_RobotRaconteurPython.WrappedWireClient_Type_get, _RobotRaconteurPython.WrappedWireClient_Type_set)
def GetNode(self):
return _RobotRaconteurPython.WrappedWireClient_GetNode(self)
def Direction(self):
return _RobotRaconteurPython.WrappedWireClient_Direction(self)
__swig_destroy__ = _RobotRaconteurPython.delete_WrappedWireClient
# Register WrappedWireClient in _RobotRaconteurPython:
_RobotRaconteurPython.WrappedWireClient_swigregister(WrappedWireClient)
class WrappedWireServerConnectDirector(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
__swig_destroy__ = _RobotRaconteurPython.delete_WrappedWireServerConnectDirector
def WireConnectCallback(self, c):
return _RobotRaconteurPython.WrappedWireServerConnectDirector_WireConnectCallback(self, c)
def __init__(self):
if self.__class__ == WrappedWireServerConnectDirector:
_self = None
else:
_self = self
_RobotRaconteurPython.WrappedWireServerConnectDirector_swiginit(self, _RobotRaconteurPython.new_WrappedWireServerConnectDirector(_self, ))
def __disown__(self):
self.this.disown()
_RobotRaconteurPython.disown_WrappedWireServerConnectDirector(self)
return weakref.proxy(self)
# Register WrappedWireServerConnectDirector in _RobotRaconteurPython:
_RobotRaconteurPython.WrappedWireServerConnectDirector_swigregister(WrappedWireServerConnectDirector)
class WrappedWireServerPeekValueDirector(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
__swig_destroy__ = _RobotRaconteurPython.delete_WrappedWireServerPeekValueDirector
def PeekValue(self, ep):
return _RobotRaconteurPython.WrappedWireServerPeekValueDirector_PeekValue(self, ep)
def __init__(self):
if self.__class__ == WrappedWireServerPeekValueDirector:
_self = None
else:
_self = self
_RobotRaconteurPython.WrappedWireServerPeekValueDirector_swiginit(self, _RobotRaconteurPython.new_WrappedWireServerPeekValueDirector(_self, ))
def __disown__(self):
self.this.disown()
_RobotRaconteurPython.disown_WrappedWireServerPeekValueDirector(self)
return weakref.proxy(self)
# Register WrappedWireServerPeekValueDirector in _RobotRaconteurPython:
_RobotRaconteurPython.WrappedWireServerPeekValueDirector_swigregister(WrappedWireServerPeekValueDirector)
class WrappedWireServerPokeValueDirector(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
__swig_destroy__ = _RobotRaconteurPython.delete_WrappedWireServerPokeValueDirector
def PokeValue(self, value, ts, ep):
return _RobotRaconteurPython.WrappedWireServerPokeValueDirector_PokeValue(self, value, ts, ep)
def __init__(self):
if self.__class__ == WrappedWireServerPokeValueDirector:
_self = None
else:
_self = self
_RobotRaconteurPython.WrappedWireServerPokeValueDirector_swiginit(self, _RobotRaconteurPython.new_WrappedWireServerPokeValueDirector(_self, ))
def __disown__(self):
self.this.disown()
_RobotRaconteurPython.disown_WrappedWireServerPokeValueDirector(self)
return weakref.proxy(self)
# Register WrappedWireServerPokeValueDirector in _RobotRaconteurPython:
_RobotRaconteurPython.WrappedWireServerPokeValueDirector_swigregister(WrappedWireServerPokeValueDirector)
class WrappedWireServer(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined")
__repr__ = _swig_repr
def GetMemberName(self):
return _RobotRaconteurPython.WrappedWireServer_GetMemberName(self)
Type = property(_RobotRaconteurPython.WrappedWireServer_Type_get, _RobotRaconteurPython.WrappedWireServer_Type_set)
def SetWrappedWireConnectCallback(self, director, id):
return _RobotRaconteurPython.WrappedWireServer_SetWrappedWireConnectCallback(self, director, id)
def GetNode(self):
return _RobotRaconteurPython.WrappedWireServer_GetNode(self)
def SetPeekInValueCallback(self, director, id):
return _RobotRaconteurPython.WrappedWireServer_SetPeekInValueCallback(self, director, id)
def SetPeekOutValueCallback(self, director, id):
return _RobotRaconteurPython.WrappedWireServer_SetPeekOutValueCallback(self, director, id)
def SetPokeOutValueCallback(self, director, id):
return _RobotRaconteurPython.WrappedWireServer_SetPokeOutValueCallback(self, director, id)
def Direction(self):
return _RobotRaconteurPython.WrappedWireServer_Direction(self)
__swig_destroy__ = _RobotRaconteurPython.delete_WrappedWireServer
# Register WrappedWireServer in _RobotRaconteurPython:
_RobotRaconteurPython.WrappedWireServer_swigregister(WrappedWireServer)
class WrappedWireBroadcasterPredicateDirector(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
def Predicate(self, client_endpoint):
return _RobotRaconteurPython.WrappedWireBroadcasterPredicateDirector_Predicate(self, client_endpoint)
__swig_destroy__ = _RobotRaconteurPython.delete_WrappedWireBroadcasterPredicateDirector
def __init__(self):
if self.__class__ == WrappedWireBroadcasterPredicateDirector:
_self = None
else:
_self = self
_RobotRaconteurPython.WrappedWireBroadcasterPredicateDirector_swiginit(self, _RobotRaconteurPython.new_WrappedWireBroadcasterPredicateDirector(_self, ))
def __disown__(self):
self.this.disown()
_RobotRaconteurPython.disown_WrappedWireBroadcasterPredicateDirector(self)
return weakref.proxy(self)
# Register WrappedWireBroadcasterPredicateDirector in _RobotRaconteurPython:
_RobotRaconteurPython.WrappedWireBroadcasterPredicateDirector_swigregister(WrappedWireBroadcasterPredicateDirector)
class WrappedWireBroadcaster(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
def Init(self, wire):
return _RobotRaconteurPython.WrappedWireBroadcaster_Init(self, wire)
def SetOutValue(self, value):
return _RobotRaconteurPython.WrappedWireBroadcaster_SetOutValue(self, value)
def GetActiveWireConnectionCount(self):
return _RobotRaconteurPython.WrappedWireBroadcaster_GetActiveWireConnectionCount(self)
def SetPredicateDirector(self, f, id):
return _RobotRaconteurPython.WrappedWireBroadcaster_SetPredicateDirector(self, f, id)
def GetOutValueLifespan(self):
return _RobotRaconteurPython.WrappedWireBroadcaster_GetOutValueLifespan(self)
def SetOutValueLifespan(self, millis):
return _RobotRaconteurPython.WrappedWireBroadcaster_SetOutValueLifespan(self, millis)
def SetPeekInValueCallback(self, director, id):
return _RobotRaconteurPython.WrappedWireBroadcaster_SetPeekInValueCallback(self, director, id)
def __init__(self):
_RobotRaconteurPython.WrappedWireBroadcaster_swiginit(self, _RobotRaconteurPython.new_WrappedWireBroadcaster())
__swig_destroy__ = _RobotRaconteurPython.delete_WrappedWireBroadcaster
# Register WrappedWireBroadcaster in _RobotRaconteurPython:
_RobotRaconteurPython.WrappedWireBroadcaster_swigregister(WrappedWireBroadcaster)
class WrappedWireUnicastReceiver(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
def Init(self, wire):
return _RobotRaconteurPython.WrappedWireUnicastReceiver_Init(self, wire)
def GetInValue(self, ts):
return _RobotRaconteurPython.WrappedWireUnicastReceiver_GetInValue(self, ts)
def AddInValueChangedListener(self, director, id):
return _RobotRaconteurPython.WrappedWireUnicastReceiver_AddInValueChangedListener(self, director, id)
def GetInValueLifespan(self):
return _RobotRaconteurPython.WrappedWireUnicastReceiver_GetInValueLifespan(self)
def SetInValueLifespan(self, millis):
return _RobotRaconteurPython.WrappedWireUnicastReceiver_SetInValueLifespan(self, millis)
def TryGetInValue(self, val, time):
return _RobotRaconteurPython.WrappedWireUnicastReceiver_TryGetInValue(self, val, time)
def __init__(self):
_RobotRaconteurPython.WrappedWireUnicastReceiver_swiginit(self, _RobotRaconteurPython.new_WrappedWireUnicastReceiver())
__swig_destroy__ = _RobotRaconteurPython.delete_WrappedWireUnicastReceiver
# Register WrappedWireUnicastReceiver in _RobotRaconteurPython:
_RobotRaconteurPython.WrappedWireUnicastReceiver_swigregister(WrappedWireUnicastReceiver)
@_swig_add_metaclass(_SwigNonDynamicMeta)
class ArrayMemoryBase(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__setattr__ = _swig_setattr_nondynamic_instance_variable(object.__setattr__)
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
__repr__ = _swig_repr
def Length(self):
return _RobotRaconteurPython.ArrayMemoryBase_Length(self)
def ElementTypeID(self):
return _RobotRaconteurPython.ArrayMemoryBase_ElementTypeID(self)
__swig_destroy__ = _RobotRaconteurPython.delete_ArrayMemoryBase
# Register ArrayMemoryBase in _RobotRaconteurPython:
_RobotRaconteurPython.ArrayMemoryBase_swigregister(ArrayMemoryBase)
@_swig_add_metaclass(_SwigNonDynamicMeta)
class MultiDimArrayMemoryBase(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__setattr__ = _swig_setattr_nondynamic_instance_variable(object.__setattr__)
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
__repr__ = _swig_repr
def Dimensions(self):
return _RobotRaconteurPython.MultiDimArrayMemoryBase_Dimensions(self)
def DimCount(self):
return _RobotRaconteurPython.MultiDimArrayMemoryBase_DimCount(self)
def ElementTypeID(self):
return _RobotRaconteurPython.MultiDimArrayMemoryBase_ElementTypeID(self)
__swig_destroy__ = _RobotRaconteurPython.delete_MultiDimArrayMemoryBase
# Register MultiDimArrayMemoryBase in _RobotRaconteurPython:
_RobotRaconteurPython.MultiDimArrayMemoryBase_swigregister(MultiDimArrayMemoryBase)
class WrappedArrayMemoryClientUtil(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
@staticmethod
def Read(mem, memorypos, count):
return _RobotRaconteurPython.WrappedArrayMemoryClientUtil_Read(mem, memorypos, count)
@staticmethod
def Write(mem, memorypos, buffer, bufferpos, count):
return _RobotRaconteurPython.WrappedArrayMemoryClientUtil_Write(mem, memorypos, buffer, bufferpos, count)
@staticmethod
def Direction(mem):
return _RobotRaconteurPython.WrappedArrayMemoryClientUtil_Direction(mem)
def __init__(self):
_RobotRaconteurPython.WrappedArrayMemoryClientUtil_swiginit(self, _RobotRaconteurPython.new_WrappedArrayMemoryClientUtil())
__swig_destroy__ = _RobotRaconteurPython.delete_WrappedArrayMemoryClientUtil
# Register WrappedArrayMemoryClientUtil in _RobotRaconteurPython:
_RobotRaconteurPython.WrappedArrayMemoryClientUtil_swigregister(WrappedArrayMemoryClientUtil)
def WrappedArrayMemoryClientUtil_Read(mem, memorypos, count):
return _RobotRaconteurPython.WrappedArrayMemoryClientUtil_Read(mem, memorypos, count)
def WrappedArrayMemoryClientUtil_Write(mem, memorypos, buffer, bufferpos, count):
return _RobotRaconteurPython.WrappedArrayMemoryClientUtil_Write(mem, memorypos, buffer, bufferpos, count)
def WrappedArrayMemoryClientUtil_Direction(mem):
return _RobotRaconteurPython.WrappedArrayMemoryClientUtil_Direction(mem)
class WrappedMultiDimArrayMemoryClientUtil(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
@staticmethod
def Read(mem, memorypos, count):
return _RobotRaconteurPython.WrappedMultiDimArrayMemoryClientUtil_Read(mem, memorypos, count)
@staticmethod
def Write(mem, memorypos, buffer, bufferpos, count):
return _RobotRaconteurPython.WrappedMultiDimArrayMemoryClientUtil_Write(mem, memorypos, buffer, bufferpos, count)
@staticmethod
def Direction(mem):
return _RobotRaconteurPython.WrappedMultiDimArrayMemoryClientUtil_Direction(mem)
def __init__(self):
_RobotRaconteurPython.WrappedMultiDimArrayMemoryClientUtil_swiginit(self, _RobotRaconteurPython.new_WrappedMultiDimArrayMemoryClientUtil())
__swig_destroy__ = _RobotRaconteurPython.delete_WrappedMultiDimArrayMemoryClientUtil
# Register WrappedMultiDimArrayMemoryClientUtil in _RobotRaconteurPython:
_RobotRaconteurPython.WrappedMultiDimArrayMemoryClientUtil_swigregister(WrappedMultiDimArrayMemoryClientUtil)
def WrappedMultiDimArrayMemoryClientUtil_Read(mem, memorypos, count):
return _RobotRaconteurPython.WrappedMultiDimArrayMemoryClientUtil_Read(mem, memorypos, count)
def WrappedMultiDimArrayMemoryClientUtil_Write(mem, memorypos, buffer, bufferpos, count):
return _RobotRaconteurPython.WrappedMultiDimArrayMemoryClientUtil_Write(mem, memorypos, buffer, bufferpos, count)
def WrappedMultiDimArrayMemoryClientUtil_Direction(mem):
return _RobotRaconteurPython.WrappedMultiDimArrayMemoryClientUtil_Direction(mem)
class WrappedPodArrayMemoryClientBuffer(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
def UnpackReadResult(self, res, bufferpos, count):
return _RobotRaconteurPython.WrappedPodArrayMemoryClientBuffer_UnpackReadResult(self, res, bufferpos, count)
def PackWriteRequest(self, bufferpos, count):
return _RobotRaconteurPython.WrappedPodArrayMemoryClientBuffer_PackWriteRequest(self, bufferpos, count)
def GetBufferLength(self):
return _RobotRaconteurPython.WrappedPodArrayMemoryClientBuffer_GetBufferLength(self)
__swig_destroy__ = _RobotRaconteurPython.delete_WrappedPodArrayMemoryClientBuffer
def __init__(self):
if self.__class__ == WrappedPodArrayMemoryClientBuffer:
_self = None
else:
_self = self
_RobotRaconteurPython.WrappedPodArrayMemoryClientBuffer_swiginit(self, _RobotRaconteurPython.new_WrappedPodArrayMemoryClientBuffer(_self, ))
def __disown__(self):
self.this.disown()
_RobotRaconteurPython.disown_WrappedPodArrayMemoryClientBuffer(self)
return weakref.proxy(self)
# Register WrappedPodArrayMemoryClientBuffer in _RobotRaconteurPython:
_RobotRaconteurPython.WrappedPodArrayMemoryClientBuffer_swigregister(WrappedPodArrayMemoryClientBuffer)
class WrappedPodArrayMemoryClient(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined")
__repr__ = _swig_repr
def Length(self):
return _RobotRaconteurPython.WrappedPodArrayMemoryClient_Length(self)
def Direction(self):
return _RobotRaconteurPython.WrappedPodArrayMemoryClient_Direction(self)
def Read(self, memorypos, buffer, bufferpos, count):
return _RobotRaconteurPython.WrappedPodArrayMemoryClient_Read(self, memorypos, buffer, bufferpos, count)
def Write(self, memorypos, buffer, bufferpos, count):
return _RobotRaconteurPython.WrappedPodArrayMemoryClient_Write(self, memorypos, buffer, bufferpos, count)
__swig_destroy__ = _RobotRaconteurPython.delete_WrappedPodArrayMemoryClient
# Register WrappedPodArrayMemoryClient in _RobotRaconteurPython:
_RobotRaconteurPython.WrappedPodArrayMemoryClient_swigregister(WrappedPodArrayMemoryClient)
class WrappedPodMultiDimArrayMemoryClientBuffer(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
def UnpackReadResult(self, res, bufferpos, count):
return _RobotRaconteurPython.WrappedPodMultiDimArrayMemoryClientBuffer_UnpackReadResult(self, res, bufferpos, count)
def PackWriteRequest(self, bufferpos, count):
return _RobotRaconteurPython.WrappedPodMultiDimArrayMemoryClientBuffer_PackWriteRequest(self, bufferpos, count)
__swig_destroy__ = _RobotRaconteurPython.delete_WrappedPodMultiDimArrayMemoryClientBuffer
def __init__(self):
if self.__class__ == WrappedPodMultiDimArrayMemoryClientBuffer:
_self = None
else:
_self = self
_RobotRaconteurPython.WrappedPodMultiDimArrayMemoryClientBuffer_swiginit(self, _RobotRaconteurPython.new_WrappedPodMultiDimArrayMemoryClientBuffer(_self, ))
def __disown__(self):
self.this.disown()
_RobotRaconteurPython.disown_WrappedPodMultiDimArrayMemoryClientBuffer(self)
return weakref.proxy(self)
# Register WrappedPodMultiDimArrayMemoryClientBuffer in _RobotRaconteurPython:
_RobotRaconteurPython.WrappedPodMultiDimArrayMemoryClientBuffer_swigregister(WrappedPodMultiDimArrayMemoryClientBuffer)
class WrappedPodMultiDimArrayMemoryClient(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined")
__repr__ = _swig_repr
def Dimensions(self):
return _RobotRaconteurPython.WrappedPodMultiDimArrayMemoryClient_Dimensions(self)
def DimCount(self):
return _RobotRaconteurPython.WrappedPodMultiDimArrayMemoryClient_DimCount(self)
def Direction(self):
return _RobotRaconteurPython.WrappedPodMultiDimArrayMemoryClient_Direction(self)
def Read(self, memorypos, buffer, bufferpos, count):
return _RobotRaconteurPython.WrappedPodMultiDimArrayMemoryClient_Read(self, memorypos, buffer, bufferpos, count)
def Write(self, memorypos, buffer, bufferpos, count):
return _RobotRaconteurPython.WrappedPodMultiDimArrayMemoryClient_Write(self, memorypos, buffer, bufferpos, count)
__swig_destroy__ = _RobotRaconteurPython.delete_WrappedPodMultiDimArrayMemoryClient
# Register WrappedPodMultiDimArrayMemoryClient in _RobotRaconteurPython:
_RobotRaconteurPython.WrappedPodMultiDimArrayMemoryClient_swigregister(WrappedPodMultiDimArrayMemoryClient)
class WrappedArrayMemoryDirector(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
__swig_destroy__ = _RobotRaconteurPython.delete_WrappedArrayMemoryDirector
def Length(self):
return _RobotRaconteurPython.WrappedArrayMemoryDirector_Length(self)
def Read(self, memorypos, buffer, bufferpos, count):
return _RobotRaconteurPython.WrappedArrayMemoryDirector_Read(self, memorypos, buffer, bufferpos, count)
def Write(self, memorypos, buffer, bufferpos, count):
return _RobotRaconteurPython.WrappedArrayMemoryDirector_Write(self, memorypos, buffer, bufferpos, count)
objectheapid = property(_RobotRaconteurPython.WrappedArrayMemoryDirector_objectheapid_get, _RobotRaconteurPython.WrappedArrayMemoryDirector_objectheapid_set)
def __init__(self):
if self.__class__ == WrappedArrayMemoryDirector:
_self = None
else:
_self = self
_RobotRaconteurPython.WrappedArrayMemoryDirector_swiginit(self, _RobotRaconteurPython.new_WrappedArrayMemoryDirector(_self, ))
def __disown__(self):
self.this.disown()
_RobotRaconteurPython.disown_WrappedArrayMemoryDirector(self)
return weakref.proxy(self)
# Register WrappedArrayMemoryDirector in _RobotRaconteurPython:
_RobotRaconteurPython.WrappedArrayMemoryDirector_swigregister(WrappedArrayMemoryDirector)
class WrappedMultiDimArrayMemoryParams(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
memorypos = property(_RobotRaconteurPython.WrappedMultiDimArrayMemoryParams_memorypos_get, _RobotRaconteurPython.WrappedMultiDimArrayMemoryParams_memorypos_set)
buffer = property(_RobotRaconteurPython.WrappedMultiDimArrayMemoryParams_buffer_get, _RobotRaconteurPython.WrappedMultiDimArrayMemoryParams_buffer_set)
bufferpos = property(_RobotRaconteurPython.WrappedMultiDimArrayMemoryParams_bufferpos_get, _RobotRaconteurPython.WrappedMultiDimArrayMemoryParams_bufferpos_set)
count = property(_RobotRaconteurPython.WrappedMultiDimArrayMemoryParams_count_get, _RobotRaconteurPython.WrappedMultiDimArrayMemoryParams_count_set)
def __init__(self):
_RobotRaconteurPython.WrappedMultiDimArrayMemoryParams_swiginit(self, _RobotRaconteurPython.new_WrappedMultiDimArrayMemoryParams())
__swig_destroy__ = _RobotRaconteurPython.delete_WrappedMultiDimArrayMemoryParams
# Register WrappedMultiDimArrayMemoryParams in _RobotRaconteurPython:
_RobotRaconteurPython.WrappedMultiDimArrayMemoryParams_swigregister(WrappedMultiDimArrayMemoryParams)
class WrappedMultiDimArrayMemoryDirector(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
__swig_destroy__ = _RobotRaconteurPython.delete_WrappedMultiDimArrayMemoryDirector
def Dimensions(self):
return _RobotRaconteurPython.WrappedMultiDimArrayMemoryDirector_Dimensions(self)
def DimCount(self):
return _RobotRaconteurPython.WrappedMultiDimArrayMemoryDirector_DimCount(self)
def Read(self, p):
return _RobotRaconteurPython.WrappedMultiDimArrayMemoryDirector_Read(self, p)
def Write(self, p):
return _RobotRaconteurPython.WrappedMultiDimArrayMemoryDirector_Write(self, p)
objectheapid = property(_RobotRaconteurPython.WrappedMultiDimArrayMemoryDirector_objectheapid_get, _RobotRaconteurPython.WrappedMultiDimArrayMemoryDirector_objectheapid_set)
def __init__(self):
if self.__class__ == WrappedMultiDimArrayMemoryDirector:
_self = None
else:
_self = self
_RobotRaconteurPython.WrappedMultiDimArrayMemoryDirector_swiginit(self, _RobotRaconteurPython.new_WrappedMultiDimArrayMemoryDirector(_self, ))
def __disown__(self):
self.this.disown()
_RobotRaconteurPython.disown_WrappedMultiDimArrayMemoryDirector(self)
return weakref.proxy(self)
# Register WrappedMultiDimArrayMemoryDirector in _RobotRaconteurPython:
_RobotRaconteurPython.WrappedMultiDimArrayMemoryDirector_swigregister(WrappedMultiDimArrayMemoryDirector)
class WrappedPodArrayMemoryDirector(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
def __init__(self):
if self.__class__ == WrappedPodArrayMemoryDirector:
_self = None
else:
_self = self
_RobotRaconteurPython.WrappedPodArrayMemoryDirector_swiginit(self, _RobotRaconteurPython.new_WrappedPodArrayMemoryDirector(_self, ))
__swig_destroy__ = _RobotRaconteurPython.delete_WrappedPodArrayMemoryDirector
def Length(self):
return _RobotRaconteurPython.WrappedPodArrayMemoryDirector_Length(self)
def Read(self, memorypos, bufferpos, count):
return _RobotRaconteurPython.WrappedPodArrayMemoryDirector_Read(self, memorypos, bufferpos, count)
def Write(self, memorypos, buffer, bufferpos, count):
return _RobotRaconteurPython.WrappedPodArrayMemoryDirector_Write(self, memorypos, buffer, bufferpos, count)
objectheapid = property(_RobotRaconteurPython.WrappedPodArrayMemoryDirector_objectheapid_get, _RobotRaconteurPython.WrappedPodArrayMemoryDirector_objectheapid_set)
def __disown__(self):
self.this.disown()
_RobotRaconteurPython.disown_WrappedPodArrayMemoryDirector(self)
return weakref.proxy(self)
# Register WrappedPodArrayMemoryDirector in _RobotRaconteurPython:
_RobotRaconteurPython.WrappedPodArrayMemoryDirector_swigregister(WrappedPodArrayMemoryDirector)
class WrappedPodMultiDimArrayMemoryDirector(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
__swig_destroy__ = _RobotRaconteurPython.delete_WrappedPodMultiDimArrayMemoryDirector
def Dimensions(self):
return _RobotRaconteurPython.WrappedPodMultiDimArrayMemoryDirector_Dimensions(self)
def DimCount(self):
return _RobotRaconteurPython.WrappedPodMultiDimArrayMemoryDirector_DimCount(self)
def Read(self, memorypos, bufferpos, count):
return _RobotRaconteurPython.WrappedPodMultiDimArrayMemoryDirector_Read(self, memorypos, bufferpos, count)
def Write(self, memorypos, buffer, bufferpos, count):
return _RobotRaconteurPython.WrappedPodMultiDimArrayMemoryDirector_Write(self, memorypos, buffer, bufferpos, count)
objectheapid = property(_RobotRaconteurPython.WrappedPodMultiDimArrayMemoryDirector_objectheapid_get, _RobotRaconteurPython.WrappedPodMultiDimArrayMemoryDirector_objectheapid_set)
def __init__(self):
if self.__class__ == WrappedPodMultiDimArrayMemoryDirector:
_self = None
else:
_self = self
_RobotRaconteurPython.WrappedPodMultiDimArrayMemoryDirector_swiginit(self, _RobotRaconteurPython.new_WrappedPodMultiDimArrayMemoryDirector(_self, ))
def __disown__(self):
self.this.disown()
_RobotRaconteurPython.disown_WrappedPodMultiDimArrayMemoryDirector(self)
return weakref.proxy(self)
# Register WrappedPodMultiDimArrayMemoryDirector in _RobotRaconteurPython:
_RobotRaconteurPython.WrappedPodMultiDimArrayMemoryDirector_swigregister(WrappedPodMultiDimArrayMemoryDirector)
class WrappedNamedArrayMemoryClientBuffer(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
def UnpackReadResult(self, res, bufferpos, count):
return _RobotRaconteurPython.WrappedNamedArrayMemoryClientBuffer_UnpackReadResult(self, res, bufferpos, count)
def PackWriteRequest(self, bufferpos, count):
return _RobotRaconteurPython.WrappedNamedArrayMemoryClientBuffer_PackWriteRequest(self, bufferpos, count)
def GetBufferLength(self):
return _RobotRaconteurPython.WrappedNamedArrayMemoryClientBuffer_GetBufferLength(self)
__swig_destroy__ = _RobotRaconteurPython.delete_WrappedNamedArrayMemoryClientBuffer
def __init__(self):
if self.__class__ == WrappedNamedArrayMemoryClientBuffer:
_self = None
else:
_self = self
_RobotRaconteurPython.WrappedNamedArrayMemoryClientBuffer_swiginit(self, _RobotRaconteurPython.new_WrappedNamedArrayMemoryClientBuffer(_self, ))
def __disown__(self):
self.this.disown()
_RobotRaconteurPython.disown_WrappedNamedArrayMemoryClientBuffer(self)
return weakref.proxy(self)
# Register WrappedNamedArrayMemoryClientBuffer in _RobotRaconteurPython:
_RobotRaconteurPython.WrappedNamedArrayMemoryClientBuffer_swigregister(WrappedNamedArrayMemoryClientBuffer)
class WrappedNamedArrayMemoryClient(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined")
__repr__ = _swig_repr
def Length(self):
return _RobotRaconteurPython.WrappedNamedArrayMemoryClient_Length(self)
def Direction(self):
return _RobotRaconteurPython.WrappedNamedArrayMemoryClient_Direction(self)
def Read(self, memorypos, buffer, bufferpos, count):
return _RobotRaconteurPython.WrappedNamedArrayMemoryClient_Read(self, memorypos, buffer, bufferpos, count)
def Write(self, memorypos, buffer, bufferpos, count):
return _RobotRaconteurPython.WrappedNamedArrayMemoryClient_Write(self, memorypos, buffer, bufferpos, count)
__swig_destroy__ = _RobotRaconteurPython.delete_WrappedNamedArrayMemoryClient
# Register WrappedNamedArrayMemoryClient in _RobotRaconteurPython:
_RobotRaconteurPython.WrappedNamedArrayMemoryClient_swigregister(WrappedNamedArrayMemoryClient)
class WrappedNamedMultiDimArrayMemoryClientBuffer(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
def UnpackReadResult(self, res, bufferpos, count):
return _RobotRaconteurPython.WrappedNamedMultiDimArrayMemoryClientBuffer_UnpackReadResult(self, res, bufferpos, count)
def PackWriteRequest(self, bufferpos, count):
return _RobotRaconteurPython.WrappedNamedMultiDimArrayMemoryClientBuffer_PackWriteRequest(self, bufferpos, count)
__swig_destroy__ = _RobotRaconteurPython.delete_WrappedNamedMultiDimArrayMemoryClientBuffer
def __init__(self):
if self.__class__ == WrappedNamedMultiDimArrayMemoryClientBuffer:
_self = None
else:
_self = self
_RobotRaconteurPython.WrappedNamedMultiDimArrayMemoryClientBuffer_swiginit(self, _RobotRaconteurPython.new_WrappedNamedMultiDimArrayMemoryClientBuffer(_self, ))
def __disown__(self):
self.this.disown()
_RobotRaconteurPython.disown_WrappedNamedMultiDimArrayMemoryClientBuffer(self)
return weakref.proxy(self)
# Register WrappedNamedMultiDimArrayMemoryClientBuffer in _RobotRaconteurPython:
_RobotRaconteurPython.WrappedNamedMultiDimArrayMemoryClientBuffer_swigregister(WrappedNamedMultiDimArrayMemoryClientBuffer)
class WrappedNamedMultiDimArrayMemoryClient(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined")
__repr__ = _swig_repr
def Dimensions(self):
return _RobotRaconteurPython.WrappedNamedMultiDimArrayMemoryClient_Dimensions(self)
def DimCount(self):
return _RobotRaconteurPython.WrappedNamedMultiDimArrayMemoryClient_DimCount(self)
def Direction(self):
return _RobotRaconteurPython.WrappedNamedMultiDimArrayMemoryClient_Direction(self)
def Read(self, memorypos, buffer, bufferpos, count):
return _RobotRaconteurPython.WrappedNamedMultiDimArrayMemoryClient_Read(self, memorypos, buffer, bufferpos, count)
def Write(self, memorypos, buffer, bufferpos, count):
return _RobotRaconteurPython.WrappedNamedMultiDimArrayMemoryClient_Write(self, memorypos, buffer, bufferpos, count)
__swig_destroy__ = _RobotRaconteurPython.delete_WrappedNamedMultiDimArrayMemoryClient
# Register WrappedNamedMultiDimArrayMemoryClient in _RobotRaconteurPython:
_RobotRaconteurPython.WrappedNamedMultiDimArrayMemoryClient_swigregister(WrappedNamedMultiDimArrayMemoryClient)
class WrappedNamedArrayMemoryDirector(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
def __init__(self):
if self.__class__ == WrappedNamedArrayMemoryDirector:
_self = None
else:
_self = self
_RobotRaconteurPython.WrappedNamedArrayMemoryDirector_swiginit(self, _RobotRaconteurPython.new_WrappedNamedArrayMemoryDirector(_self, ))
__swig_destroy__ = _RobotRaconteurPython.delete_WrappedNamedArrayMemoryDirector
def Length(self):
return _RobotRaconteurPython.WrappedNamedArrayMemoryDirector_Length(self)
def Read(self, memorypos, bufferpos, count):
return _RobotRaconteurPython.WrappedNamedArrayMemoryDirector_Read(self, memorypos, bufferpos, count)
def Write(self, memorypos, buffer, bufferpos, count):
return _RobotRaconteurPython.WrappedNamedArrayMemoryDirector_Write(self, memorypos, buffer, bufferpos, count)
objectheapid = property(_RobotRaconteurPython.WrappedNamedArrayMemoryDirector_objectheapid_get, _RobotRaconteurPython.WrappedNamedArrayMemoryDirector_objectheapid_set)
def __disown__(self):
self.this.disown()
_RobotRaconteurPython.disown_WrappedNamedArrayMemoryDirector(self)
return weakref.proxy(self)
# Register WrappedNamedArrayMemoryDirector in _RobotRaconteurPython:
_RobotRaconteurPython.WrappedNamedArrayMemoryDirector_swigregister(WrappedNamedArrayMemoryDirector)
class WrappedNamedMultiDimArrayMemoryDirector(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
__swig_destroy__ = _RobotRaconteurPython.delete_WrappedNamedMultiDimArrayMemoryDirector
def Dimensions(self):
return _RobotRaconteurPython.WrappedNamedMultiDimArrayMemoryDirector_Dimensions(self)
def DimCount(self):
return _RobotRaconteurPython.WrappedNamedMultiDimArrayMemoryDirector_DimCount(self)
def Read(self, memorypos, bufferpos, count):
return _RobotRaconteurPython.WrappedNamedMultiDimArrayMemoryDirector_Read(self, memorypos, bufferpos, count)
def Write(self, memorypos, buffer, bufferpos, count):
return _RobotRaconteurPython.WrappedNamedMultiDimArrayMemoryDirector_Write(self, memorypos, buffer, bufferpos, count)
objectheapid = property(_RobotRaconteurPython.WrappedNamedMultiDimArrayMemoryDirector_objectheapid_get, _RobotRaconteurPython.WrappedNamedMultiDimArrayMemoryDirector_objectheapid_set)
def __init__(self):
if self.__class__ == WrappedNamedMultiDimArrayMemoryDirector:
_self = None
else:
_self = self
_RobotRaconteurPython.WrappedNamedMultiDimArrayMemoryDirector_swiginit(self, _RobotRaconteurPython.new_WrappedNamedMultiDimArrayMemoryDirector(_self, ))
def __disown__(self):
self.this.disown()
_RobotRaconteurPython.disown_WrappedNamedMultiDimArrayMemoryDirector(self)
return weakref.proxy(self)
# Register WrappedNamedMultiDimArrayMemoryDirector in _RobotRaconteurPython:
_RobotRaconteurPython.WrappedNamedMultiDimArrayMemoryDirector_swigregister(WrappedNamedMultiDimArrayMemoryDirector)
class WrappedGeneratorClient_TryGetNextResult(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined")
__repr__ = _swig_repr
value = property(_RobotRaconteurPython.WrappedGeneratorClient_TryGetNextResult_value_get, _RobotRaconteurPython.WrappedGeneratorClient_TryGetNextResult_value_set)
res = property(_RobotRaconteurPython.WrappedGeneratorClient_TryGetNextResult_res_get, _RobotRaconteurPython.WrappedGeneratorClient_TryGetNextResult_res_set)
__swig_destroy__ = _RobotRaconteurPython.delete_WrappedGeneratorClient_TryGetNextResult
# Register WrappedGeneratorClient_TryGetNextResult in _RobotRaconteurPython:
_RobotRaconteurPython.WrappedGeneratorClient_TryGetNextResult_swigregister(WrappedGeneratorClient_TryGetNextResult)
class WrappedGeneratorClient(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined")
__repr__ = _swig_repr
def Next(self, v):
return _RobotRaconteurPython.WrappedGeneratorClient_Next(self, v)
def TryNext(self, v):
return _RobotRaconteurPython.WrappedGeneratorClient_TryNext(self, v)
def AsyncNext(self, v, timeout, handler, id):
return _RobotRaconteurPython.WrappedGeneratorClient_AsyncNext(self, v, timeout, handler, id)
def Abort(self):
return _RobotRaconteurPython.WrappedGeneratorClient_Abort(self)
def AsyncAbort(self, timeout, handler, id):
return _RobotRaconteurPython.WrappedGeneratorClient_AsyncAbort(self, timeout, handler, id)
def Close(self):
return _RobotRaconteurPython.WrappedGeneratorClient_Close(self)
def AsyncClose(self, timeout, handler, id):
return _RobotRaconteurPython.WrappedGeneratorClient_AsyncClose(self, timeout, handler, id)
def NextAll(self):
return _RobotRaconteurPython.WrappedGeneratorClient_NextAll(self)
__swig_destroy__ = _RobotRaconteurPython.delete_WrappedGeneratorClient
# Register WrappedGeneratorClient in _RobotRaconteurPython:
_RobotRaconteurPython.WrappedGeneratorClient_swigregister(WrappedGeneratorClient)
class AsyncGeneratorClientReturnDirector(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
__swig_destroy__ = _RobotRaconteurPython.delete_AsyncGeneratorClientReturnDirector
def handler(self, ret, error):
return _RobotRaconteurPython.AsyncGeneratorClientReturnDirector_handler(self, ret, error)
def __init__(self):
if self.__class__ == AsyncGeneratorClientReturnDirector:
_self = None
else:
_self = self
_RobotRaconteurPython.AsyncGeneratorClientReturnDirector_swiginit(self, _RobotRaconteurPython.new_AsyncGeneratorClientReturnDirector(_self, ))
def __disown__(self):
self.this.disown()
_RobotRaconteurPython.disown_AsyncGeneratorClientReturnDirector(self)
return weakref.proxy(self)
# Register AsyncGeneratorClientReturnDirector in _RobotRaconteurPython:
_RobotRaconteurPython.AsyncGeneratorClientReturnDirector_swigregister(AsyncGeneratorClientReturnDirector)
class WrappedGeneratorServerDirector(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
def __init__(self):
if self.__class__ == WrappedGeneratorServerDirector:
_self = None
else:
_self = self
_RobotRaconteurPython.WrappedGeneratorServerDirector_swiginit(self, _RobotRaconteurPython.new_WrappedGeneratorServerDirector(_self, ))
__swig_destroy__ = _RobotRaconteurPython.delete_WrappedGeneratorServerDirector
def Next(self, m, async_adaptor):
return _RobotRaconteurPython.WrappedGeneratorServerDirector_Next(self, m, async_adaptor)
def Abort(self, async_adapter):
return _RobotRaconteurPython.WrappedGeneratorServerDirector_Abort(self, async_adapter)
def Close(self, async_adapter):
return _RobotRaconteurPython.WrappedGeneratorServerDirector_Close(self, async_adapter)
objectheapid = property(_RobotRaconteurPython.WrappedGeneratorServerDirector_objectheapid_get, _RobotRaconteurPython.WrappedGeneratorServerDirector_objectheapid_set)
def __disown__(self):
self.this.disown()
_RobotRaconteurPython.disown_WrappedGeneratorServerDirector(self)
return weakref.proxy(self)
# Register WrappedGeneratorServerDirector in _RobotRaconteurPython:
_RobotRaconteurPython.WrappedGeneratorServerDirector_swigregister(WrappedGeneratorServerDirector)
class WrappedServiceStubDirector(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
__swig_destroy__ = _RobotRaconteurPython.delete_WrappedServiceStubDirector
def DispatchEvent(self, EventName, args):
return _RobotRaconteurPython.WrappedServiceStubDirector_DispatchEvent(self, EventName, args)
def CallbackCall(self, CallbackName, args):
return _RobotRaconteurPython.WrappedServiceStubDirector_CallbackCall(self, CallbackName, args)
def __init__(self):
if self.__class__ == WrappedServiceStubDirector:
_self = None
else:
_self = self
_RobotRaconteurPython.WrappedServiceStubDirector_swiginit(self, _RobotRaconteurPython.new_WrappedServiceStubDirector(_self, ))
def __disown__(self):
self.this.disown()
_RobotRaconteurPython.disown_WrappedServiceStubDirector(self)
return weakref.proxy(self)
# Register WrappedServiceStubDirector in _RobotRaconteurPython:
_RobotRaconteurPython.WrappedServiceStubDirector_swigregister(WrappedServiceStubDirector)
class AsyncStubReturnDirector(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
__swig_destroy__ = _RobotRaconteurPython.delete_AsyncStubReturnDirector
def handler(self, stub, error):
return _RobotRaconteurPython.AsyncStubReturnDirector_handler(self, stub, error)
def __init__(self):
if self.__class__ == AsyncStubReturnDirector:
_self = None
else:
_self = self
_RobotRaconteurPython.AsyncStubReturnDirector_swiginit(self, _RobotRaconteurPython.new_AsyncStubReturnDirector(_self, ))
def __disown__(self):
self.this.disown()
_RobotRaconteurPython.disown_AsyncStubReturnDirector(self)
return weakref.proxy(self)
# Register AsyncStubReturnDirector in _RobotRaconteurPython:
_RobotRaconteurPython.AsyncStubReturnDirector_swigregister(AsyncStubReturnDirector)
class WrappedDirectorLock(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined")
__repr__ = _swig_repr
def valid(self):
return _RobotRaconteurPython.WrappedDirectorLock_valid(self)
__swig_destroy__ = _RobotRaconteurPython.delete_WrappedDirectorLock
# Register WrappedDirectorLock in _RobotRaconteurPython:
_RobotRaconteurPython.WrappedDirectorLock_swigregister(WrappedDirectorLock)
class WrappedServiceStub(RRObject):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined")
__repr__ = _swig_repr
def PropertyGet(self, PropertyName):
return _RobotRaconteurPython.WrappedServiceStub_PropertyGet(self, PropertyName)
def PropertySet(self, PropertyName, value):
return _RobotRaconteurPython.WrappedServiceStub_PropertySet(self, PropertyName, value)
def FunctionCall(self, FunctionName, args):
return _RobotRaconteurPython.WrappedServiceStub_FunctionCall(self, FunctionName, args)
def GeneratorFunctionCall(self, FunctionName, args):
return _RobotRaconteurPython.WrappedServiceStub_GeneratorFunctionCall(self, FunctionName, args)
def async_PropertyGet(self, PropertyName, timeout, handler, id):
return _RobotRaconteurPython.WrappedServiceStub_async_PropertyGet(self, PropertyName, timeout, handler, id)
def async_PropertySet(self, PropertyName, value, timeout, handler, id):
return _RobotRaconteurPython.WrappedServiceStub_async_PropertySet(self, PropertyName, value, timeout, handler, id)
def async_FunctionCall(self, FunctionName, args, timeout, handler, id):
return _RobotRaconteurPython.WrappedServiceStub_async_FunctionCall(self, FunctionName, args, timeout, handler, id)
def async_GeneratorFunctionCall(self, FunctionName, args, timeout, handler, id):
return _RobotRaconteurPython.WrappedServiceStub_async_GeneratorFunctionCall(self, FunctionName, args, timeout, handler, id)
def async_FindObjRef(self, *args):
return _RobotRaconteurPython.WrappedServiceStub_async_FindObjRef(self, *args)
def async_FindObjRefTyped(self, *args):
return _RobotRaconteurPython.WrappedServiceStub_async_FindObjRefTyped(self, *args)
def GetPipe(self, membername):
return _RobotRaconteurPython.WrappedServiceStub_GetPipe(self, membername)
def GetWire(self, membername):
return _RobotRaconteurPython.WrappedServiceStub_GetWire(self, membername)
def GetObjectHeapID(self):
return _RobotRaconteurPython.WrappedServiceStub_GetObjectHeapID(self)
def _FindObjRef(self, *args):
return _RobotRaconteurPython.WrappedServiceStub__FindObjRef(self, *args)
def _FindObjRefTyped(self, *args):
return _RobotRaconteurPython.WrappedServiceStub__FindObjRefTyped(self, *args)
def GetArrayMemory(self, membername):
return _RobotRaconteurPython.WrappedServiceStub_GetArrayMemory(self, membername)
def GetMultiDimArrayMemory(self, membername):
return _RobotRaconteurPython.WrappedServiceStub_GetMultiDimArrayMemory(self, membername)
def GetPodArrayMemory(self, membername):
return _RobotRaconteurPython.WrappedServiceStub_GetPodArrayMemory(self, membername)
def GetPodMultiDimArrayMemory(self, membername):
return _RobotRaconteurPython.WrappedServiceStub_GetPodMultiDimArrayMemory(self, membername)
def GetNamedArrayMemory(self, membername):
return _RobotRaconteurPython.WrappedServiceStub_GetNamedArrayMemory(self, membername)
def GetNamedMultiDimArrayMemory(self, membername):
return _RobotRaconteurPython.WrappedServiceStub_GetNamedMultiDimArrayMemory(self, membername)
def RRClose(self):
return _RobotRaconteurPython.WrappedServiceStub_RRClose(self)
RR_objecttype = property(_RobotRaconteurPython.WrappedServiceStub_RR_objecttype_get, _RobotRaconteurPython.WrappedServiceStub_RR_objecttype_set)
def SetRRDirector(self, director, id):
return _RobotRaconteurPython.WrappedServiceStub_SetRRDirector(self, director, id)
def GetRRDirectorLock(self):
return _RobotRaconteurPython.WrappedServiceStub_GetRRDirectorLock(self)
def RRGetNode(self):
return _RobotRaconteurPython.WrappedServiceStub_RRGetNode(self)
def GetPyStub(self):
return _RobotRaconteurPython.WrappedServiceStub_GetPyStub(self)
def SetPyStub(self, stub):
return _RobotRaconteurPython.WrappedServiceStub_SetPyStub(self, stub)
def FindObjRef(self, name, index=None):
if (index is None):
stub=self._FindObjRef(name)
else:
stub=self._FindObjRef(name,str(index))
return stub
__swig_destroy__ = _RobotRaconteurPython.delete_WrappedServiceStub
# Register WrappedServiceStub in _RobotRaconteurPython:
_RobotRaconteurPython.WrappedServiceStub_swigregister(WrappedServiceStub)
class WrappedServiceSkelDirector(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
__swig_destroy__ = _RobotRaconteurPython.delete_WrappedServiceSkelDirector
def Init(self, skel):
return _RobotRaconteurPython.WrappedServiceSkelDirector_Init(self, skel)
def _CallGetProperty(self, name, async_adaptor):
return _RobotRaconteurPython.WrappedServiceSkelDirector__CallGetProperty(self, name, async_adaptor)
def _CallSetProperty(self, name, m, async_adaptor):
return _RobotRaconteurPython.WrappedServiceSkelDirector__CallSetProperty(self, name, m, async_adaptor)
def _CallFunction(self, name, m, async_adaptor):
return _RobotRaconteurPython.WrappedServiceSkelDirector__CallFunction(self, name, m, async_adaptor)
def _GetSubObj(self, name, index):
return _RobotRaconteurPython.WrappedServiceSkelDirector__GetSubObj(self, name, index)
def _GetArrayMemory(self, name):
return _RobotRaconteurPython.WrappedServiceSkelDirector__GetArrayMemory(self, name)
def _GetMultiDimArrayMemory(self, name):
return _RobotRaconteurPython.WrappedServiceSkelDirector__GetMultiDimArrayMemory(self, name)
def _GetPodArrayMemory(self, name):
return _RobotRaconteurPython.WrappedServiceSkelDirector__GetPodArrayMemory(self, name)
def _GetPodMultiDimArrayMemory(self, name):
return _RobotRaconteurPython.WrappedServiceSkelDirector__GetPodMultiDimArrayMemory(self, name)
def _GetNamedArrayMemory(self, name):
return _RobotRaconteurPython.WrappedServiceSkelDirector__GetNamedArrayMemory(self, name)
def _GetNamedMultiDimArrayMemory(self, name):
return _RobotRaconteurPython.WrappedServiceSkelDirector__GetNamedMultiDimArrayMemory(self, name)
def MonitorEnter(self, timeout):
return _RobotRaconteurPython.WrappedServiceSkelDirector_MonitorEnter(self, timeout)
def MonitorExit(self):
return _RobotRaconteurPython.WrappedServiceSkelDirector_MonitorExit(self)
def ReleaseCastObject(self):
return _RobotRaconteurPython.WrappedServiceSkelDirector_ReleaseCastObject(self)
def __init__(self):
if self.__class__ == WrappedServiceSkelDirector:
_self = None
else:
_self = self
_RobotRaconteurPython.WrappedServiceSkelDirector_swiginit(self, _RobotRaconteurPython.new_WrappedServiceSkelDirector(_self, ))
def __disown__(self):
self.this.disown()
_RobotRaconteurPython.disown_WrappedServiceSkelDirector(self)
return weakref.proxy(self)
# Register WrappedServiceSkelDirector in _RobotRaconteurPython:
_RobotRaconteurPython.WrappedServiceSkelDirector_swigregister(WrappedServiceSkelDirector)
class WrappedRRObject(RRObject):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
def __init__(self, type, RR_Director, id):
_RobotRaconteurPython.WrappedRRObject_swiginit(self, _RobotRaconteurPython.new_WrappedRRObject(type, RR_Director, id))
Type = property(_RobotRaconteurPython.WrappedRRObject_Type_get, _RobotRaconteurPython.WrappedRRObject_Type_set)
__swig_destroy__ = _RobotRaconteurPython.delete_WrappedRRObject
# Register WrappedRRObject in _RobotRaconteurPython:
_RobotRaconteurPython.WrappedRRObject_swigregister(WrappedRRObject)
class WrappedServiceSkel(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
Type = property(_RobotRaconteurPython.WrappedServiceSkel_Type_get, _RobotRaconteurPython.WrappedServiceSkel_Type_set)
castobj = property(_RobotRaconteurPython.WrappedServiceSkel_castobj_get, _RobotRaconteurPython.WrappedServiceSkel_castobj_set)
def GetPipe(self, membername):
return _RobotRaconteurPython.WrappedServiceSkel_GetPipe(self, membername)
def GetWire(self, membername):
return _RobotRaconteurPython.WrappedServiceSkel_GetWire(self, membername)
def WrappedDispatchEvent(self, name, m):
return _RobotRaconteurPython.WrappedServiceSkel_WrappedDispatchEvent(self, name, m)
def WrappedCallbackCall(self, name, endpoint, m):
return _RobotRaconteurPython.WrappedServiceSkel_WrappedCallbackCall(self, name, endpoint, m)
def RRGetNode(self):
return _RobotRaconteurPython.WrappedServiceSkel_RRGetNode(self)
def RegisterGeneratorServer(self, function_name, gen):
return _RobotRaconteurPython.WrappedServiceSkel_RegisterGeneratorServer(self, function_name, gen)
def GetServicePath(self):
return _RobotRaconteurPython.WrappedServiceSkel_GetServicePath(self)
def GetContext(self):
return _RobotRaconteurPython.WrappedServiceSkel_GetContext(self)
def __init__(self):
_RobotRaconteurPython.WrappedServiceSkel_swiginit(self, _RobotRaconteurPython.new_WrappedServiceSkel())
__swig_destroy__ = _RobotRaconteurPython.delete_WrappedServiceSkel
# Register WrappedServiceSkel in _RobotRaconteurPython:
_RobotRaconteurPython.WrappedServiceSkel_swigregister(WrappedServiceSkel)
class ServerServiceListenerDirector(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
objectheapid = property(_RobotRaconteurPython.ServerServiceListenerDirector_objectheapid_get, _RobotRaconteurPython.ServerServiceListenerDirector_objectheapid_set)
def __init__(self):
if self.__class__ == ServerServiceListenerDirector:
_self = None
else:
_self = self
_RobotRaconteurPython.ServerServiceListenerDirector_swiginit(self, _RobotRaconteurPython.new_ServerServiceListenerDirector(_self, ))
def Callback(self, code, endpoint):
return _RobotRaconteurPython.ServerServiceListenerDirector_Callback(self, code, endpoint)
__swig_destroy__ = _RobotRaconteurPython.delete_ServerServiceListenerDirector
def __disown__(self):
self.this.disown()
_RobotRaconteurPython.disown_ServerServiceListenerDirector(self)
return weakref.proxy(self)
# Register ServerServiceListenerDirector in _RobotRaconteurPython:
_RobotRaconteurPython.ServerServiceListenerDirector_swigregister(ServerServiceListenerDirector)
@_swig_add_metaclass(_SwigNonDynamicMeta)
class ServerContext(object):
r"""
ServerContext()
Context for services registered in a node for use by clients
Services are registered using the RobotRaconteurNode.RegisterService() family of functions.
The ServerContext manages the services, and dispatches requests and packets to the appropriate
service object members. Services may expose more than one object. The root object is specified
when the service is registered. Other objects are specified through ObjRef members. A name
for the service is also specified when the service is registered. This name forms the root
of the service path namespace. Other objects in the service have a unique service path
based on the ObjRef used to access the object.
Services may handle multiple connected clients concurrently. Each client is assigned
a ServerEndpoint. The ServerEndpoint is unique to the client connection,
and interacts with ServerContext to complete requests and dispatch packets. When
the service needs to address a specific client, the ServerEndpoint or the
ServerEndpoint.GetCurrentEndpoint() is used. (ServerEndpoint.GetCurrentEndpoint() returns the
int local client ID.)
Service attributes are a varvalue{string} types dictionary that is made available to
clients during service discovery. These attributes are used to help clients determine
which service should be selected for use. Because the attributes are passed to the clients
as part of the discovery process, they should be as concise as possible, and should
not use user defined types. Use ServerContext.SetAttributes() to set the service attributes
after registering the service.
Security for the service is specified using a ServiceSecurityPolicy instance. This policy
is specified by passing as a parameter to RobotRaconteurNode.RegisterService(), or passing
the policy to the constructor.
ServerContext implements authentication and object locking.
Server side functions are exposed by ServerContext for authentication, object locking,
and client management.
Clients using dynamic typing such as Python and MATLAB will only pull service types
explicitly imported by the root object and objref objects that have been requested. Clients
will not pull service types of user-defined named types if that service type is not explicitly
imported. This can be problematic if new `struct`, `pod`, and/or `namedarray` types are introduced
that do not have corresponding objects. Extra imports is used to specify extra service definitions
the client should pull. Use ServerContext.AddExtraImport(), ServerContext.RemoveExtraImport(),
and ServerContext.GetExtraImports() to manage the extra imports passed to the client.
"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__setattr__ = _swig_setattr_nondynamic_instance_variable(object.__setattr__)
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined")
__repr__ = _swig_repr
@staticmethod
def GetCurrentServicePath():
r"""
Get the current object service path
Returns the service path of the current object during a request or
packet event.
This is a thread-specific value and only
valid during the initial request or packet event invocation.
:return: The current object service path
:rtype: str
"""
return _RobotRaconteurPython.ServerContext_GetCurrentServicePath()
def _ReleaseServicePath(self, *args):
return _RobotRaconteurPython.ServerContext__ReleaseServicePath(self, *args)
@staticmethod
def GetCurrentServerContext():
r"""
Get the current ServerContext
Returns the current server context during a request or packet event.
This is a thread-specific value and only
valid during the initial request or packet event invocation.
:return: The current server context
:rtype: RobotRaconteur.ServerContext
"""
return _RobotRaconteurPython.ServerContext_GetCurrentServerContext()
def KickUser(self, username):
r"""
Kicks a user with the specified username
User must be authenticated.
:param username: The username to kick
:type username: str
"""
return _RobotRaconteurPython.ServerContext_KickUser(self, username)
def _AddServerServiceListener(self, listener):
return _RobotRaconteurPython.ServerContext__AddServerServiceListener(self, listener)
def _SetServiceAttributes(self, attributes):
return _RobotRaconteurPython.ServerContext__SetServiceAttributes(self, attributes)
def RequestObjectLock(self, servicepath, username):
r"""
Request an object lock on servicepath for user username
This function handles incoming client requests, but may also be used
by the service directly
:param servicepath: The service path to lock
:type servicepath: str
:param username: The name of the user owning the lock
:type username: str
"""
return _RobotRaconteurPython.ServerContext_RequestObjectLock(self, servicepath, username)
def RequestClientObjectLock(self, servicepath, username, endpoint):
r"""
Request a client lock on servicepath for a specific client connection
This function handles incoming client requests, but may also be used
by the service directly. Client object locks lock for a specific client connection,
while client locks lock for a specific user. The specific client connection is
specified using endpoint.
:param servicepath: The service path to lock
:type servicepath: str
:param username: The name of the user owning the lock
:type username: str
:param endpoint: The client endpoint ID of the client owning the lock
:type int:
"""
return _RobotRaconteurPython.ServerContext_RequestClientObjectLock(self, servicepath, username, endpoint)
def ReleaseObjectLock(self, servicepath, username, override_):
r"""
Release a client lock on servicepath
This function handles incoming client requests, but may also be used
by the service directly. Client locks can be released by the user that
created them if override_ is false, or by any user if override_ is true.
The override_ parameter is set to true for client requests if the client has
the "objectlockoverride" permission.
:param servicepath: The service path to release lock
:type str:
:param username: The username requesting the lock release
:type username:
:param override_: If False, only the creating username can release the lock. If True,
any username can release the lock
:type override_: bool
"""
return _RobotRaconteurPython.ServerContext_ReleaseObjectLock(self, servicepath, username, override_)
def GetObjectLockUsername(self, servicepath):
r"""
Get the name of the user that has locked the specified service path
:param servicepath: The service path
:type servicepath: str
:return: The user owning the lock, or empty servicepath is not locked
:rtype: str
"""
return _RobotRaconteurPython.ServerContext_GetObjectLockUsername(self, servicepath)
def GetNode(self):
r"""
Get the Node
:rtype: RobotRaconteur.RobotRaconteurNode
"""
return _RobotRaconteurPython.ServerContext_GetNode(self)
def GetExtraImports(self):
r"""
Get the current list of extra service definition imports
:return: The list of extra imports
:rtype: List[str]
"""
return _RobotRaconteurPython.ServerContext_GetExtraImports(self)
def AddExtraImport(self, import_):
r"""
Add an extra service definition import
Clients using dynamic typing will not automatically pull service definitions unless
imported by the root object or an objref. If new "struct", "po", or "namedarray" types
are introduced in a new service definition type without a corresponding object, an error will
occur. Use AddExtraImport() to add the name of the new service definition to add it to the
list of service definitions the client will pull.
Service definition must have been registered using RobotRaconteurNode::RegisterServiceType()
:param import_: The name of the service definition
:type import_: str
"""
return _RobotRaconteurPython.ServerContext_AddExtraImport(self, import_)
def RemoveExtraImport(self, import_):
r"""
Removes an extra import service definition registered with AddExtraImport()
See AddExtraImport()
:param import_: The name of the service definition
:type import_: str
:return: True The service definition was removed, False The service definition was not found in the extra imports vector
:rtype: bool
"""
return _RobotRaconteurPython.ServerContext_RemoveExtraImport(self, import_)
def GetCandidateConnectionURLs(self):
r"""
Get the candidate connection URLs for this service. The candidate connection URLs are
the URLs that can be used to connect to the service. The correct URL to use depends on the
transport being used to connect to the service, and the network configuration of the client and service.
:return: The candidate connection URLs
:rtype: List[str]
"""
return _RobotRaconteurPython.ServerContext_GetCandidateConnectionURLs(self)
def PrintCandidateConnectionURLs(self):
r"""
Print the candidate connection URLs for this service. See GetCandidateConnectionURLs() for more information.
"""
return _RobotRaconteurPython.ServerContext_PrintCandidateConnectionURLs(self)
def LogCandidateConnectionURLs(self, *args):
r"""
Log the candidate connection URLs for this service. See GetCandidateConnectionURLs() for more information.
:param level: The log level to use. Defaults to RobotRaconteur.LogLevel_Info
:type level: RobotRaconteur.LogLevel
"""
return _RobotRaconteurPython.ServerContext_LogCandidateConnectionURLs(self, *args)
def AddServerServiceListener(self,listener):
"""
Add a service listener
:param listener: Callable listener function
:type listener: Callable[[RobotRaconteur.ServerContext,int,object]]
"""
from .RobotRaconteurPythonUtil import WrappedServerServiceListenerDirector
s=WrappedServerServiceListenerDirector(listener,self)
s.__disown__()
self._AddServerServiceListener(s)
def SetServiceAttributes(self,attributes):
"""
Set the service attributes
Sets the service attributes. Attributes are made available to clients during
service discovery. Attributes should be concise and not use any user defined
types.
:param attr: The service attributes
:type attr: Dict[str,Any]
"""
from .RobotRaconteurPythonUtil import PackMessageElement
self._SetServiceAttributes(PackMessageElement(attributes,"varvalue{string} value",self))
def ReleaseServicePath(self, path, endpoints=None):
"""
Release the specified service path and all sub objects
Services take ownership of objects returned by objrefs, and will only request the object
once. Subsequent requests will return the cached object. If the objref has changed,
the service must call ReleaseServicePath() to tell the service to request the object again.
Release service path will release the object specified by the service path
and all sub objects.
This overload will notify the specified that the objref has been released. If the service
path contains a session key, this overload should be used so the session key is not leaked.
:param path: The service path to release
:type path: str
:param endpoints: (Optional) The client endpoint IDs to notify of the released service path,
or None to notify all endpoints
:type endpoints: List[int]
"""
if (endpoints is None):
self._ReleaseServicePath(path)
else:
v=vectoruint32()
for e in endpoints:
v.append(e)
self._ReleaseServicePath(path,v)
__swig_destroy__ = _RobotRaconteurPython.delete_ServerContext
# Register ServerContext in _RobotRaconteurPython:
_RobotRaconteurPython.ServerContext_swigregister(ServerContext)
def ServerContext_GetCurrentServicePath():
r"""
Get the current object service path
Returns the service path of the current object during a request or
packet event.
This is a thread-specific value and only
valid during the initial request or packet event invocation.
:return: The current object service path
:rtype: str
"""
return _RobotRaconteurPython.ServerContext_GetCurrentServicePath()
def ServerContext_GetCurrentServerContext():
r"""
Get the current ServerContext
Returns the current server context during a request or packet event.
This is a thread-specific value and only
valid during the initial request or packet event invocation.
:return: The current server context
:rtype: RobotRaconteur.ServerContext
"""
return _RobotRaconteurPython.ServerContext_GetCurrentServerContext()
@_swig_add_metaclass(_SwigNonDynamicMeta)
class AuthenticatedUser(object):
r"""
AuthenticatedUser()
Class representing an authenticated user
Use ServerEndpoint.GetCurrentAuthenticatedUser() to retrieve the
authenticated user making a request
See \ref security for more information.
"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__setattr__ = _swig_setattr_nondynamic_instance_variable(object.__setattr__)
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined")
__repr__ = _swig_repr
def _GetUsername(self):
return _RobotRaconteurPython.AuthenticatedUser__GetUsername(self)
def _GetPrivileges(self):
return _RobotRaconteurPython.AuthenticatedUser__GetPrivileges(self)
def _GetProperties(self):
return _RobotRaconteurPython.AuthenticatedUser__GetProperties(self)
def _GetLoginTime(self):
return _RobotRaconteurPython.AuthenticatedUser__GetLoginTime(self)
def _GetLastAccessTime(self):
return _RobotRaconteurPython.AuthenticatedUser__GetLastAccessTime(self)
Username = property(lambda self: self._GetUsername(), doc = "The authenticated username")
Privileges = property(lambda self: list(self._GetPrivileges()), doc = "The user privileges")
Properties = property(lambda self: list(self._GetProperties()), doc = "The user properties")
LoginTime = property(lambda self: self._GetLoginTime(), doc = "The user login time")
LastAccessTime = property(lambda self: self._GetLastAccessTime(), doc = "The user last access time")
__swig_destroy__ = _RobotRaconteurPython.delete_AuthenticatedUser
# Register AuthenticatedUser in _RobotRaconteurPython:
_RobotRaconteurPython.AuthenticatedUser_swigregister(AuthenticatedUser)
@_swig_add_metaclass(_SwigNonDynamicMeta)
class ServerEndpoint(object):
r"""
ServerEndpoint()
Server endpoint representing a client connection
Robot Raconteur creates endpoint pairs between a client and service. For clients, this endpoint
is a ClientContext. For services, the endpoint becomes a ServerEndpoint. ServerEndpoints are used
to address a specific client connected to a service, since services may have multiple clients
connected concurrently. ServerEndpoints also provide client authentication information.
Use ServerEndpoint.GetCurrentEndpoint() to retrieve the int32
current endpoint ID. Use ServerEndpoint.GetCurrentAuthenticatedUser() to retrieve
the current user authentication information.
"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__setattr__ = _swig_setattr_nondynamic_instance_variable(object.__setattr__)
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined")
__repr__ = _swig_repr
@staticmethod
def GetCurrentEndpoint():
r"""
Returns the current server endpoint
Returns the current server endpoint during a request or packet event.
This is a thread-specific value and only valid during the initial
request or packet event invocation.
Throws InvalidOperationException if not during a request or packet event
:return: The current server endpoint id
:rtype: int
"""
return _RobotRaconteurPython.ServerEndpoint_GetCurrentEndpoint()
@staticmethod
def GetCurrentAuthenticatedUser():
r"""
Returns the current authenticated user
Users that have been authenticated have a corresponding
AuthenticatedUser object associated with the ServerEndpoint.
GetCurrentAuthenticatedUser() returns the AuthenticatedUser
associated with the current ServerEndpoint during a request
or packet event. This is a thread-specific value and only valid during
the initial request or packet event invocation.
Throws PermissionDeniedException or AuthenticationException
if there is no AuthenticatedUser set in the current thread.
:return: The AuthenticatedUser
:rtype: RobotRaconteur.AuthenticatedUser
"""
return _RobotRaconteurPython.ServerEndpoint_GetCurrentAuthenticatedUser()
__swig_destroy__ = _RobotRaconteurPython.delete_ServerEndpoint
# Register ServerEndpoint in _RobotRaconteurPython:
_RobotRaconteurPython.ServerEndpoint_swigregister(ServerEndpoint)
def ServerEndpoint_GetCurrentEndpoint():
r"""
Returns the current server endpoint
Returns the current server endpoint during a request or packet event.
This is a thread-specific value and only valid during the initial
request or packet event invocation.
Throws InvalidOperationException if not during a request or packet event
:return: The current server endpoint id
:rtype: int
"""
return _RobotRaconteurPython.ServerEndpoint_GetCurrentEndpoint()
def ServerEndpoint_GetCurrentAuthenticatedUser():
r"""
Returns the current authenticated user
Users that have been authenticated have a corresponding
AuthenticatedUser object associated with the ServerEndpoint.
GetCurrentAuthenticatedUser() returns the AuthenticatedUser
associated with the current ServerEndpoint during a request
or packet event. This is a thread-specific value and only valid during
the initial request or packet event invocation.
Throws PermissionDeniedException or AuthenticationException
if there is no AuthenticatedUser set in the current thread.
:return: The AuthenticatedUser
:rtype: RobotRaconteur.AuthenticatedUser
"""
return _RobotRaconteurPython.ServerEndpoint_GetCurrentAuthenticatedUser()
class WrappedServiceSkelAsyncAdapter(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined")
__repr__ = _swig_repr
def MakeAsync(self):
return _RobotRaconteurPython.WrappedServiceSkelAsyncAdapter_MakeAsync(self)
def IsAsync(self):
return _RobotRaconteurPython.WrappedServiceSkelAsyncAdapter_IsAsync(self)
def End(self, *args):
return _RobotRaconteurPython.WrappedServiceSkelAsyncAdapter_End(self, *args)
__swig_destroy__ = _RobotRaconteurPython.delete_WrappedServiceSkelAsyncAdapter
# Register WrappedServiceSkelAsyncAdapter in _RobotRaconteurPython:
_RobotRaconteurPython.WrappedServiceSkelAsyncAdapter_swigregister(WrappedServiceSkelAsyncAdapter)
@_swig_add_metaclass(_SwigNonDynamicMeta)
class NativeUserAuthenticator(object):
r"""
NativeUserAuthenticator()
Base class for user authenticators
Used with ServiceSecurityPolicy to secure services
Override AuthenticateUser to implement different types
of user authenticators.
"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__setattr__ = _swig_setattr_nondynamic_instance_variable(object.__setattr__)
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined")
__repr__ = _swig_repr
def _AuthenticateUser(self, username, credentials, context):
return _RobotRaconteurPython.NativeUserAuthenticator__AuthenticateUser(self, username, credentials, context)
def AuthenticateUser(self, username, credentials, context):
"""
Authenticate a user using username and credentials
The service will call AuthenticateUser when clients attempt to authenticate. The
username and credentials are passed to RobotRaconteurNode.ConnectService() or
RobotRaconteurNode.AsyncConnectService(). The authenticator must analyze these
values to decide how to authenticate the user.
On successful authentication, return a populated AuthenticatedUser object. On
failure, throw an exception.
See \\ref security for more information.
:param username: The username provided by the client
:type username: str
:param credentials: The credentials provided by the client
:type credentials: Dict[str,Any]
:param context: The context of the service requesting authentication
:type context: RobotRaconteur.ServerContext
:return: An authenticated user object
:rtype: RobotRaconteur.AuthenticatedUser
"""
from .RobotRaconteurPythonUtil import _UserAuthenticator_PackCredentials
m=_UserAuthenticator_PackCredentials(credentials)
return self._AuthenticateUser(username,m,context);
__swig_destroy__ = _RobotRaconteurPython.delete_NativeUserAuthenticator
# Register NativeUserAuthenticator in _RobotRaconteurPython:
_RobotRaconteurPython.NativeUserAuthenticator_swigregister(NativeUserAuthenticator)
@_swig_add_metaclass(_SwigNonDynamicMeta)
class ServiceSecurityPolicy(object):
r"""
Security policy for Robot Raconteur service
The security policy sets an authenticator, and a set of policies. PasswordFileUserAuthenticator is
an example of an authenticator. The valid options for Policies are as follows:
+------------------+-----------------+-----------------+-----------------+
| Policy name | Possible Values | Default | Description |
+==================+=================+=================+=================+
| requirevaliduser | true,false | false | Set to "true" |
| | | | to require a |
| | | | user be |
| | | | authenticated |
| | | | before |
| | | | accessing |
| | | | service |
+------------------+-----------------+-----------------+-----------------+
| allowobjectlock | true,false | false | If "true" allow |
| | | | users to |
| | | | request object |
| | | | locks. |
| | | | r |
| | | | requirevaliduser |
| | | | most also be |
| | | | "true" |
+------------------+-----------------+-----------------+-----------------+
The security policy is passed as a parameter to RobotRaconteurNode.RegisterService().
See \ref security for more information.
:param Authenticator: The user authenticator
:type Authenticator: RobotRaconteur.Authenticator
:param Policies: The security policies
:type Policies: Dict[str,str]
"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__setattr__ = _swig_setattr_nondynamic_instance_variable(object.__setattr__)
__repr__ = _swig_repr
def __init__(self, Authenticator, Policies):
_RobotRaconteurPython.ServiceSecurityPolicy_swiginit(self, _RobotRaconteurPython.new_ServiceSecurityPolicy(Authenticator, Policies))
__swig_destroy__ = _RobotRaconteurPython.delete_ServiceSecurityPolicy
# Register ServiceSecurityPolicy in _RobotRaconteurPython:
_RobotRaconteurPython.ServiceSecurityPolicy_swigregister(ServiceSecurityPolicy)
class PasswordFileUserAuthenticator(NativeUserAuthenticator):
r"""
Simple authenticator using a list of username, password hash, and privileges stored in a file or string
The password user authenticator expects a string containing a list of users,
one per line. Each line contains the username, password as md5 hash, and privileges, separated by white spaces.
An example of authentication string contents:
.. code-block::
user1 79e262a81dd19d40ae008f74eb59edce objectlock
user2 309825a0951b3cf1f25e27b61cee8243 objectlock
superuser1 11e5dfc68422e697563a4253ba360615 objectlock,objectlockoverride
The password is md5 hashed. This hash can be generated using the ``--md5passwordhash`` command in the "RobotRaconteurGen" utility.
The privileges are comma separated. Valid privileges are as follows:
================== =====================================================
Privilege Name Description
================== =====================================================
objectlock Allow user to lock objects
objectlockoverride Allow user to unlock object locks made by other users
================== =====================================================
:param data: The file text
:type data: str
"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
def __init__(self, data, require_verified_client=False):
_RobotRaconteurPython.PasswordFileUserAuthenticator_swiginit(self, _RobotRaconteurPython.new_PasswordFileUserAuthenticator(data, require_verified_client))
__swig_destroy__ = _RobotRaconteurPython.delete_PasswordFileUserAuthenticator
# Register PasswordFileUserAuthenticator in _RobotRaconteurPython:
_RobotRaconteurPython.PasswordFileUserAuthenticator_swigregister(PasswordFileUserAuthenticator)
class WrappedUserAuthenticatorDirector(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
__swig_destroy__ = _RobotRaconteurPython.delete_WrappedUserAuthenticatorDirector
def AuthenticateUser(self, username, credentials, context):
return _RobotRaconteurPython.WrappedUserAuthenticatorDirector_AuthenticateUser(self, username, credentials, context)
def __init__(self):
if self.__class__ == WrappedUserAuthenticatorDirector:
_self = None
else:
_self = self
_RobotRaconteurPython.WrappedUserAuthenticatorDirector_swiginit(self, _RobotRaconteurPython.new_WrappedUserAuthenticatorDirector(_self, ))
def __disown__(self):
self.this.disown()
_RobotRaconteurPython.disown_WrappedUserAuthenticatorDirector(self)
return weakref.proxy(self)
# Register WrappedUserAuthenticatorDirector in _RobotRaconteurPython:
_RobotRaconteurPython.WrappedUserAuthenticatorDirector_swigregister(WrappedUserAuthenticatorDirector)
class WrappedUserAuthenticator(NativeUserAuthenticator):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
def SetRRDirector(self, director, id):
return _RobotRaconteurPython.WrappedUserAuthenticator_SetRRDirector(self, director, id)
def __init__(self):
_RobotRaconteurPython.WrappedUserAuthenticator_swiginit(self, _RobotRaconteurPython.new_WrappedUserAuthenticator())
__swig_destroy__ = _RobotRaconteurPython.delete_WrappedUserAuthenticator
# Register WrappedUserAuthenticator in _RobotRaconteurPython:
_RobotRaconteurPython.WrappedUserAuthenticator_swigregister(WrappedUserAuthenticator)
class AsyncServiceInfo2VectorReturnDirector(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
__swig_destroy__ = _RobotRaconteurPython.delete_AsyncServiceInfo2VectorReturnDirector
def handler(self, ret):
return _RobotRaconteurPython.AsyncServiceInfo2VectorReturnDirector_handler(self, ret)
def __init__(self):
if self.__class__ == AsyncServiceInfo2VectorReturnDirector:
_self = None
else:
_self = self
_RobotRaconteurPython.AsyncServiceInfo2VectorReturnDirector_swiginit(self, _RobotRaconteurPython.new_AsyncServiceInfo2VectorReturnDirector(_self, ))
def __disown__(self):
self.this.disown()
_RobotRaconteurPython.disown_AsyncServiceInfo2VectorReturnDirector(self)
return weakref.proxy(self)
# Register AsyncServiceInfo2VectorReturnDirector in _RobotRaconteurPython:
_RobotRaconteurPython.AsyncServiceInfo2VectorReturnDirector_swigregister(AsyncServiceInfo2VectorReturnDirector)
class AsyncNodeInfo2VectorReturnDirector(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
__swig_destroy__ = _RobotRaconteurPython.delete_AsyncNodeInfo2VectorReturnDirector
def handler(self, ret):
return _RobotRaconteurPython.AsyncNodeInfo2VectorReturnDirector_handler(self, ret)
def __init__(self):
if self.__class__ == AsyncNodeInfo2VectorReturnDirector:
_self = None
else:
_self = self
_RobotRaconteurPython.AsyncNodeInfo2VectorReturnDirector_swiginit(self, _RobotRaconteurPython.new_AsyncNodeInfo2VectorReturnDirector(_self, ))
def __disown__(self):
self.this.disown()
_RobotRaconteurPython.disown_AsyncNodeInfo2VectorReturnDirector(self)
return weakref.proxy(self)
# Register AsyncNodeInfo2VectorReturnDirector in _RobotRaconteurPython:
_RobotRaconteurPython.AsyncNodeInfo2VectorReturnDirector_swigregister(AsyncNodeInfo2VectorReturnDirector)
@_swig_add_metaclass(_SwigNonDynamicMeta)
class ServiceInfo2Wrapped(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__setattr__ = _swig_setattr_nondynamic_instance_variable(object.__setattr__)
__repr__ = _swig_repr
Name = property(_RobotRaconteurPython.ServiceInfo2Wrapped_Name_get, _RobotRaconteurPython.ServiceInfo2Wrapped_Name_set)
RootObjectType = property(_RobotRaconteurPython.ServiceInfo2Wrapped_RootObjectType_get, _RobotRaconteurPython.ServiceInfo2Wrapped_RootObjectType_set)
RootObjectImplements = property(_RobotRaconteurPython.ServiceInfo2Wrapped_RootObjectImplements_get, _RobotRaconteurPython.ServiceInfo2Wrapped_RootObjectImplements_set)
ConnectionURL = property(_RobotRaconteurPython.ServiceInfo2Wrapped_ConnectionURL_get, _RobotRaconteurPython.ServiceInfo2Wrapped_ConnectionURL_set)
Attributes = property(_RobotRaconteurPython.ServiceInfo2Wrapped_Attributes_get, _RobotRaconteurPython.ServiceInfo2Wrapped_Attributes_set)
NodeID = property(_RobotRaconteurPython.ServiceInfo2Wrapped_NodeID_get, _RobotRaconteurPython.ServiceInfo2Wrapped_NodeID_set)
NodeName = property(_RobotRaconteurPython.ServiceInfo2Wrapped_NodeName_get, _RobotRaconteurPython.ServiceInfo2Wrapped_NodeName_set)
def __init__(self):
_RobotRaconteurPython.ServiceInfo2Wrapped_swiginit(self, _RobotRaconteurPython.new_ServiceInfo2Wrapped())
__swig_destroy__ = _RobotRaconteurPython.delete_ServiceInfo2Wrapped
# Register ServiceInfo2Wrapped in _RobotRaconteurPython:
_RobotRaconteurPython.ServiceInfo2Wrapped_swigregister(ServiceInfo2Wrapped)
def WrappedFindServiceByType(node, servicetype, transportschemes):
return _RobotRaconteurPython.WrappedFindServiceByType(node, servicetype, transportschemes)
def AsyncWrappedFindServiceByType(node, servicetype, transportschemes, timeout, handler, id):
return _RobotRaconteurPython.AsyncWrappedFindServiceByType(node, servicetype, transportschemes, timeout, handler, id)
class vectorserviceinfo2wrapped(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
def iterator(self):
return _RobotRaconteurPython.vectorserviceinfo2wrapped_iterator(self)
def __iter__(self):
return self.iterator()
def __nonzero__(self):
return _RobotRaconteurPython.vectorserviceinfo2wrapped___nonzero__(self)
def __bool__(self):
return _RobotRaconteurPython.vectorserviceinfo2wrapped___bool__(self)
def __len__(self):
return _RobotRaconteurPython.vectorserviceinfo2wrapped___len__(self)
def __getslice__(self, i, j):
return _RobotRaconteurPython.vectorserviceinfo2wrapped___getslice__(self, i, j)
def __setslice__(self, *args):
return _RobotRaconteurPython.vectorserviceinfo2wrapped___setslice__(self, *args)
def __delslice__(self, i, j):
return _RobotRaconteurPython.vectorserviceinfo2wrapped___delslice__(self, i, j)
def __delitem__(self, *args):
return _RobotRaconteurPython.vectorserviceinfo2wrapped___delitem__(self, *args)
def __getitem__(self, *args):
return _RobotRaconteurPython.vectorserviceinfo2wrapped___getitem__(self, *args)
def __setitem__(self, *args):
return _RobotRaconteurPython.vectorserviceinfo2wrapped___setitem__(self, *args)
def pop(self):
return _RobotRaconteurPython.vectorserviceinfo2wrapped_pop(self)
def append(self, x):
return _RobotRaconteurPython.vectorserviceinfo2wrapped_append(self, x)
def empty(self):
return _RobotRaconteurPython.vectorserviceinfo2wrapped_empty(self)
def size(self):
return _RobotRaconteurPython.vectorserviceinfo2wrapped_size(self)
def swap(self, v):
return _RobotRaconteurPython.vectorserviceinfo2wrapped_swap(self, v)
def begin(self):
return _RobotRaconteurPython.vectorserviceinfo2wrapped_begin(self)
def end(self):
return _RobotRaconteurPython.vectorserviceinfo2wrapped_end(self)
def rbegin(self):
return _RobotRaconteurPython.vectorserviceinfo2wrapped_rbegin(self)
def rend(self):
return _RobotRaconteurPython.vectorserviceinfo2wrapped_rend(self)
def clear(self):
return _RobotRaconteurPython.vectorserviceinfo2wrapped_clear(self)
def get_allocator(self):
return _RobotRaconteurPython.vectorserviceinfo2wrapped_get_allocator(self)
def pop_back(self):
return _RobotRaconteurPython.vectorserviceinfo2wrapped_pop_back(self)
def erase(self, *args):
return _RobotRaconteurPython.vectorserviceinfo2wrapped_erase(self, *args)
def __init__(self, *args):
_RobotRaconteurPython.vectorserviceinfo2wrapped_swiginit(self, _RobotRaconteurPython.new_vectorserviceinfo2wrapped(*args))
def push_back(self, x):
return _RobotRaconteurPython.vectorserviceinfo2wrapped_push_back(self, x)
def front(self):
return _RobotRaconteurPython.vectorserviceinfo2wrapped_front(self)
def back(self):
return _RobotRaconteurPython.vectorserviceinfo2wrapped_back(self)
def assign(self, n, x):
return _RobotRaconteurPython.vectorserviceinfo2wrapped_assign(self, n, x)
def resize(self, *args):
return _RobotRaconteurPython.vectorserviceinfo2wrapped_resize(self, *args)
def insert(self, *args):
return _RobotRaconteurPython.vectorserviceinfo2wrapped_insert(self, *args)
def reserve(self, n):
return _RobotRaconteurPython.vectorserviceinfo2wrapped_reserve(self, n)
def capacity(self):
return _RobotRaconteurPython.vectorserviceinfo2wrapped_capacity(self)
__swig_destroy__ = _RobotRaconteurPython.delete_vectorserviceinfo2wrapped
# Register vectorserviceinfo2wrapped in _RobotRaconteurPython:
_RobotRaconteurPython.vectorserviceinfo2wrapped_swigregister(vectorserviceinfo2wrapped)
@_swig_add_metaclass(_SwigNonDynamicMeta)
class NodeInfo2(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__setattr__ = _swig_setattr_nondynamic_instance_variable(object.__setattr__)
__repr__ = _swig_repr
NodeID = property(_RobotRaconteurPython.NodeInfo2_NodeID_get, _RobotRaconteurPython.NodeInfo2_NodeID_set)
NodeName = property(_RobotRaconteurPython.NodeInfo2_NodeName_get, _RobotRaconteurPython.NodeInfo2_NodeName_set)
ConnectionURL = property(_RobotRaconteurPython.NodeInfo2_ConnectionURL_get, _RobotRaconteurPython.NodeInfo2_ConnectionURL_set)
def __init__(self):
_RobotRaconteurPython.NodeInfo2_swiginit(self, _RobotRaconteurPython.new_NodeInfo2())
__swig_destroy__ = _RobotRaconteurPython.delete_NodeInfo2
# Register NodeInfo2 in _RobotRaconteurPython:
_RobotRaconteurPython.NodeInfo2_swigregister(NodeInfo2)
def WrappedFindNodeByID(node, id, transportschemes):
return _RobotRaconteurPython.WrappedFindNodeByID(node, id, transportschemes)
def WrappedFindNodeByName(node, name, transportschemes):
return _RobotRaconteurPython.WrappedFindNodeByName(node, name, transportschemes)
def AsyncWrappedFindNodeByID(node, id, transportschemes, timeout, handler, id1):
return _RobotRaconteurPython.AsyncWrappedFindNodeByID(node, id, transportschemes, timeout, handler, id1)
def AsyncWrappedFindNodeByName(node, name, transportschemes, timeout, handler, id):
return _RobotRaconteurPython.AsyncWrappedFindNodeByName(node, name, transportschemes, timeout, handler, id)
def WrappedUpdateDetectedNodes(node, schemes):
return _RobotRaconteurPython.WrappedUpdateDetectedNodes(node, schemes)
def AsyncWrappedUpdateDetectedNodes(node, schemes, timeout, handler, id1):
return _RobotRaconteurPython.AsyncWrappedUpdateDetectedNodes(node, schemes, timeout, handler, id1)
def WrappedGetDetectedNodes(node):
return _RobotRaconteurPython.WrappedGetDetectedNodes(node)
def WrappedGetDetectedNodeCacheInfo(node, nodeid):
return _RobotRaconteurPython.WrappedGetDetectedNodeCacheInfo(node, nodeid)
def WrappedTryGetDetectedNodeCacheInfo(node, nodeid, nodeinfo2):
return _RobotRaconteurPython.WrappedTryGetDetectedNodeCacheInfo(node, nodeid, nodeinfo2)
class vectornodeinfo2(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
def iterator(self):
return _RobotRaconteurPython.vectornodeinfo2_iterator(self)
def __iter__(self):
return self.iterator()
def __nonzero__(self):
return _RobotRaconteurPython.vectornodeinfo2___nonzero__(self)
def __bool__(self):
return _RobotRaconteurPython.vectornodeinfo2___bool__(self)
def __len__(self):
return _RobotRaconteurPython.vectornodeinfo2___len__(self)
def __getslice__(self, i, j):
return _RobotRaconteurPython.vectornodeinfo2___getslice__(self, i, j)
def __setslice__(self, *args):
return _RobotRaconteurPython.vectornodeinfo2___setslice__(self, *args)
def __delslice__(self, i, j):
return _RobotRaconteurPython.vectornodeinfo2___delslice__(self, i, j)
def __delitem__(self, *args):
return _RobotRaconteurPython.vectornodeinfo2___delitem__(self, *args)
def __getitem__(self, *args):
return _RobotRaconteurPython.vectornodeinfo2___getitem__(self, *args)
def __setitem__(self, *args):
return _RobotRaconteurPython.vectornodeinfo2___setitem__(self, *args)
def pop(self):
return _RobotRaconteurPython.vectornodeinfo2_pop(self)
def append(self, x):
return _RobotRaconteurPython.vectornodeinfo2_append(self, x)
def empty(self):
return _RobotRaconteurPython.vectornodeinfo2_empty(self)
def size(self):
return _RobotRaconteurPython.vectornodeinfo2_size(self)
def swap(self, v):
return _RobotRaconteurPython.vectornodeinfo2_swap(self, v)
def begin(self):
return _RobotRaconteurPython.vectornodeinfo2_begin(self)
def end(self):
return _RobotRaconteurPython.vectornodeinfo2_end(self)
def rbegin(self):
return _RobotRaconteurPython.vectornodeinfo2_rbegin(self)
def rend(self):
return _RobotRaconteurPython.vectornodeinfo2_rend(self)
def clear(self):
return _RobotRaconteurPython.vectornodeinfo2_clear(self)
def get_allocator(self):
return _RobotRaconteurPython.vectornodeinfo2_get_allocator(self)
def pop_back(self):
return _RobotRaconteurPython.vectornodeinfo2_pop_back(self)
def erase(self, *args):
return _RobotRaconteurPython.vectornodeinfo2_erase(self, *args)
def __init__(self, *args):
_RobotRaconteurPython.vectornodeinfo2_swiginit(self, _RobotRaconteurPython.new_vectornodeinfo2(*args))
def push_back(self, x):
return _RobotRaconteurPython.vectornodeinfo2_push_back(self, x)
def front(self):
return _RobotRaconteurPython.vectornodeinfo2_front(self)
def back(self):
return _RobotRaconteurPython.vectornodeinfo2_back(self)
def assign(self, n, x):
return _RobotRaconteurPython.vectornodeinfo2_assign(self, n, x)
def resize(self, *args):
return _RobotRaconteurPython.vectornodeinfo2_resize(self, *args)
def insert(self, *args):
return _RobotRaconteurPython.vectornodeinfo2_insert(self, *args)
def reserve(self, n):
return _RobotRaconteurPython.vectornodeinfo2_reserve(self, n)
def capacity(self):
return _RobotRaconteurPython.vectornodeinfo2_capacity(self)
__swig_destroy__ = _RobotRaconteurPython.delete_vectornodeinfo2
# Register vectornodeinfo2 in _RobotRaconteurPython:
_RobotRaconteurPython.vectornodeinfo2_swigregister(vectornodeinfo2)
class map_subscriptionserviceinfo2(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
def iterator(self):
return _RobotRaconteurPython.map_subscriptionserviceinfo2_iterator(self)
def __iter__(self):
return self.iterator()
def __nonzero__(self):
return _RobotRaconteurPython.map_subscriptionserviceinfo2___nonzero__(self)
def __bool__(self):
return _RobotRaconteurPython.map_subscriptionserviceinfo2___bool__(self)
def __len__(self):
return _RobotRaconteurPython.map_subscriptionserviceinfo2___len__(self)
def __iter__(self):
return self.key_iterator()
def iterkeys(self):
return self.key_iterator()
def itervalues(self):
return self.value_iterator()
def iteritems(self):
return self.iterator()
def __getitem__(self, key):
return _RobotRaconteurPython.map_subscriptionserviceinfo2___getitem__(self, key)
def __delitem__(self, key):
return _RobotRaconteurPython.map_subscriptionserviceinfo2___delitem__(self, key)
def has_key(self, key):
return _RobotRaconteurPython.map_subscriptionserviceinfo2_has_key(self, key)
def keys(self):
return _RobotRaconteurPython.map_subscriptionserviceinfo2_keys(self)
def values(self):
return _RobotRaconteurPython.map_subscriptionserviceinfo2_values(self)
def items(self):
return _RobotRaconteurPython.map_subscriptionserviceinfo2_items(self)
def __contains__(self, key):
return _RobotRaconteurPython.map_subscriptionserviceinfo2___contains__(self, key)
def key_iterator(self):
return _RobotRaconteurPython.map_subscriptionserviceinfo2_key_iterator(self)
def value_iterator(self):
return _RobotRaconteurPython.map_subscriptionserviceinfo2_value_iterator(self)
def __setitem__(self, *args):
return _RobotRaconteurPython.map_subscriptionserviceinfo2___setitem__(self, *args)
def asdict(self):
return _RobotRaconteurPython.map_subscriptionserviceinfo2_asdict(self)
def __init__(self, *args):
_RobotRaconteurPython.map_subscriptionserviceinfo2_swiginit(self, _RobotRaconteurPython.new_map_subscriptionserviceinfo2(*args))
def empty(self):
return _RobotRaconteurPython.map_subscriptionserviceinfo2_empty(self)
def size(self):
return _RobotRaconteurPython.map_subscriptionserviceinfo2_size(self)
def swap(self, v):
return _RobotRaconteurPython.map_subscriptionserviceinfo2_swap(self, v)
def begin(self):
return _RobotRaconteurPython.map_subscriptionserviceinfo2_begin(self)
def end(self):
return _RobotRaconteurPython.map_subscriptionserviceinfo2_end(self)
def rbegin(self):
return _RobotRaconteurPython.map_subscriptionserviceinfo2_rbegin(self)
def rend(self):
return _RobotRaconteurPython.map_subscriptionserviceinfo2_rend(self)
def clear(self):
return _RobotRaconteurPython.map_subscriptionserviceinfo2_clear(self)
def get_allocator(self):
return _RobotRaconteurPython.map_subscriptionserviceinfo2_get_allocator(self)
def count(self, x):
return _RobotRaconteurPython.map_subscriptionserviceinfo2_count(self, x)
def erase(self, *args):
return _RobotRaconteurPython.map_subscriptionserviceinfo2_erase(self, *args)
def find(self, x):
return _RobotRaconteurPython.map_subscriptionserviceinfo2_find(self, x)
def lower_bound(self, x):
return _RobotRaconteurPython.map_subscriptionserviceinfo2_lower_bound(self, x)
def upper_bound(self, x):
return _RobotRaconteurPython.map_subscriptionserviceinfo2_upper_bound(self, x)
__swig_destroy__ = _RobotRaconteurPython.delete_map_subscriptionserviceinfo2
# Register map_subscriptionserviceinfo2 in _RobotRaconteurPython:
_RobotRaconteurPython.map_subscriptionserviceinfo2_swigregister(map_subscriptionserviceinfo2)
class map_subscriptionclients(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
def iterator(self):
return _RobotRaconteurPython.map_subscriptionclients_iterator(self)
def __iter__(self):
return self.iterator()
def __nonzero__(self):
return _RobotRaconteurPython.map_subscriptionclients___nonzero__(self)
def __bool__(self):
return _RobotRaconteurPython.map_subscriptionclients___bool__(self)
def __len__(self):
return _RobotRaconteurPython.map_subscriptionclients___len__(self)
def __iter__(self):
return self.key_iterator()
def iterkeys(self):
return self.key_iterator()
def itervalues(self):
return self.value_iterator()
def iteritems(self):
return self.iterator()
def __getitem__(self, key):
return _RobotRaconteurPython.map_subscriptionclients___getitem__(self, key)
def __delitem__(self, key):
return _RobotRaconteurPython.map_subscriptionclients___delitem__(self, key)
def has_key(self, key):
return _RobotRaconteurPython.map_subscriptionclients_has_key(self, key)
def keys(self):
return _RobotRaconteurPython.map_subscriptionclients_keys(self)
def values(self):
return _RobotRaconteurPython.map_subscriptionclients_values(self)
def items(self):
return _RobotRaconteurPython.map_subscriptionclients_items(self)
def __contains__(self, key):
return _RobotRaconteurPython.map_subscriptionclients___contains__(self, key)
def key_iterator(self):
return _RobotRaconteurPython.map_subscriptionclients_key_iterator(self)
def value_iterator(self):
return _RobotRaconteurPython.map_subscriptionclients_value_iterator(self)
def __setitem__(self, *args):
return _RobotRaconteurPython.map_subscriptionclients___setitem__(self, *args)
def asdict(self):
return _RobotRaconteurPython.map_subscriptionclients_asdict(self)
def __init__(self, *args):
_RobotRaconteurPython.map_subscriptionclients_swiginit(self, _RobotRaconteurPython.new_map_subscriptionclients(*args))
def empty(self):
return _RobotRaconteurPython.map_subscriptionclients_empty(self)
def size(self):
return _RobotRaconteurPython.map_subscriptionclients_size(self)
def swap(self, v):
return _RobotRaconteurPython.map_subscriptionclients_swap(self, v)
def begin(self):
return _RobotRaconteurPython.map_subscriptionclients_begin(self)
def end(self):
return _RobotRaconteurPython.map_subscriptionclients_end(self)
def rbegin(self):
return _RobotRaconteurPython.map_subscriptionclients_rbegin(self)
def rend(self):
return _RobotRaconteurPython.map_subscriptionclients_rend(self)
def clear(self):
return _RobotRaconteurPython.map_subscriptionclients_clear(self)
def get_allocator(self):
return _RobotRaconteurPython.map_subscriptionclients_get_allocator(self)
def count(self, x):
return _RobotRaconteurPython.map_subscriptionclients_count(self, x)
def erase(self, *args):
return _RobotRaconteurPython.map_subscriptionclients_erase(self, *args)
def find(self, x):
return _RobotRaconteurPython.map_subscriptionclients_find(self, x)
def lower_bound(self, x):
return _RobotRaconteurPython.map_subscriptionclients_lower_bound(self, x)
def upper_bound(self, x):
return _RobotRaconteurPython.map_subscriptionclients_upper_bound(self, x)
__swig_destroy__ = _RobotRaconteurPython.delete_map_subscriptionclients
# Register map_subscriptionclients in _RobotRaconteurPython:
_RobotRaconteurPython.map_subscriptionclients_swigregister(map_subscriptionclients)
class vectorptr_wrappedservicesubscriptionnode(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
def iterator(self):
return _RobotRaconteurPython.vectorptr_wrappedservicesubscriptionnode_iterator(self)
def __iter__(self):
return self.iterator()
def __nonzero__(self):
return _RobotRaconteurPython.vectorptr_wrappedservicesubscriptionnode___nonzero__(self)
def __bool__(self):
return _RobotRaconteurPython.vectorptr_wrappedservicesubscriptionnode___bool__(self)
def __len__(self):
return _RobotRaconteurPython.vectorptr_wrappedservicesubscriptionnode___len__(self)
def __getslice__(self, i, j):
return _RobotRaconteurPython.vectorptr_wrappedservicesubscriptionnode___getslice__(self, i, j)
def __setslice__(self, *args):
return _RobotRaconteurPython.vectorptr_wrappedservicesubscriptionnode___setslice__(self, *args)
def __delslice__(self, i, j):
return _RobotRaconteurPython.vectorptr_wrappedservicesubscriptionnode___delslice__(self, i, j)
def __delitem__(self, *args):
return _RobotRaconteurPython.vectorptr_wrappedservicesubscriptionnode___delitem__(self, *args)
def __getitem__(self, *args):
return _RobotRaconteurPython.vectorptr_wrappedservicesubscriptionnode___getitem__(self, *args)
def __setitem__(self, *args):
return _RobotRaconteurPython.vectorptr_wrappedservicesubscriptionnode___setitem__(self, *args)
def pop(self):
return _RobotRaconteurPython.vectorptr_wrappedservicesubscriptionnode_pop(self)
def append(self, x):
return _RobotRaconteurPython.vectorptr_wrappedservicesubscriptionnode_append(self, x)
def empty(self):
return _RobotRaconteurPython.vectorptr_wrappedservicesubscriptionnode_empty(self)
def size(self):
return _RobotRaconteurPython.vectorptr_wrappedservicesubscriptionnode_size(self)
def swap(self, v):
return _RobotRaconteurPython.vectorptr_wrappedservicesubscriptionnode_swap(self, v)
def begin(self):
return _RobotRaconteurPython.vectorptr_wrappedservicesubscriptionnode_begin(self)
def end(self):
return _RobotRaconteurPython.vectorptr_wrappedservicesubscriptionnode_end(self)
def rbegin(self):
return _RobotRaconteurPython.vectorptr_wrappedservicesubscriptionnode_rbegin(self)
def rend(self):
return _RobotRaconteurPython.vectorptr_wrappedservicesubscriptionnode_rend(self)
def clear(self):
return _RobotRaconteurPython.vectorptr_wrappedservicesubscriptionnode_clear(self)
def get_allocator(self):
return _RobotRaconteurPython.vectorptr_wrappedservicesubscriptionnode_get_allocator(self)
def pop_back(self):
return _RobotRaconteurPython.vectorptr_wrappedservicesubscriptionnode_pop_back(self)
def erase(self, *args):
return _RobotRaconteurPython.vectorptr_wrappedservicesubscriptionnode_erase(self, *args)
def __init__(self, *args):
_RobotRaconteurPython.vectorptr_wrappedservicesubscriptionnode_swiginit(self, _RobotRaconteurPython.new_vectorptr_wrappedservicesubscriptionnode(*args))
def push_back(self, x):
return _RobotRaconteurPython.vectorptr_wrappedservicesubscriptionnode_push_back(self, x)
def front(self):
return _RobotRaconteurPython.vectorptr_wrappedservicesubscriptionnode_front(self)
def back(self):
return _RobotRaconteurPython.vectorptr_wrappedservicesubscriptionnode_back(self)
def assign(self, n, x):
return _RobotRaconteurPython.vectorptr_wrappedservicesubscriptionnode_assign(self, n, x)
def resize(self, *args):
return _RobotRaconteurPython.vectorptr_wrappedservicesubscriptionnode_resize(self, *args)
def insert(self, *args):
return _RobotRaconteurPython.vectorptr_wrappedservicesubscriptionnode_insert(self, *args)
def reserve(self, n):
return _RobotRaconteurPython.vectorptr_wrappedservicesubscriptionnode_reserve(self, n)
def capacity(self):
return _RobotRaconteurPython.vectorptr_wrappedservicesubscriptionnode_capacity(self)
__swig_destroy__ = _RobotRaconteurPython.delete_vectorptr_wrappedservicesubscriptionnode
# Register vectorptr_wrappedservicesubscriptionnode in _RobotRaconteurPython:
_RobotRaconteurPython.vectorptr_wrappedservicesubscriptionnode_swigregister(vectorptr_wrappedservicesubscriptionnode)
class vectorptr_subscriptionclientid(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
def iterator(self):
return _RobotRaconteurPython.vectorptr_subscriptionclientid_iterator(self)
def __iter__(self):
return self.iterator()
def __nonzero__(self):
return _RobotRaconteurPython.vectorptr_subscriptionclientid___nonzero__(self)
def __bool__(self):
return _RobotRaconteurPython.vectorptr_subscriptionclientid___bool__(self)
def __len__(self):
return _RobotRaconteurPython.vectorptr_subscriptionclientid___len__(self)
def __getslice__(self, i, j):
return _RobotRaconteurPython.vectorptr_subscriptionclientid___getslice__(self, i, j)
def __setslice__(self, *args):
return _RobotRaconteurPython.vectorptr_subscriptionclientid___setslice__(self, *args)
def __delslice__(self, i, j):
return _RobotRaconteurPython.vectorptr_subscriptionclientid___delslice__(self, i, j)
def __delitem__(self, *args):
return _RobotRaconteurPython.vectorptr_subscriptionclientid___delitem__(self, *args)
def __getitem__(self, *args):
return _RobotRaconteurPython.vectorptr_subscriptionclientid___getitem__(self, *args)
def __setitem__(self, *args):
return _RobotRaconteurPython.vectorptr_subscriptionclientid___setitem__(self, *args)
def pop(self):
return _RobotRaconteurPython.vectorptr_subscriptionclientid_pop(self)
def append(self, x):
return _RobotRaconteurPython.vectorptr_subscriptionclientid_append(self, x)
def empty(self):
return _RobotRaconteurPython.vectorptr_subscriptionclientid_empty(self)
def size(self):
return _RobotRaconteurPython.vectorptr_subscriptionclientid_size(self)
def swap(self, v):
return _RobotRaconteurPython.vectorptr_subscriptionclientid_swap(self, v)
def begin(self):
return _RobotRaconteurPython.vectorptr_subscriptionclientid_begin(self)
def end(self):
return _RobotRaconteurPython.vectorptr_subscriptionclientid_end(self)
def rbegin(self):
return _RobotRaconteurPython.vectorptr_subscriptionclientid_rbegin(self)
def rend(self):
return _RobotRaconteurPython.vectorptr_subscriptionclientid_rend(self)
def clear(self):
return _RobotRaconteurPython.vectorptr_subscriptionclientid_clear(self)
def get_allocator(self):
return _RobotRaconteurPython.vectorptr_subscriptionclientid_get_allocator(self)
def pop_back(self):
return _RobotRaconteurPython.vectorptr_subscriptionclientid_pop_back(self)
def erase(self, *args):
return _RobotRaconteurPython.vectorptr_subscriptionclientid_erase(self, *args)
def __init__(self, *args):
_RobotRaconteurPython.vectorptr_subscriptionclientid_swiginit(self, _RobotRaconteurPython.new_vectorptr_subscriptionclientid(*args))
def push_back(self, x):
return _RobotRaconteurPython.vectorptr_subscriptionclientid_push_back(self, x)
def front(self):
return _RobotRaconteurPython.vectorptr_subscriptionclientid_front(self)
def back(self):
return _RobotRaconteurPython.vectorptr_subscriptionclientid_back(self)
def assign(self, n, x):
return _RobotRaconteurPython.vectorptr_subscriptionclientid_assign(self, n, x)
def resize(self, *args):
return _RobotRaconteurPython.vectorptr_subscriptionclientid_resize(self, *args)
def insert(self, *args):
return _RobotRaconteurPython.vectorptr_subscriptionclientid_insert(self, *args)
def reserve(self, n):
return _RobotRaconteurPython.vectorptr_subscriptionclientid_reserve(self, n)
def capacity(self):
return _RobotRaconteurPython.vectorptr_subscriptionclientid_capacity(self)
__swig_destroy__ = _RobotRaconteurPython.delete_vectorptr_subscriptionclientid
# Register vectorptr_subscriptionclientid in _RobotRaconteurPython:
_RobotRaconteurPython.vectorptr_subscriptionclientid_swigregister(vectorptr_subscriptionclientid)
class vector_wrappedservicesubscriptionmanagerdetails(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
def iterator(self):
return _RobotRaconteurPython.vector_wrappedservicesubscriptionmanagerdetails_iterator(self)
def __iter__(self):
return self.iterator()
def __nonzero__(self):
return _RobotRaconteurPython.vector_wrappedservicesubscriptionmanagerdetails___nonzero__(self)
def __bool__(self):
return _RobotRaconteurPython.vector_wrappedservicesubscriptionmanagerdetails___bool__(self)
def __len__(self):
return _RobotRaconteurPython.vector_wrappedservicesubscriptionmanagerdetails___len__(self)
def __getslice__(self, i, j):
return _RobotRaconteurPython.vector_wrappedservicesubscriptionmanagerdetails___getslice__(self, i, j)
def __setslice__(self, *args):
return _RobotRaconteurPython.vector_wrappedservicesubscriptionmanagerdetails___setslice__(self, *args)
def __delslice__(self, i, j):
return _RobotRaconteurPython.vector_wrappedservicesubscriptionmanagerdetails___delslice__(self, i, j)
def __delitem__(self, *args):
return _RobotRaconteurPython.vector_wrappedservicesubscriptionmanagerdetails___delitem__(self, *args)
def __getitem__(self, *args):
return _RobotRaconteurPython.vector_wrappedservicesubscriptionmanagerdetails___getitem__(self, *args)
def __setitem__(self, *args):
return _RobotRaconteurPython.vector_wrappedservicesubscriptionmanagerdetails___setitem__(self, *args)
def pop(self):
return _RobotRaconteurPython.vector_wrappedservicesubscriptionmanagerdetails_pop(self)
def append(self, x):
return _RobotRaconteurPython.vector_wrappedservicesubscriptionmanagerdetails_append(self, x)
def empty(self):
return _RobotRaconteurPython.vector_wrappedservicesubscriptionmanagerdetails_empty(self)
def size(self):
return _RobotRaconteurPython.vector_wrappedservicesubscriptionmanagerdetails_size(self)
def swap(self, v):
return _RobotRaconteurPython.vector_wrappedservicesubscriptionmanagerdetails_swap(self, v)
def begin(self):
return _RobotRaconteurPython.vector_wrappedservicesubscriptionmanagerdetails_begin(self)
def end(self):
return _RobotRaconteurPython.vector_wrappedservicesubscriptionmanagerdetails_end(self)
def rbegin(self):
return _RobotRaconteurPython.vector_wrappedservicesubscriptionmanagerdetails_rbegin(self)
def rend(self):
return _RobotRaconteurPython.vector_wrappedservicesubscriptionmanagerdetails_rend(self)
def clear(self):
return _RobotRaconteurPython.vector_wrappedservicesubscriptionmanagerdetails_clear(self)
def get_allocator(self):
return _RobotRaconteurPython.vector_wrappedservicesubscriptionmanagerdetails_get_allocator(self)
def pop_back(self):
return _RobotRaconteurPython.vector_wrappedservicesubscriptionmanagerdetails_pop_back(self)
def erase(self, *args):
return _RobotRaconteurPython.vector_wrappedservicesubscriptionmanagerdetails_erase(self, *args)
def __init__(self, *args):
_RobotRaconteurPython.vector_wrappedservicesubscriptionmanagerdetails_swiginit(self, _RobotRaconteurPython.new_vector_wrappedservicesubscriptionmanagerdetails(*args))
def push_back(self, x):
return _RobotRaconteurPython.vector_wrappedservicesubscriptionmanagerdetails_push_back(self, x)
def front(self):
return _RobotRaconteurPython.vector_wrappedservicesubscriptionmanagerdetails_front(self)
def back(self):
return _RobotRaconteurPython.vector_wrappedservicesubscriptionmanagerdetails_back(self)
def assign(self, n, x):
return _RobotRaconteurPython.vector_wrappedservicesubscriptionmanagerdetails_assign(self, n, x)
def resize(self, *args):
return _RobotRaconteurPython.vector_wrappedservicesubscriptionmanagerdetails_resize(self, *args)
def insert(self, *args):
return _RobotRaconteurPython.vector_wrappedservicesubscriptionmanagerdetails_insert(self, *args)
def reserve(self, n):
return _RobotRaconteurPython.vector_wrappedservicesubscriptionmanagerdetails_reserve(self, n)
def capacity(self):
return _RobotRaconteurPython.vector_wrappedservicesubscriptionmanagerdetails_capacity(self)
__swig_destroy__ = _RobotRaconteurPython.delete_vector_wrappedservicesubscriptionmanagerdetails
# Register vector_wrappedservicesubscriptionmanagerdetails in _RobotRaconteurPython:
_RobotRaconteurPython.vector_wrappedservicesubscriptionmanagerdetails_swigregister(vector_wrappedservicesubscriptionmanagerdetails)
class ServiceSubscriptionFilterAttribute(object):
r"""
ServiceSubscriptionFilterAttribute()
Subscription filter attribute for use with ServiceSubscriptionFilter
"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
Name = property(_RobotRaconteurPython.ServiceSubscriptionFilterAttribute_Name_get, _RobotRaconteurPython.ServiceSubscriptionFilterAttribute_Name_set, doc=r"""(str) The attribute name. Empty for no name""")
Value = property(_RobotRaconteurPython.ServiceSubscriptionFilterAttribute_Value_get, _RobotRaconteurPython.ServiceSubscriptionFilterAttribute_Value_set, doc=r"""(str) The string value for the attribute""")
UseRegex = property(_RobotRaconteurPython.ServiceSubscriptionFilterAttribute_UseRegex_get, _RobotRaconteurPython.ServiceSubscriptionFilterAttribute_UseRegex_set)
def __init__(self, *args):
_RobotRaconteurPython.ServiceSubscriptionFilterAttribute_swiginit(self, _RobotRaconteurPython.new_ServiceSubscriptionFilterAttribute(*args))
def IsMatch(self, *args):
return _RobotRaconteurPython.ServiceSubscriptionFilterAttribute_IsMatch(self, *args)
__swig_destroy__ = _RobotRaconteurPython.delete_ServiceSubscriptionFilterAttribute
# Register ServiceSubscriptionFilterAttribute in _RobotRaconteurPython:
_RobotRaconteurPython.ServiceSubscriptionFilterAttribute_swigregister(ServiceSubscriptionFilterAttribute)
def CreateServiceSubscriptionFilterAttributeRegex(*args):
return _RobotRaconteurPython.CreateServiceSubscriptionFilterAttributeRegex(*args)
def CreateServiceSubscriptionFilterAttributeIdentifier(*args):
return _RobotRaconteurPython.CreateServiceSubscriptionFilterAttributeIdentifier(*args)
def CreateServiceSubscriptionFilterAttributeCombinedIdentifier(combined_identifier):
return _RobotRaconteurPython.CreateServiceSubscriptionFilterAttributeCombinedIdentifier(combined_identifier)
class vector_subscriptionattribute(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
def iterator(self):
return _RobotRaconteurPython.vector_subscriptionattribute_iterator(self)
def __iter__(self):
return self.iterator()
def __nonzero__(self):
return _RobotRaconteurPython.vector_subscriptionattribute___nonzero__(self)
def __bool__(self):
return _RobotRaconteurPython.vector_subscriptionattribute___bool__(self)
def __len__(self):
return _RobotRaconteurPython.vector_subscriptionattribute___len__(self)
def __getslice__(self, i, j):
return _RobotRaconteurPython.vector_subscriptionattribute___getslice__(self, i, j)
def __setslice__(self, *args):
return _RobotRaconteurPython.vector_subscriptionattribute___setslice__(self, *args)
def __delslice__(self, i, j):
return _RobotRaconteurPython.vector_subscriptionattribute___delslice__(self, i, j)
def __delitem__(self, *args):
return _RobotRaconteurPython.vector_subscriptionattribute___delitem__(self, *args)
def __getitem__(self, *args):
return _RobotRaconteurPython.vector_subscriptionattribute___getitem__(self, *args)
def __setitem__(self, *args):
return _RobotRaconteurPython.vector_subscriptionattribute___setitem__(self, *args)
def pop(self):
return _RobotRaconteurPython.vector_subscriptionattribute_pop(self)
def append(self, x):
return _RobotRaconteurPython.vector_subscriptionattribute_append(self, x)
def empty(self):
return _RobotRaconteurPython.vector_subscriptionattribute_empty(self)
def size(self):
return _RobotRaconteurPython.vector_subscriptionattribute_size(self)
def swap(self, v):
return _RobotRaconteurPython.vector_subscriptionattribute_swap(self, v)
def begin(self):
return _RobotRaconteurPython.vector_subscriptionattribute_begin(self)
def end(self):
return _RobotRaconteurPython.vector_subscriptionattribute_end(self)
def rbegin(self):
return _RobotRaconteurPython.vector_subscriptionattribute_rbegin(self)
def rend(self):
return _RobotRaconteurPython.vector_subscriptionattribute_rend(self)
def clear(self):
return _RobotRaconteurPython.vector_subscriptionattribute_clear(self)
def get_allocator(self):
return _RobotRaconteurPython.vector_subscriptionattribute_get_allocator(self)
def pop_back(self):
return _RobotRaconteurPython.vector_subscriptionattribute_pop_back(self)
def erase(self, *args):
return _RobotRaconteurPython.vector_subscriptionattribute_erase(self, *args)
def __init__(self, *args):
_RobotRaconteurPython.vector_subscriptionattribute_swiginit(self, _RobotRaconteurPython.new_vector_subscriptionattribute(*args))
def push_back(self, x):
return _RobotRaconteurPython.vector_subscriptionattribute_push_back(self, x)
def front(self):
return _RobotRaconteurPython.vector_subscriptionattribute_front(self)
def back(self):
return _RobotRaconteurPython.vector_subscriptionattribute_back(self)
def assign(self, n, x):
return _RobotRaconteurPython.vector_subscriptionattribute_assign(self, n, x)
def resize(self, *args):
return _RobotRaconteurPython.vector_subscriptionattribute_resize(self, *args)
def insert(self, *args):
return _RobotRaconteurPython.vector_subscriptionattribute_insert(self, *args)
def reserve(self, n):
return _RobotRaconteurPython.vector_subscriptionattribute_reserve(self, n)
def capacity(self):
return _RobotRaconteurPython.vector_subscriptionattribute_capacity(self)
__swig_destroy__ = _RobotRaconteurPython.delete_vector_subscriptionattribute
# Register vector_subscriptionattribute in _RobotRaconteurPython:
_RobotRaconteurPython.vector_subscriptionattribute_swigregister(vector_subscriptionattribute)
class map_subscriptionattribute(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
def iterator(self):
return _RobotRaconteurPython.map_subscriptionattribute_iterator(self)
def __iter__(self):
return self.iterator()
def __nonzero__(self):
return _RobotRaconteurPython.map_subscriptionattribute___nonzero__(self)
def __bool__(self):
return _RobotRaconteurPython.map_subscriptionattribute___bool__(self)
def __len__(self):
return _RobotRaconteurPython.map_subscriptionattribute___len__(self)
def __iter__(self):
return self.key_iterator()
def iterkeys(self):
return self.key_iterator()
def itervalues(self):
return self.value_iterator()
def iteritems(self):
return self.iterator()
def __getitem__(self, key):
return _RobotRaconteurPython.map_subscriptionattribute___getitem__(self, key)
def __delitem__(self, key):
return _RobotRaconteurPython.map_subscriptionattribute___delitem__(self, key)
def has_key(self, key):
return _RobotRaconteurPython.map_subscriptionattribute_has_key(self, key)
def keys(self):
return _RobotRaconteurPython.map_subscriptionattribute_keys(self)
def values(self):
return _RobotRaconteurPython.map_subscriptionattribute_values(self)
def items(self):
return _RobotRaconteurPython.map_subscriptionattribute_items(self)
def __contains__(self, key):
return _RobotRaconteurPython.map_subscriptionattribute___contains__(self, key)
def key_iterator(self):
return _RobotRaconteurPython.map_subscriptionattribute_key_iterator(self)
def value_iterator(self):
return _RobotRaconteurPython.map_subscriptionattribute_value_iterator(self)
def __setitem__(self, *args):
return _RobotRaconteurPython.map_subscriptionattribute___setitem__(self, *args)
def asdict(self):
return _RobotRaconteurPython.map_subscriptionattribute_asdict(self)
def __init__(self, *args):
_RobotRaconteurPython.map_subscriptionattribute_swiginit(self, _RobotRaconteurPython.new_map_subscriptionattribute(*args))
def empty(self):
return _RobotRaconteurPython.map_subscriptionattribute_empty(self)
def size(self):
return _RobotRaconteurPython.map_subscriptionattribute_size(self)
def swap(self, v):
return _RobotRaconteurPython.map_subscriptionattribute_swap(self, v)
def begin(self):
return _RobotRaconteurPython.map_subscriptionattribute_begin(self)
def end(self):
return _RobotRaconteurPython.map_subscriptionattribute_end(self)
def rbegin(self):
return _RobotRaconteurPython.map_subscriptionattribute_rbegin(self)
def rend(self):
return _RobotRaconteurPython.map_subscriptionattribute_rend(self)
def clear(self):
return _RobotRaconteurPython.map_subscriptionattribute_clear(self)
def get_allocator(self):
return _RobotRaconteurPython.map_subscriptionattribute_get_allocator(self)
def count(self, x):
return _RobotRaconteurPython.map_subscriptionattribute_count(self, x)
def erase(self, *args):
return _RobotRaconteurPython.map_subscriptionattribute_erase(self, *args)
def find(self, x):
return _RobotRaconteurPython.map_subscriptionattribute_find(self, x)
def lower_bound(self, x):
return _RobotRaconteurPython.map_subscriptionattribute_lower_bound(self, x)
def upper_bound(self, x):
return _RobotRaconteurPython.map_subscriptionattribute_upper_bound(self, x)
__swig_destroy__ = _RobotRaconteurPython.delete_map_subscriptionattribute
# Register map_subscriptionattribute in _RobotRaconteurPython:
_RobotRaconteurPython.map_subscriptionattribute_swigregister(map_subscriptionattribute)
ServiceSubscriptionFilterAttributeGroupOperation_OR = _RobotRaconteurPython.ServiceSubscriptionFilterAttributeGroupOperation_OR
r"""OR operation"""
ServiceSubscriptionFilterAttributeGroupOperation_AND = _RobotRaconteurPython.ServiceSubscriptionFilterAttributeGroupOperation_AND
r"""AND operation"""
ServiceSubscriptionFilterAttributeGroupOperation_NOR = _RobotRaconteurPython.ServiceSubscriptionFilterAttributeGroupOperation_NOR
r"""NOR operation. Also used for NOT"""
ServiceSubscriptionFilterAttributeGroupOperation_NAND = _RobotRaconteurPython.ServiceSubscriptionFilterAttributeGroupOperation_NAND
r"""NAND operation"""
class ServiceSubscriptionFilterAttributeGroup(object):
r"""
ServiceSubscriptionFilterAttributeGroup()
Subscription filter attribute group for use with ServiceSubscriptionFilter
Used to combine multiple ServiceSubscriptionFilterAttribute objects for comparison using
AND, OR, NOR, or NAND logic. Other groups can be nested, to allow for complex comparisons.
"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
Attributes = property(_RobotRaconteurPython.ServiceSubscriptionFilterAttributeGroup_Attributes_get, _RobotRaconteurPython.ServiceSubscriptionFilterAttributeGroup_Attributes_set, doc=r"""(list) The list of attributes in the group""")
Groups = property(_RobotRaconteurPython.ServiceSubscriptionFilterAttributeGroup_Groups_get, _RobotRaconteurPython.ServiceSubscriptionFilterAttributeGroup_Groups_set, doc=r"""(list) The nested groups in the group""")
Operation = property(_RobotRaconteurPython.ServiceSubscriptionFilterAttributeGroup_Operation_get, _RobotRaconteurPython.ServiceSubscriptionFilterAttributeGroup_Operation_set, doc=r"""(RobotRaconteur.ServiceSubscriptionFilterAttributeGroupOperation) The operation to use to combine the attributes""")
SplitStringAttribute = property(_RobotRaconteurPython.ServiceSubscriptionFilterAttributeGroup_SplitStringAttribute_get, _RobotRaconteurPython.ServiceSubscriptionFilterAttributeGroup_SplitStringAttribute_set, doc=r"""(bool) True if string attributes will be split into a list with delimiter (default ',')""")
SplitStringDelimiter = property(_RobotRaconteurPython.ServiceSubscriptionFilterAttributeGroup_SplitStringDelimiter_get, _RobotRaconteurPython.ServiceSubscriptionFilterAttributeGroup_SplitStringDelimiter_set, doc=r"""(str) The delimiter to use for splitting string attributes (default ',')""")
def __init__(self, *args):
_RobotRaconteurPython.ServiceSubscriptionFilterAttributeGroup_swiginit(self, _RobotRaconteurPython.new_ServiceSubscriptionFilterAttributeGroup(*args))
def IsMatch(self, *args):
return _RobotRaconteurPython.ServiceSubscriptionFilterAttributeGroup_IsMatch(self, *args)
__swig_destroy__ = _RobotRaconteurPython.delete_ServiceSubscriptionFilterAttributeGroup
# Register ServiceSubscriptionFilterAttributeGroup in _RobotRaconteurPython:
_RobotRaconteurPython.ServiceSubscriptionFilterAttributeGroup_swigregister(ServiceSubscriptionFilterAttributeGroup)
class map_subscriptionattributegroup(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
def iterator(self):
return _RobotRaconteurPython.map_subscriptionattributegroup_iterator(self)
def __iter__(self):
return self.iterator()
def __nonzero__(self):
return _RobotRaconteurPython.map_subscriptionattributegroup___nonzero__(self)
def __bool__(self):
return _RobotRaconteurPython.map_subscriptionattributegroup___bool__(self)
def __len__(self):
return _RobotRaconteurPython.map_subscriptionattributegroup___len__(self)
def __iter__(self):
return self.key_iterator()
def iterkeys(self):
return self.key_iterator()
def itervalues(self):
return self.value_iterator()
def iteritems(self):
return self.iterator()
def __getitem__(self, key):
return _RobotRaconteurPython.map_subscriptionattributegroup___getitem__(self, key)
def __delitem__(self, key):
return _RobotRaconteurPython.map_subscriptionattributegroup___delitem__(self, key)
def has_key(self, key):
return _RobotRaconteurPython.map_subscriptionattributegroup_has_key(self, key)
def keys(self):
return _RobotRaconteurPython.map_subscriptionattributegroup_keys(self)
def values(self):
return _RobotRaconteurPython.map_subscriptionattributegroup_values(self)
def items(self):
return _RobotRaconteurPython.map_subscriptionattributegroup_items(self)
def __contains__(self, key):
return _RobotRaconteurPython.map_subscriptionattributegroup___contains__(self, key)
def key_iterator(self):
return _RobotRaconteurPython.map_subscriptionattributegroup_key_iterator(self)
def value_iterator(self):
return _RobotRaconteurPython.map_subscriptionattributegroup_value_iterator(self)
def __setitem__(self, *args):
return _RobotRaconteurPython.map_subscriptionattributegroup___setitem__(self, *args)
def asdict(self):
return _RobotRaconteurPython.map_subscriptionattributegroup_asdict(self)
def __init__(self, *args):
_RobotRaconteurPython.map_subscriptionattributegroup_swiginit(self, _RobotRaconteurPython.new_map_subscriptionattributegroup(*args))
def empty(self):
return _RobotRaconteurPython.map_subscriptionattributegroup_empty(self)
def size(self):
return _RobotRaconteurPython.map_subscriptionattributegroup_size(self)
def swap(self, v):
return _RobotRaconteurPython.map_subscriptionattributegroup_swap(self, v)
def begin(self):
return _RobotRaconteurPython.map_subscriptionattributegroup_begin(self)
def end(self):
return _RobotRaconteurPython.map_subscriptionattributegroup_end(self)
def rbegin(self):
return _RobotRaconteurPython.map_subscriptionattributegroup_rbegin(self)
def rend(self):
return _RobotRaconteurPython.map_subscriptionattributegroup_rend(self)
def clear(self):
return _RobotRaconteurPython.map_subscriptionattributegroup_clear(self)
def get_allocator(self):
return _RobotRaconteurPython.map_subscriptionattributegroup_get_allocator(self)
def count(self, x):
return _RobotRaconteurPython.map_subscriptionattributegroup_count(self, x)
def erase(self, *args):
return _RobotRaconteurPython.map_subscriptionattributegroup_erase(self, *args)
def find(self, x):
return _RobotRaconteurPython.map_subscriptionattributegroup_find(self, x)
def lower_bound(self, x):
return _RobotRaconteurPython.map_subscriptionattributegroup_lower_bound(self, x)
def upper_bound(self, x):
return _RobotRaconteurPython.map_subscriptionattributegroup_upper_bound(self, x)
__swig_destroy__ = _RobotRaconteurPython.delete_map_subscriptionattributegroup
# Register map_subscriptionattributegroup in _RobotRaconteurPython:
_RobotRaconteurPython.map_subscriptionattributegroup_swigregister(map_subscriptionattributegroup)
class WrappedServiceSubscriptionFilterPredicateDirector(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
def Predicate(self, info):
return _RobotRaconteurPython.WrappedServiceSubscriptionFilterPredicateDirector_Predicate(self, info)
__swig_destroy__ = _RobotRaconteurPython.delete_WrappedServiceSubscriptionFilterPredicateDirector
def __init__(self):
if self.__class__ == WrappedServiceSubscriptionFilterPredicateDirector:
_self = None
else:
_self = self
_RobotRaconteurPython.WrappedServiceSubscriptionFilterPredicateDirector_swiginit(self, _RobotRaconteurPython.new_WrappedServiceSubscriptionFilterPredicateDirector(_self, ))
def __disown__(self):
self.this.disown()
_RobotRaconteurPython.disown_WrappedServiceSubscriptionFilterPredicateDirector(self)
return weakref.proxy(self)
# Register WrappedServiceSubscriptionFilterPredicateDirector in _RobotRaconteurPython:
_RobotRaconteurPython.WrappedServiceSubscriptionFilterPredicateDirector_swigregister(WrappedServiceSubscriptionFilterPredicateDirector)
class WrappedServiceSubscriptionFilterNode(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
NodeID = property(_RobotRaconteurPython.WrappedServiceSubscriptionFilterNode_NodeID_get, _RobotRaconteurPython.WrappedServiceSubscriptionFilterNode_NodeID_set)
NodeName = property(_RobotRaconteurPython.WrappedServiceSubscriptionFilterNode_NodeName_get, _RobotRaconteurPython.WrappedServiceSubscriptionFilterNode_NodeName_set)
Username = property(_RobotRaconteurPython.WrappedServiceSubscriptionFilterNode_Username_get, _RobotRaconteurPython.WrappedServiceSubscriptionFilterNode_Username_set)
Credentials = property(_RobotRaconteurPython.WrappedServiceSubscriptionFilterNode_Credentials_get, _RobotRaconteurPython.WrappedServiceSubscriptionFilterNode_Credentials_set)
def __init__(self):
_RobotRaconteurPython.WrappedServiceSubscriptionFilterNode_swiginit(self, _RobotRaconteurPython.new_WrappedServiceSubscriptionFilterNode())
__swig_destroy__ = _RobotRaconteurPython.delete_WrappedServiceSubscriptionFilterNode
# Register WrappedServiceSubscriptionFilterNode in _RobotRaconteurPython:
_RobotRaconteurPython.WrappedServiceSubscriptionFilterNode_swigregister(WrappedServiceSubscriptionFilterNode)
class WrappedServiceSubscriptionFilter(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
Nodes = property(_RobotRaconteurPython.WrappedServiceSubscriptionFilter_Nodes_get, _RobotRaconteurPython.WrappedServiceSubscriptionFilter_Nodes_set)
ServiceNames = property(_RobotRaconteurPython.WrappedServiceSubscriptionFilter_ServiceNames_get, _RobotRaconteurPython.WrappedServiceSubscriptionFilter_ServiceNames_set)
TransportSchemes = property(_RobotRaconteurPython.WrappedServiceSubscriptionFilter_TransportSchemes_get, _RobotRaconteurPython.WrappedServiceSubscriptionFilter_TransportSchemes_set)
Attributes = property(_RobotRaconteurPython.WrappedServiceSubscriptionFilter_Attributes_get, _RobotRaconteurPython.WrappedServiceSubscriptionFilter_Attributes_set)
AttributesMatchOperation = property(_RobotRaconteurPython.WrappedServiceSubscriptionFilter_AttributesMatchOperation_get, _RobotRaconteurPython.WrappedServiceSubscriptionFilter_AttributesMatchOperation_set)
def SetRRPredicateDirector(self, director, id):
return _RobotRaconteurPython.WrappedServiceSubscriptionFilter_SetRRPredicateDirector(self, director, id)
MaxConnections = property(_RobotRaconteurPython.WrappedServiceSubscriptionFilter_MaxConnections_get, _RobotRaconteurPython.WrappedServiceSubscriptionFilter_MaxConnections_set)
def __init__(self):
_RobotRaconteurPython.WrappedServiceSubscriptionFilter_swiginit(self, _RobotRaconteurPython.new_WrappedServiceSubscriptionFilter())
__swig_destroy__ = _RobotRaconteurPython.delete_WrappedServiceSubscriptionFilter
# Register WrappedServiceSubscriptionFilter in _RobotRaconteurPython:
_RobotRaconteurPython.WrappedServiceSubscriptionFilter_swigregister(WrappedServiceSubscriptionFilter)
@_swig_add_metaclass(_SwigNonDynamicMeta)
class WrappedServiceSubscriptionClientID(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__setattr__ = _swig_setattr_nondynamic_instance_variable(object.__setattr__)
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined")
__repr__ = _swig_repr
NodeID = property(_RobotRaconteurPython.WrappedServiceSubscriptionClientID_NodeID_get, _RobotRaconteurPython.WrappedServiceSubscriptionClientID_NodeID_set)
ServiceName = property(_RobotRaconteurPython.WrappedServiceSubscriptionClientID_ServiceName_get, _RobotRaconteurPython.WrappedServiceSubscriptionClientID_ServiceName_set)
def eq(self, id2):
return _RobotRaconteurPython.WrappedServiceSubscriptionClientID_eq(self, id2)
def ne(self, id2):
return _RobotRaconteurPython.WrappedServiceSubscriptionClientID_ne(self, id2)
__swig_destroy__ = _RobotRaconteurPython.delete_WrappedServiceSubscriptionClientID
# Register WrappedServiceSubscriptionClientID in _RobotRaconteurPython:
_RobotRaconteurPython.WrappedServiceSubscriptionClientID_swigregister(WrappedServiceSubscriptionClientID)
class WrappedServiceInfo2SubscriptionDirector(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
def ServiceDetected(self, subscription, id, service):
return _RobotRaconteurPython.WrappedServiceInfo2SubscriptionDirector_ServiceDetected(self, subscription, id, service)
def ServiceLost(self, subscription, id, service):
return _RobotRaconteurPython.WrappedServiceInfo2SubscriptionDirector_ServiceLost(self, subscription, id, service)
__swig_destroy__ = _RobotRaconteurPython.delete_WrappedServiceInfo2SubscriptionDirector
def __init__(self):
if self.__class__ == WrappedServiceInfo2SubscriptionDirector:
_self = None
else:
_self = self
_RobotRaconteurPython.WrappedServiceInfo2SubscriptionDirector_swiginit(self, _RobotRaconteurPython.new_WrappedServiceInfo2SubscriptionDirector(_self, ))
def __disown__(self):
self.this.disown()
_RobotRaconteurPython.disown_WrappedServiceInfo2SubscriptionDirector(self)
return weakref.proxy(self)
# Register WrappedServiceInfo2SubscriptionDirector in _RobotRaconteurPython:
_RobotRaconteurPython.WrappedServiceInfo2SubscriptionDirector_swigregister(WrappedServiceInfo2SubscriptionDirector)
class WrappedServiceInfo2Subscription(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined")
__repr__ = _swig_repr
def GetDetectedServiceInfo2(self):
return _RobotRaconteurPython.WrappedServiceInfo2Subscription_GetDetectedServiceInfo2(self)
def Close(self):
return _RobotRaconteurPython.WrappedServiceInfo2Subscription_Close(self)
def SetRRDirector(self, director, id):
return _RobotRaconteurPython.WrappedServiceInfo2Subscription_SetRRDirector(self, director, id)
def GetNode(self):
return _RobotRaconteurPython.WrappedServiceInfo2Subscription_GetNode(self)
__swig_destroy__ = _RobotRaconteurPython.delete_WrappedServiceInfo2Subscription
# Register WrappedServiceInfo2Subscription in _RobotRaconteurPython:
_RobotRaconteurPython.WrappedServiceInfo2Subscription_swigregister(WrappedServiceInfo2Subscription)
class WrappedServiceSubscriptionDirector(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
def ClientConnected(self, subscription, id, silent):
return _RobotRaconteurPython.WrappedServiceSubscriptionDirector_ClientConnected(self, subscription, id, silent)
def ClientDisconnected(self, subscription, id, silent):
return _RobotRaconteurPython.WrappedServiceSubscriptionDirector_ClientDisconnected(self, subscription, id, silent)
def ClientConnectFailed(self, subscription, id, url, error):
return _RobotRaconteurPython.WrappedServiceSubscriptionDirector_ClientConnectFailed(self, subscription, id, url, error)
__swig_destroy__ = _RobotRaconteurPython.delete_WrappedServiceSubscriptionDirector
def __init__(self):
if self.__class__ == WrappedServiceSubscriptionDirector:
_self = None
else:
_self = self
_RobotRaconteurPython.WrappedServiceSubscriptionDirector_swiginit(self, _RobotRaconteurPython.new_WrappedServiceSubscriptionDirector(_self, ))
def __disown__(self):
self.this.disown()
_RobotRaconteurPython.disown_WrappedServiceSubscriptionDirector(self)
return weakref.proxy(self)
# Register WrappedServiceSubscriptionDirector in _RobotRaconteurPython:
_RobotRaconteurPython.WrappedServiceSubscriptionDirector_swigregister(WrappedServiceSubscriptionDirector)
class WrappedServiceSubscription_TryDefaultClientRes(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
res = property(_RobotRaconteurPython.WrappedServiceSubscription_TryDefaultClientRes_res_get, _RobotRaconteurPython.WrappedServiceSubscription_TryDefaultClientRes_res_set)
client = property(_RobotRaconteurPython.WrappedServiceSubscription_TryDefaultClientRes_client_get, _RobotRaconteurPython.WrappedServiceSubscription_TryDefaultClientRes_client_set)
def __init__(self):
_RobotRaconteurPython.WrappedServiceSubscription_TryDefaultClientRes_swiginit(self, _RobotRaconteurPython.new_WrappedServiceSubscription_TryDefaultClientRes())
__swig_destroy__ = _RobotRaconteurPython.delete_WrappedServiceSubscription_TryDefaultClientRes
# Register WrappedServiceSubscription_TryDefaultClientRes in _RobotRaconteurPython:
_RobotRaconteurPython.WrappedServiceSubscription_TryDefaultClientRes_swigregister(WrappedServiceSubscription_TryDefaultClientRes)
class WrappedServiceSubscription(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined")
__repr__ = _swig_repr
def GetConnectedClients(self):
return _RobotRaconteurPython.WrappedServiceSubscription_GetConnectedClients(self)
def Close(self):
return _RobotRaconteurPython.WrappedServiceSubscription_Close(self)
def ClaimClient(self, client):
return _RobotRaconteurPython.WrappedServiceSubscription_ClaimClient(self, client)
def ReleaseClient(self, client):
return _RobotRaconteurPython.WrappedServiceSubscription_ReleaseClient(self, client)
def GetConnectRetryDelay(self):
return _RobotRaconteurPython.WrappedServiceSubscription_GetConnectRetryDelay(self)
def SetConnectRetryDelay(self, delay_milliseconds):
return _RobotRaconteurPython.WrappedServiceSubscription_SetConnectRetryDelay(self, delay_milliseconds)
def SubscribeWire(self, membername, servicepath):
return _RobotRaconteurPython.WrappedServiceSubscription_SubscribeWire(self, membername, servicepath)
def SubscribePipe(self, membername, servicepath, max_recv_packets=-1):
return _RobotRaconteurPython.WrappedServiceSubscription_SubscribePipe(self, membername, servicepath, max_recv_packets)
def GetDefaultClient(self):
return _RobotRaconteurPython.WrappedServiceSubscription_GetDefaultClient(self)
def TryGetDefaultClient(self):
return _RobotRaconteurPython.WrappedServiceSubscription_TryGetDefaultClient(self)
def GetDefaultClientWait(self, timeout=-1):
return _RobotRaconteurPython.WrappedServiceSubscription_GetDefaultClientWait(self, timeout)
def TryGetDefaultClientWait(self, timeout=-1):
return _RobotRaconteurPython.WrappedServiceSubscription_TryGetDefaultClientWait(self, timeout)
def AsyncGetDefaultClient(self, timeout, handler, id):
return _RobotRaconteurPython.WrappedServiceSubscription_AsyncGetDefaultClient(self, timeout, handler, id)
def SetRRDirector(self, director, id):
return _RobotRaconteurPython.WrappedServiceSubscription_SetRRDirector(self, director, id)
def GetNode(self):
return _RobotRaconteurPython.WrappedServiceSubscription_GetNode(self)
def GetServiceURL(self):
return _RobotRaconteurPython.WrappedServiceSubscription_GetServiceURL(self)
def UpdateServiceURL(self, *args):
return _RobotRaconteurPython.WrappedServiceSubscription_UpdateServiceURL(self, *args)
def UpdateServiceByType(self, *args):
return _RobotRaconteurPython.WrappedServiceSubscription_UpdateServiceByType(self, *args)
def SubscribeSubObject(self, *args):
return _RobotRaconteurPython.WrappedServiceSubscription_SubscribeSubObject(self, *args)
__swig_destroy__ = _RobotRaconteurPython.delete_WrappedServiceSubscription
# Register WrappedServiceSubscription in _RobotRaconteurPython:
_RobotRaconteurPython.WrappedServiceSubscription_swigregister(WrappedServiceSubscription)
class WrappedWireSubscriptionDirector(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
def WireValueChanged(self, wire_subscription, value, time):
return _RobotRaconteurPython.WrappedWireSubscriptionDirector_WireValueChanged(self, wire_subscription, value, time)
__swig_destroy__ = _RobotRaconteurPython.delete_WrappedWireSubscriptionDirector
def __init__(self):
if self.__class__ == WrappedWireSubscriptionDirector:
_self = None
else:
_self = self
_RobotRaconteurPython.WrappedWireSubscriptionDirector_swiginit(self, _RobotRaconteurPython.new_WrappedWireSubscriptionDirector(_self, ))
def __disown__(self):
self.this.disown()
_RobotRaconteurPython.disown_WrappedWireSubscriptionDirector(self)
return weakref.proxy(self)
# Register WrappedWireSubscriptionDirector in _RobotRaconteurPython:
_RobotRaconteurPython.WrappedWireSubscriptionDirector_swigregister(WrappedWireSubscriptionDirector)
class WrappedWireSubscription(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined")
__repr__ = _swig_repr
def GetInValue(self, time=None):
return _RobotRaconteurPython.WrappedWireSubscription_GetInValue(self, time)
def TryGetInValue(self, val, time=None):
return _RobotRaconteurPython.WrappedWireSubscription_TryGetInValue(self, val, time)
def WaitInValueValid(self, *args):
return _RobotRaconteurPython.WrappedWireSubscription_WaitInValueValid(self, *args)
def GetIgnoreInValue(self):
return _RobotRaconteurPython.WrappedWireSubscription_GetIgnoreInValue(self)
def SetIgnoreInValue(self, ignore):
return _RobotRaconteurPython.WrappedWireSubscription_SetIgnoreInValue(self, ignore)
def GetInValueLifespan(self):
return _RobotRaconteurPython.WrappedWireSubscription_GetInValueLifespan(self)
def SetInValueLifespan(self, millis):
return _RobotRaconteurPython.WrappedWireSubscription_SetInValueLifespan(self, millis)
def GetActiveWireConnectionCount(self):
return _RobotRaconteurPython.WrappedWireSubscription_GetActiveWireConnectionCount(self)
def Close(self):
return _RobotRaconteurPython.WrappedWireSubscription_Close(self)
def SetRRDirector(self, director, id):
return _RobotRaconteurPython.WrappedWireSubscription_SetRRDirector(self, director, id)
def GetNode(self):
return _RobotRaconteurPython.WrappedWireSubscription_GetNode(self)
__swig_destroy__ = _RobotRaconteurPython.delete_WrappedWireSubscription
# Register WrappedWireSubscription in _RobotRaconteurPython:
_RobotRaconteurPython.WrappedWireSubscription_swigregister(WrappedWireSubscription)
class WrappedWireSubscription_send_iterator(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
def __init__(self, sub):
_RobotRaconteurPython.WrappedWireSubscription_send_iterator_swiginit(self, _RobotRaconteurPython.new_WrappedWireSubscription_send_iterator(sub))
def Next(self):
return _RobotRaconteurPython.WrappedWireSubscription_send_iterator_Next(self)
def SetOutValue(self, value):
return _RobotRaconteurPython.WrappedWireSubscription_send_iterator_SetOutValue(self, value)
def GetType(self):
return _RobotRaconteurPython.WrappedWireSubscription_send_iterator_GetType(self)
def GetStub(self):
return _RobotRaconteurPython.WrappedWireSubscription_send_iterator_GetStub(self)
__swig_destroy__ = _RobotRaconteurPython.delete_WrappedWireSubscription_send_iterator
# Register WrappedWireSubscription_send_iterator in _RobotRaconteurPython:
_RobotRaconteurPython.WrappedWireSubscription_send_iterator_swigregister(WrappedWireSubscription_send_iterator)
class WrappedPipeSubscriptionDirector(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
def PipePacketReceived(self, pipe_subscription):
return _RobotRaconteurPython.WrappedPipeSubscriptionDirector_PipePacketReceived(self, pipe_subscription)
__swig_destroy__ = _RobotRaconteurPython.delete_WrappedPipeSubscriptionDirector
def __init__(self):
if self.__class__ == WrappedPipeSubscriptionDirector:
_self = None
else:
_self = self
_RobotRaconteurPython.WrappedPipeSubscriptionDirector_swiginit(self, _RobotRaconteurPython.new_WrappedPipeSubscriptionDirector(_self, ))
def __disown__(self):
self.this.disown()
_RobotRaconteurPython.disown_WrappedPipeSubscriptionDirector(self)
return weakref.proxy(self)
# Register WrappedPipeSubscriptionDirector in _RobotRaconteurPython:
_RobotRaconteurPython.WrappedPipeSubscriptionDirector_swigregister(WrappedPipeSubscriptionDirector)
class WrappedPipeSubscription(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined")
__repr__ = _swig_repr
def ReceivePacket(self):
return _RobotRaconteurPython.WrappedPipeSubscription_ReceivePacket(self)
def TryReceivePacket(self, packet):
return _RobotRaconteurPython.WrappedPipeSubscription_TryReceivePacket(self, packet)
def TryReceivePacketWait(self, *args):
return _RobotRaconteurPython.WrappedPipeSubscription_TryReceivePacketWait(self, *args)
def Available(self):
return _RobotRaconteurPython.WrappedPipeSubscription_Available(self)
def GetActivePipeEndpointCount(self):
return _RobotRaconteurPython.WrappedPipeSubscription_GetActivePipeEndpointCount(self)
def GetIgnoreReceived(self):
return _RobotRaconteurPython.WrappedPipeSubscription_GetIgnoreReceived(self)
def SetIgnoreReceived(self, ignore):
return _RobotRaconteurPython.WrappedPipeSubscription_SetIgnoreReceived(self, ignore)
def Close(self):
return _RobotRaconteurPython.WrappedPipeSubscription_Close(self)
def SetRRDirector(self, director, id):
return _RobotRaconteurPython.WrappedPipeSubscription_SetRRDirector(self, director, id)
def GetNode(self):
return _RobotRaconteurPython.WrappedPipeSubscription_GetNode(self)
__swig_destroy__ = _RobotRaconteurPython.delete_WrappedPipeSubscription
# Register WrappedPipeSubscription in _RobotRaconteurPython:
_RobotRaconteurPython.WrappedPipeSubscription_swigregister(WrappedPipeSubscription)
class WrappedPipeSubscription_send_iterator(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
def __init__(self, sub):
_RobotRaconteurPython.WrappedPipeSubscription_send_iterator_swiginit(self, _RobotRaconteurPython.new_WrappedPipeSubscription_send_iterator(sub))
def Next(self):
return _RobotRaconteurPython.WrappedPipeSubscription_send_iterator_Next(self)
def AsyncSendPacket(self, value):
return _RobotRaconteurPython.WrappedPipeSubscription_send_iterator_AsyncSendPacket(self, value)
def GetType(self):
return _RobotRaconteurPython.WrappedPipeSubscription_send_iterator_GetType(self)
def GetStub(self):
return _RobotRaconteurPython.WrappedPipeSubscription_send_iterator_GetStub(self)
__swig_destroy__ = _RobotRaconteurPython.delete_WrappedPipeSubscription_send_iterator
# Register WrappedPipeSubscription_send_iterator in _RobotRaconteurPython:
_RobotRaconteurPython.WrappedPipeSubscription_send_iterator_swigregister(WrappedPipeSubscription_send_iterator)
class WrappedSubObjectSubscription(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined")
__repr__ = _swig_repr
def GetDefaultClient(self):
return _RobotRaconteurPython.WrappedSubObjectSubscription_GetDefaultClient(self)
def TryGetDefaultClient(self):
return _RobotRaconteurPython.WrappedSubObjectSubscription_TryGetDefaultClient(self)
def GetDefaultClientWait(self, timeout=-1):
return _RobotRaconteurPython.WrappedSubObjectSubscription_GetDefaultClientWait(self, timeout)
def TryGetDefaultClientWait(self, timeout=-1):
return _RobotRaconteurPython.WrappedSubObjectSubscription_TryGetDefaultClientWait(self, timeout)
def AsyncGetDefaultClient(self, timeout, handler, id):
return _RobotRaconteurPython.WrappedSubObjectSubscription_AsyncGetDefaultClient(self, timeout, handler, id)
def Close(self):
return _RobotRaconteurPython.WrappedSubObjectSubscription_Close(self)
def GetNode(self):
return _RobotRaconteurPython.WrappedSubObjectSubscription_GetNode(self)
__swig_destroy__ = _RobotRaconteurPython.delete_WrappedSubObjectSubscription
# Register WrappedSubObjectSubscription in _RobotRaconteurPython:
_RobotRaconteurPython.WrappedSubObjectSubscription_swigregister(WrappedSubObjectSubscription)
def WrappedServiceInfo2SubscriptionServicesToVector(infos):
return _RobotRaconteurPython.WrappedServiceInfo2SubscriptionServicesToVector(infos)
def WrappedSubscribeServiceInfo2(*args):
return _RobotRaconteurPython.WrappedSubscribeServiceInfo2(*args)
def WrappedServiceSubscriptionClientsToVector(clients):
return _RobotRaconteurPython.WrappedServiceSubscriptionClientsToVector(clients)
def WrappedSubscribeServiceByType(*args):
return _RobotRaconteurPython.WrappedSubscribeServiceByType(*args)
def WrappedSubscribeService(*args):
return _RobotRaconteurPython.WrappedSubscribeService(*args)
ServiceSubscriptionManager_CONNECTION_METHOD_DEFAULT = _RobotRaconteurPython.ServiceSubscriptionManager_CONNECTION_METHOD_DEFAULT
ServiceSubscriptionManager_CONNECTION_METHOD_URL = _RobotRaconteurPython.ServiceSubscriptionManager_CONNECTION_METHOD_URL
ServiceSubscriptionManager_CONNECTION_METHOD_TYPE = _RobotRaconteurPython.ServiceSubscriptionManager_CONNECTION_METHOD_TYPE
class WrappedServiceSubscriptionManagerDetails(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
Name = property(_RobotRaconteurPython.WrappedServiceSubscriptionManagerDetails_Name_get, _RobotRaconteurPython.WrappedServiceSubscriptionManagerDetails_Name_set)
ConnectionMethod = property(_RobotRaconteurPython.WrappedServiceSubscriptionManagerDetails_ConnectionMethod_get, _RobotRaconteurPython.WrappedServiceSubscriptionManagerDetails_ConnectionMethod_set)
Urls = property(_RobotRaconteurPython.WrappedServiceSubscriptionManagerDetails_Urls_get, _RobotRaconteurPython.WrappedServiceSubscriptionManagerDetails_Urls_set)
UrlUsername = property(_RobotRaconteurPython.WrappedServiceSubscriptionManagerDetails_UrlUsername_get, _RobotRaconteurPython.WrappedServiceSubscriptionManagerDetails_UrlUsername_set)
UrlCredentials = property(_RobotRaconteurPython.WrappedServiceSubscriptionManagerDetails_UrlCredentials_get, _RobotRaconteurPython.WrappedServiceSubscriptionManagerDetails_UrlCredentials_set)
ServiceTypes = property(_RobotRaconteurPython.WrappedServiceSubscriptionManagerDetails_ServiceTypes_get, _RobotRaconteurPython.WrappedServiceSubscriptionManagerDetails_ServiceTypes_set)
Filter = property(_RobotRaconteurPython.WrappedServiceSubscriptionManagerDetails_Filter_get, _RobotRaconteurPython.WrappedServiceSubscriptionManagerDetails_Filter_set)
Enabled = property(_RobotRaconteurPython.WrappedServiceSubscriptionManagerDetails_Enabled_get, _RobotRaconteurPython.WrappedServiceSubscriptionManagerDetails_Enabled_set)
def __init__(self, *args):
_RobotRaconteurPython.WrappedServiceSubscriptionManagerDetails_swiginit(self, _RobotRaconteurPython.new_WrappedServiceSubscriptionManagerDetails(*args))
__swig_destroy__ = _RobotRaconteurPython.delete_WrappedServiceSubscriptionManagerDetails
# Register WrappedServiceSubscriptionManagerDetails in _RobotRaconteurPython:
_RobotRaconteurPython.WrappedServiceSubscriptionManagerDetails_swigregister(WrappedServiceSubscriptionManagerDetails)
class WrappedServiceSubscriptionManager(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
def __init__(self, *args):
_RobotRaconteurPython.WrappedServiceSubscriptionManager_swiginit(self, _RobotRaconteurPython.new_WrappedServiceSubscriptionManager(*args))
def AddSubscription(self, details):
return _RobotRaconteurPython.WrappedServiceSubscriptionManager_AddSubscription(self, details)
def RemoveSubscription(self, name, close=True):
return _RobotRaconteurPython.WrappedServiceSubscriptionManager_RemoveSubscription(self, name, close)
def EnableSubscription(self, name):
return _RobotRaconteurPython.WrappedServiceSubscriptionManager_EnableSubscription(self, name)
def DisableSubscription(self, name, close=True):
return _RobotRaconteurPython.WrappedServiceSubscriptionManager_DisableSubscription(self, name, close)
def GetSubscription(self, name, force_create=True):
return _RobotRaconteurPython.WrappedServiceSubscriptionManager_GetSubscription(self, name, force_create)
def IsConnected(self, name):
return _RobotRaconteurPython.WrappedServiceSubscriptionManager_IsConnected(self, name)
def IsEnabled(self, name):
return _RobotRaconteurPython.WrappedServiceSubscriptionManager_IsEnabled(self, name)
def Close(self, close_subscriptions=True):
return _RobotRaconteurPython.WrappedServiceSubscriptionManager_Close(self, close_subscriptions)
def GetSubscriptionNames(self):
return _RobotRaconteurPython.WrappedServiceSubscriptionManager_GetSubscriptionNames(self)
def GetSubscriptionDetails(self):
return _RobotRaconteurPython.WrappedServiceSubscriptionManager_GetSubscriptionDetails(self)
def GetNode(self):
return _RobotRaconteurPython.WrappedServiceSubscriptionManager_GetNode(self)
__swig_destroy__ = _RobotRaconteurPython.delete_WrappedServiceSubscriptionManager
# Register WrappedServiceSubscriptionManager in _RobotRaconteurPython:
_RobotRaconteurPython.WrappedServiceSubscriptionManager_swigregister(WrappedServiceSubscriptionManager)
@_swig_add_metaclass(_SwigNonDynamicMeta)
class RRLogRecord(object):
r"""
Robot Raconteur log record
Records information about a logging event
See \ref logging for more information.
"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__setattr__ = _swig_setattr_nondynamic_instance_variable(object.__setattr__)
__repr__ = _swig_repr
def _GetNode(self):
return _RobotRaconteurPython.RRLogRecord__GetNode(self)
def _SetNode(self, node):
return _RobotRaconteurPython.RRLogRecord__SetNode(self, node)
Level = property(_RobotRaconteurPython.RRLogRecord_Level_get, _RobotRaconteurPython.RRLogRecord_Level_set, doc=r"""(int) The log level """)
Component = property(_RobotRaconteurPython.RRLogRecord_Component_get, _RobotRaconteurPython.RRLogRecord_Component_set, doc=r"""(int) The source component""")
ComponentName = property(_RobotRaconteurPython.RRLogRecord_ComponentName_get, _RobotRaconteurPython.RRLogRecord_ComponentName_set, doc=r"""(str) The source component name""")
ComponentObjectID = property(_RobotRaconteurPython.RRLogRecord_ComponentObjectID_get, _RobotRaconteurPython.RRLogRecord_ComponentObjectID_set, doc=r"""(str) The source component object ID""")
Endpoint = property(_RobotRaconteurPython.RRLogRecord_Endpoint_get, _RobotRaconteurPython.RRLogRecord_Endpoint_set, doc=r"""(int) The source endpoint""")
ServicePath = property(_RobotRaconteurPython.RRLogRecord_ServicePath_get, _RobotRaconteurPython.RRLogRecord_ServicePath_set, doc=r"""(str) The service path of the source object""")
Member = property(_RobotRaconteurPython.RRLogRecord_Member_get, _RobotRaconteurPython.RRLogRecord_Member_set, doc=r"""(str) The source member""")
Message = property(_RobotRaconteurPython.RRLogRecord_Message_get, _RobotRaconteurPython.RRLogRecord_Message_set, doc=r"""(str) Human readable log message""")
Time = property(_RobotRaconteurPython.RRLogRecord_Time_get, _RobotRaconteurPython.RRLogRecord_Time_set, doc=r"""(datetime.datetime) Time of logging event""")
SourceFile = property(_RobotRaconteurPython.RRLogRecord_SourceFile_get, _RobotRaconteurPython.RRLogRecord_SourceFile_set, doc=r"""(str) The sourcecode filename""")
SourceLine = property(_RobotRaconteurPython.RRLogRecord_SourceLine_get, _RobotRaconteurPython.RRLogRecord_SourceLine_set, doc=r"""(int) The line within the sourcecode file""")
ThreadID = property(_RobotRaconteurPython.RRLogRecord_ThreadID_get, _RobotRaconteurPython.RRLogRecord_ThreadID_set, doc=r"""(str) The source thread""")
FiberID = property(_RobotRaconteurPython.RRLogRecord_FiberID_get, _RobotRaconteurPython.RRLogRecord_FiberID_set, doc=r"""(str) The source coroutine fiber""")
def __str__(self):
return _RobotRaconteurPython.RRLogRecord___str__(self)
Node = property(lambda self: self._GetNode(), lambda self,node: self._SetNode(node), doc = """(RobotRaconteur.RobotRaconteurNode) The source node""")
def __init__(self):
_RobotRaconteurPython.RRLogRecord_swiginit(self, _RobotRaconteurPython.new_RRLogRecord())
__swig_destroy__ = _RobotRaconteurPython.delete_RRLogRecord
# Register RRLogRecord in _RobotRaconteurPython:
_RobotRaconteurPython.RRLogRecord_swigregister(RRLogRecord)
@_swig_add_metaclass(_SwigNonDynamicMeta)
class LogRecordHandler(object):
r"""
LogRecordHandler()
Base class of log record handler
By default, RobotRaconteurNode will print log records to ``stderr``. Use
RobotRaconteur.RobotRaconteurNode.SetLogRecordHandler() to specify a LogRecordHandler
to accept log records instead of printing them to the terminal.
See \ref logging for more information.
"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__setattr__ = _swig_setattr_nondynamic_instance_variable(object.__setattr__)
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined")
__repr__ = _swig_repr
__swig_destroy__ = _RobotRaconteurPython.delete_LogRecordHandler
# Register LogRecordHandler in _RobotRaconteurPython:
_RobotRaconteurPython.LogRecordHandler_swigregister(LogRecordHandler)
class FileLogRecordHandler(object):
r"""
Log record handler that saves to a file
See \ref logging for more information.
"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
def OpenFile(self, filename, append=True):
r"""
Open a file to store log records
:param filename: The filename
:type filename: str
:param append: If True, log messages are appended. If False, the file is truncated when opened
:type append: bool
"""
return _RobotRaconteurPython.FileLogRecordHandler_OpenFile(self, filename, append)
def __init__(self):
_RobotRaconteurPython.FileLogRecordHandler_swiginit(self, _RobotRaconteurPython.new_FileLogRecordHandler())
__swig_destroy__ = _RobotRaconteurPython.delete_FileLogRecordHandler
# Register FileLogRecordHandler in _RobotRaconteurPython:
_RobotRaconteurPython.FileLogRecordHandler_swigregister(FileLogRecordHandler)
class UserLogRecordHandlerDirector(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
def HandleLogRecord(self, record):
return _RobotRaconteurPython.UserLogRecordHandlerDirector_HandleLogRecord(self, record)
__swig_destroy__ = _RobotRaconteurPython.delete_UserLogRecordHandlerDirector
def __init__(self):
if self.__class__ == UserLogRecordHandlerDirector:
_self = None
else:
_self = self
_RobotRaconteurPython.UserLogRecordHandlerDirector_swiginit(self, _RobotRaconteurPython.new_UserLogRecordHandlerDirector(_self, ))
def __disown__(self):
self.this.disown()
_RobotRaconteurPython.disown_UserLogRecordHandlerDirector(self)
return weakref.proxy(self)
# Register UserLogRecordHandlerDirector in _RobotRaconteurPython:
_RobotRaconteurPython.UserLogRecordHandlerDirector_swigregister(UserLogRecordHandlerDirector)
class UserLogRecordHandlerBase(LogRecordHandler):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
def _SetHandler(self, director, id):
return _RobotRaconteurPython.UserLogRecordHandlerBase__SetHandler(self, director, id)
def __init__(self):
_RobotRaconteurPython.UserLogRecordHandlerBase_swiginit(self, _RobotRaconteurPython.new_UserLogRecordHandlerBase())
__swig_destroy__ = _RobotRaconteurPython.delete_UserLogRecordHandlerBase
# Register UserLogRecordHandlerBase in _RobotRaconteurPython:
_RobotRaconteurPython.UserLogRecordHandlerBase_swigregister(UserLogRecordHandlerBase)
class NodeDirectories(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
system_data_dir = property(_RobotRaconteurPython.NodeDirectories_system_data_dir_get, _RobotRaconteurPython.NodeDirectories_system_data_dir_set)
system_config_dir = property(_RobotRaconteurPython.NodeDirectories_system_config_dir_get, _RobotRaconteurPython.NodeDirectories_system_config_dir_set)
system_state_dir = property(_RobotRaconteurPython.NodeDirectories_system_state_dir_get, _RobotRaconteurPython.NodeDirectories_system_state_dir_set)
system_cache_dir = property(_RobotRaconteurPython.NodeDirectories_system_cache_dir_get, _RobotRaconteurPython.NodeDirectories_system_cache_dir_set)
system_run_dir = property(_RobotRaconteurPython.NodeDirectories_system_run_dir_get, _RobotRaconteurPython.NodeDirectories_system_run_dir_set)
user_data_dir = property(_RobotRaconteurPython.NodeDirectories_user_data_dir_get, _RobotRaconteurPython.NodeDirectories_user_data_dir_set)
user_config_dir = property(_RobotRaconteurPython.NodeDirectories_user_config_dir_get, _RobotRaconteurPython.NodeDirectories_user_config_dir_set)
user_state_dir = property(_RobotRaconteurPython.NodeDirectories_user_state_dir_get, _RobotRaconteurPython.NodeDirectories_user_state_dir_set)
user_cache_dir = property(_RobotRaconteurPython.NodeDirectories_user_cache_dir_get, _RobotRaconteurPython.NodeDirectories_user_cache_dir_set)
user_run_dir = property(_RobotRaconteurPython.NodeDirectories_user_run_dir_get, _RobotRaconteurPython.NodeDirectories_user_run_dir_set)
def __init__(self):
_RobotRaconteurPython.NodeDirectories_swiginit(self, _RobotRaconteurPython.new_NodeDirectories())
__swig_destroy__ = _RobotRaconteurPython.delete_NodeDirectories
# Register NodeDirectories in _RobotRaconteurPython:
_RobotRaconteurPython.NodeDirectories_swigregister(NodeDirectories)
class NodeDirectoriesFD(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined")
__repr__ = _swig_repr
__swig_destroy__ = _RobotRaconteurPython.delete_NodeDirectoriesFD
# Register NodeDirectoriesFD in _RobotRaconteurPython:
_RobotRaconteurPython.NodeDirectoriesFD_swigregister(NodeDirectoriesFD)
class NodeDirectoriesUtil(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
@staticmethod
def GetDefaultNodeDirectories(*args):
return _RobotRaconteurPython.NodeDirectoriesUtil_GetDefaultNodeDirectories(*args)
@staticmethod
def GetLogonUserName():
return _RobotRaconteurPython.NodeDirectoriesUtil_GetLogonUserName()
@staticmethod
def IsLogonUserRoot():
return _RobotRaconteurPython.NodeDirectoriesUtil_IsLogonUserRoot()
@staticmethod
def ReadInfoFile(fname, data):
return _RobotRaconteurPython.NodeDirectoriesUtil_ReadInfoFile(fname, data)
@staticmethod
def CreatePidFile(path):
return _RobotRaconteurPython.NodeDirectoriesUtil_CreatePidFile(path)
@staticmethod
def CreateInfoFile(path, info):
return _RobotRaconteurPython.NodeDirectoriesUtil_CreateInfoFile(path, info)
@staticmethod
def RefreshInfoFile(h_info, updated_info):
return _RobotRaconteurPython.NodeDirectoriesUtil_RefreshInfoFile(h_info, updated_info)
def __init__(self):
_RobotRaconteurPython.NodeDirectoriesUtil_swiginit(self, _RobotRaconteurPython.new_NodeDirectoriesUtil())
__swig_destroy__ = _RobotRaconteurPython.delete_NodeDirectoriesUtil
# Register NodeDirectoriesUtil in _RobotRaconteurPython:
_RobotRaconteurPython.NodeDirectoriesUtil_swigregister(NodeDirectoriesUtil)
def NodeDirectoriesUtil_GetDefaultNodeDirectories(*args):
return _RobotRaconteurPython.NodeDirectoriesUtil_GetDefaultNodeDirectories(*args)
def NodeDirectoriesUtil_GetLogonUserName():
return _RobotRaconteurPython.NodeDirectoriesUtil_GetLogonUserName()
def NodeDirectoriesUtil_IsLogonUserRoot():
return _RobotRaconteurPython.NodeDirectoriesUtil_IsLogonUserRoot()
def NodeDirectoriesUtil_ReadInfoFile(fname, data):
return _RobotRaconteurPython.NodeDirectoriesUtil_ReadInfoFile(fname, data)
def NodeDirectoriesUtil_CreatePidFile(path):
return _RobotRaconteurPython.NodeDirectoriesUtil_CreatePidFile(path)
def NodeDirectoriesUtil_CreateInfoFile(path, info):
return _RobotRaconteurPython.NodeDirectoriesUtil_CreateInfoFile(path, info)
def NodeDirectoriesUtil_RefreshInfoFile(h_info, updated_info):
return _RobotRaconteurPython.NodeDirectoriesUtil_RefreshInfoFile(h_info, updated_info)
class GetUuidForNameAndLockResult(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
uuid = property(_RobotRaconteurPython.GetUuidForNameAndLockResult_uuid_get, _RobotRaconteurPython.GetUuidForNameAndLockResult_uuid_set)
name = property(_RobotRaconteurPython.GetUuidForNameAndLockResult_name_get, _RobotRaconteurPython.GetUuidForNameAndLockResult_name_set)
scope = property(_RobotRaconteurPython.GetUuidForNameAndLockResult_scope_get, _RobotRaconteurPython.GetUuidForNameAndLockResult_scope_set)
fd = property(_RobotRaconteurPython.GetUuidForNameAndLockResult_fd_get, _RobotRaconteurPython.GetUuidForNameAndLockResult_fd_set)
def __init__(self):
_RobotRaconteurPython.GetUuidForNameAndLockResult_swiginit(self, _RobotRaconteurPython.new_GetUuidForNameAndLockResult())
__swig_destroy__ = _RobotRaconteurPython.delete_GetUuidForNameAndLockResult
# Register GetUuidForNameAndLockResult in _RobotRaconteurPython:
_RobotRaconteurPython.GetUuidForNameAndLockResult_swigregister(GetUuidForNameAndLockResult)
def GetUuidForNameAndLock(node_dirs, name, scope):
return _RobotRaconteurPython.GetUuidForNameAndLock(node_dirs, name, scope)
class NodeDirectoriesResourceAlreadyInUse(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
def __init__(self):
_RobotRaconteurPython.NodeDirectoriesResourceAlreadyInUse_swiginit(self, _RobotRaconteurPython.new_NodeDirectoriesResourceAlreadyInUse())
__swig_destroy__ = _RobotRaconteurPython.delete_NodeDirectoriesResourceAlreadyInUse
# Register NodeDirectoriesResourceAlreadyInUse in _RobotRaconteurPython:
_RobotRaconteurPython.NodeDirectoriesResourceAlreadyInUse_swigregister(NodeDirectoriesResourceAlreadyInUse)
class ClientServiceListenerDirector(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
objectheapid = property(_RobotRaconteurPython.ClientServiceListenerDirector_objectheapid_get, _RobotRaconteurPython.ClientServiceListenerDirector_objectheapid_set)
def __init__(self):
if self.__class__ == ClientServiceListenerDirector:
_self = None
else:
_self = self
_RobotRaconteurPython.ClientServiceListenerDirector_swiginit(self, _RobotRaconteurPython.new_ClientServiceListenerDirector(_self, ))
def Callback(self, code):
return _RobotRaconteurPython.ClientServiceListenerDirector_Callback(self, code)
def Callback2(self, code, p):
return _RobotRaconteurPython.ClientServiceListenerDirector_Callback2(self, code, p)
__swig_destroy__ = _RobotRaconteurPython.delete_ClientServiceListenerDirector
def __disown__(self):
self.this.disown()
_RobotRaconteurPython.disown_ClientServiceListenerDirector(self)
return weakref.proxy(self)
# Register ClientServiceListenerDirector in _RobotRaconteurPython:
_RobotRaconteurPython.ClientServiceListenerDirector_swigregister(ClientServiceListenerDirector)
RobotRaconteurObjectLockFlags_USER_LOCK = _RobotRaconteurPython.RobotRaconteurObjectLockFlags_USER_LOCK
RobotRaconteurObjectLockFlags_CLIENT_LOCK = _RobotRaconteurPython.RobotRaconteurObjectLockFlags_CLIENT_LOCK
@_swig_add_metaclass(_SwigNonDynamicMeta)
class RobotRaconteurNode(object):
r"""
The central node implementation
RobotRaconteurNode implements the current Robot Raconteur instance
and acts as the central switchpoint for the instance. The user
registers types, connects clients, registers services, and
registers transports through this class.
If the current program only needs one instance of RobotRaconteurNode,
the singleton can be used. The singleton is accessed using:
RobotRaconteurNode.s
The singleton node is typically aliased to ``RRN`` for shorthand.
If
.. code-block:: python
from RobotRaconteur.Client import *
is used, then ``RRN`` is automatically imported. If not used, the following
is typically used:
.. code-block:: python
import RobotRaconteur as RR
RRN = RobotRaconteur.s
"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__setattr__ = _swig_setattr_nondynamic_instance_variable(object.__setattr__)
__repr__ = _swig_repr
def RegisterTransport(self, transport):
r"""
Register a transport for use by the node
:param transport: The transport to register
:type transport: RobotRaconteur.Transport
:return: The transport internal id
:rtype: int
"""
return _RobotRaconteurPython.RobotRaconteurNode_RegisterTransport(self, transport)
def _GetRequestTimeout(self):
return _RobotRaconteurPython.RobotRaconteurNode__GetRequestTimeout(self)
def _SetRequestTimeout(self, timeout):
return _RobotRaconteurPython.RobotRaconteurNode__SetRequestTimeout(self, timeout)
def _GetTransportInactivityTimeout(self):
return _RobotRaconteurPython.RobotRaconteurNode__GetTransportInactivityTimeout(self)
def _SetTransportInactivityTimeout(self, timeout):
return _RobotRaconteurPython.RobotRaconteurNode__SetTransportInactivityTimeout(self, timeout)
def _GetEndpointInactivityTimeout(self):
return _RobotRaconteurPython.RobotRaconteurNode__GetEndpointInactivityTimeout(self)
def _SetEndpointInactivityTimeout(self, timeout):
return _RobotRaconteurPython.RobotRaconteurNode__SetEndpointInactivityTimeout(self, timeout)
def _GetMemoryMaxTransferSize(self):
return _RobotRaconteurPython.RobotRaconteurNode__GetMemoryMaxTransferSize(self)
def _SetMemoryMaxTransferSize(self, size):
return _RobotRaconteurPython.RobotRaconteurNode__SetMemoryMaxTransferSize(self, size)
def _GetNodeDiscoveryMaxCacheCount(self):
return _RobotRaconteurPython.RobotRaconteurNode__GetNodeDiscoveryMaxCacheCount(self)
def _SetNodeDiscoveryMaxCacheCount(self, count):
return _RobotRaconteurPython.RobotRaconteurNode__SetNodeDiscoveryMaxCacheCount(self, count)
def UnregisterServiceType(self, type):
r"""
Unregister a previously registered service type
This function is not recommended as the results can be unpredictable
:param type: The service type to unregister
:type type: str
"""
return _RobotRaconteurPython.RobotRaconteurNode_UnregisterServiceType(self, type)
def _ConnectService(self, *args):
return _RobotRaconteurPython.RobotRaconteurNode__ConnectService(self, *args)
def _AsyncConnectService(self, *args):
return _RobotRaconteurPython.RobotRaconteurNode__AsyncConnectService(self, *args)
def _DisconnectService(self, obj):
return _RobotRaconteurPython.RobotRaconteurNode__DisconnectService(self, obj)
def _AsyncDisconnectService(self, obj, handler, id):
return _RobotRaconteurPython.RobotRaconteurNode__AsyncDisconnectService(self, obj, handler, id)
@staticmethod
def SelectRemoteNodeURL(urls):
r"""
Select the "best" URL from a std::vector of candidates
Service discovery will often return a list of candidate URLs to
use to connect to a node. This function uses heuristics to select
the "best" URL to use. The selection criteria ranks URLs in roughly
the following order, lower number being better:
1. "rr+intra" for IntraTransport
2. "rr+local" for LocalTransport
3. "rr+pci" or "rr+usb" for HardwareTransport
4. "rrs+tcp://127.0.0.1" for secure TcpTransport loopback
5. "rrs+tcp://[::1]" for secure TcpTransport IPv6 loopback
6. "rrs+tcp://localhost" for secure TcpTransport loopback
7. "rrs+tcp://[fe80" for secure TcpTransport link-local IPv6
8. "rrs+tcp://" for any secure TcpTransport
9. "rr+tcp://127.0.0.1" for TcpTransport loopback
10. "rr+tcp://[::1]" for TcpTransport IPv6 loopback
11. "rr+tcp://localhost" for TcpTransport loopback
12. "rr+tcp://[fe80" for TcpTransport link-local IPv6
13. "rr+tcp://" for any TcpTransport
:param urls: The candidate URLs
:type urls: List[str]
:return: The "best" URL out of the candidates
:rtype: str
"""
return _RobotRaconteurPython.RobotRaconteurNode_SelectRemoteNodeURL(urls)
def _RegisterServiceType(self, *args):
return _RobotRaconteurPython.RobotRaconteurNode__RegisterServiceType(self, *args)
def _RegisterServiceTypes(self, *args):
return _RobotRaconteurPython.RobotRaconteurNode__RegisterServiceTypes(self, *args)
def _GetServiceType(self, servicename):
return _RobotRaconteurPython.RobotRaconteurNode__GetServiceType(self, servicename)
def _GetPulledServiceType(self, obj, servicename):
return _RobotRaconteurPython.RobotRaconteurNode__GetPulledServiceType(self, obj, servicename)
def IsServiceTypeRegistered(self, servicename):
r"""
Test if a service type has been registered
:param type: The name of the service type to check
:type type: str
:rtype: bool
"""
return _RobotRaconteurPython.RobotRaconteurNode_IsServiceTypeRegistered(self, servicename)
def _GetRegisteredServiceTypes(self):
return _RobotRaconteurPython.RobotRaconteurNode__GetRegisteredServiceTypes(self)
def _GetPulledServiceTypes(self, obj):
return _RobotRaconteurPython.RobotRaconteurNode__GetPulledServiceTypes(self, obj)
@staticmethod
def _get_s():
return _RobotRaconteurPython.RobotRaconteurNode__get_s()
def _Shutdown(self):
return _RobotRaconteurPython.RobotRaconteurNode__Shutdown(self)
def _RequestObjectLock(self, obj, flags):
return _RobotRaconteurPython.RobotRaconteurNode__RequestObjectLock(self, obj, flags)
def _ReleaseObjectLock(self, obj):
return _RobotRaconteurPython.RobotRaconteurNode__ReleaseObjectLock(self, obj)
def _MonitorEnter(self, obj, timeout=-1):
return _RobotRaconteurPython.RobotRaconteurNode__MonitorEnter(self, obj, timeout)
def _MonitorExit(self, obj):
return _RobotRaconteurPython.RobotRaconteurNode__MonitorExit(self, obj)
def _NowUTC(self):
return _RobotRaconteurPython.RobotRaconteurNode__NowUTC(self)
def _NowTimeSpec(self):
return _RobotRaconteurPython.RobotRaconteurNode__NowTimeSpec(self)
def _NowNodeTime(self):
return _RobotRaconteurPython.RobotRaconteurNode__NowNodeTime(self)
def _NodeSyncTimeUTC(self):
return _RobotRaconteurPython.RobotRaconteurNode__NodeSyncTimeUTC(self)
def _NodeSyncTimeSpec(self):
return _RobotRaconteurPython.RobotRaconteurNode__NodeSyncTimeSpec(self)
def _AsyncRequestObjectLock(self, obj, flags, timeout, handler, id):
return _RobotRaconteurPython.RobotRaconteurNode__AsyncRequestObjectLock(self, obj, flags, timeout, handler, id)
def _AsyncReleaseObjectLock(self, obj, timeout, handler, id):
return _RobotRaconteurPython.RobotRaconteurNode__AsyncReleaseObjectLock(self, obj, timeout, handler, id)
def _GetServiceAttributes(self, obj):
return _RobotRaconteurPython.RobotRaconteurNode__GetServiceAttributes(self, obj)
def _GetServiceNodeID(self, obj):
return _RobotRaconteurPython.RobotRaconteurNode__GetServiceNodeID(self, obj)
def _GetServiceNodeName(self, obj):
return _RobotRaconteurPython.RobotRaconteurNode__GetServiceNodeName(self, obj)
def _GetServiceName(self, obj):
return _RobotRaconteurPython.RobotRaconteurNode__GetServiceName(self, obj)
def _GetObjectServicePath(self, obj):
return _RobotRaconteurPython.RobotRaconteurNode__GetObjectServicePath(self, obj)
def _GetObjectType(self, obj):
return _RobotRaconteurPython.RobotRaconteurNode__GetObjectType(self, obj)
def _RegisterService(self, *args):
return _RobotRaconteurPython.RobotRaconteurNode__RegisterService(self, *args)
def CloseService(self, sname):
r"""
Closes a previously registered service
Services are automatically closed by Shutdown, so this function
is rarely used.
:param sname: The name of the service to close
:type sname: str
"""
return _RobotRaconteurPython.RobotRaconteurNode_CloseService(self, sname)
def _NodeID(self):
return _RobotRaconteurPython.RobotRaconteurNode__NodeID(self)
def _SetNodeID(self, id):
return _RobotRaconteurPython.RobotRaconteurNode__SetNodeID(self, id)
def _NodeName(self):
return _RobotRaconteurPython.RobotRaconteurNode__NodeName(self)
def _SetNodeName(self, name):
return _RobotRaconteurPython.RobotRaconteurNode__SetNodeName(self, name)
def _GetThreadPoolCount(self):
return _RobotRaconteurPython.RobotRaconteurNode__GetThreadPoolCount(self)
def _SetThreadPoolCount(self, count):
return _RobotRaconteurPython.RobotRaconteurNode__SetThreadPoolCount(self, count)
def _FindObjectType(self, *args):
return _RobotRaconteurPython.RobotRaconteurNode__FindObjectType(self, *args)
def _AsyncFindObjectType(self, *args):
return _RobotRaconteurPython.RobotRaconteurNode__AsyncFindObjectType(self, *args)
def _SetExceptionHandler(self, handler, id):
return _RobotRaconteurPython.RobotRaconteurNode__SetExceptionHandler(self, handler, id)
def _ClearExceptionHandler(self):
return _RobotRaconteurPython.RobotRaconteurNode__ClearExceptionHandler(self)
def Sleep(self, duration):
r"""
Sleeps for a specified duration
Normally will sleep based on the system clock, but in certain
circumstances will use simulation time
:param duration: Duration to sleep in seconds
:type duration: float
"""
return _RobotRaconteurPython.RobotRaconteurNode_Sleep(self, duration)
def _CreateTimer(self, period, oneshot, handler, id):
return _RobotRaconteurPython.RobotRaconteurNode__CreateTimer(self, period, oneshot, handler, id)
def CreateRate(self, frequency):
r"""
Create a Rate object
Rate is used to stabilize periodic loops to a specified frequency
This function will normally return a WallRate instance
:param frequency: Frequency of loop in Hz
:type frequency: float
:return: The new Rate object
:rtype: RobotRaconteur.Rate
"""
return _RobotRaconteurPython.RobotRaconteurNode_CreateRate(self, frequency)
def CreateAutoResetEvent(self):
r"""
Create an AutoResetEvent object
Normally the AutoResetEvent will use the system clock for timeouts,
but in certain circumstances will use simulation time
:return: The new AutoResetEvent object
:rtype: RobotRaconteur.AutoResetEvent
"""
return _RobotRaconteurPython.RobotRaconteurNode_CreateAutoResetEvent(self)
def _PostToThreadPool(self, handler, id):
return _RobotRaconteurPython.RobotRaconteurNode__PostToThreadPool(self, handler, id)
def _GetRobotRaconteurVersion(self):
return _RobotRaconteurPython.RobotRaconteurNode__GetRobotRaconteurVersion(self)
def CompareLogLevel(self, log_level):
r"""
Test if the specified log level would be accepted
:param log_level: Log level to test
:type log_level: int
:return: True if the log would be accepted, False if it would be ignored
:rtype: bool
"""
return _RobotRaconteurPython.RobotRaconteurNode_CompareLogLevel(self, log_level)
def LogMessage(self, level, message):
r"""
Log a simple message using the current node
The record will be sent to the configured log handler,
or sent to std::cerr if none is configured
If the level of the message is below the current log level
for the node, the record will be ignored
"""
return _RobotRaconteurPython.RobotRaconteurNode_LogMessage(self, level, message)
def LogRecord(self, record):
r"""
Log a record to the node.
The record will be sent to the configured log handler,
or sent to std::cerr if none is configured
If the level of the message is below the current log level
for the node, it will be ignored
:param record: The record to log
:type record: RRLogRecord
"""
return _RobotRaconteurPython.RobotRaconteurNode_LogRecord(self, record)
def GetLogLevel(self):
r"""
Get the current log level for the node
Default level is "info"
:return: The current log level
:rtype: int
"""
return _RobotRaconteurPython.RobotRaconteurNode_GetLogLevel(self)
def SetLogLevel(self, level):
r"""
Set the log level for the node
Set RobotRaconteur.RobotRaconteur_LogLevel_Disable to disable logging
:param level: The desired log level
:type level: int
"""
return _RobotRaconteurPython.RobotRaconteurNode_SetLogLevel(self, level)
def SetLogLevelFromString(self, level):
r"""
Set the log level for the node from a string
Must be one of the following values: DISABLE, FATAL, ERROR, WARNING, INFO, DEBUG, TRACE
Defaults to WARNING
:param level: The desired log level
:type level: str
:return: The log level
:rtype: int
"""
return _RobotRaconteurPython.RobotRaconteurNode_SetLogLevelFromString(self, level)
def SetLogLevelFromEnvVariable(self, *args):
r"""
Set the log level for the node from specified environmental variable
Retrieves the specified environmental variable and sets the log level based
on one of the following values: DISABLE, FATAL, ERROR, WARNING, INFO, DEBUG, TRACE
If an invalid value or the variable does not exist, the log level is left unchanged.
:param env_variable_name: The environmental variable to use. Defaults to
``ROBOTRACONTEUR_LOG_LEVEL``
:type env_variable_name: str
:return: The log level
:rtype: int
"""
return _RobotRaconteurPython.RobotRaconteurNode_SetLogLevelFromEnvVariable(self, *args)
def GetLogRecordHandler(self):
r"""
Get the currently configured log record handler
If None, records are sent to ``stdout``
:return: The log record handler
:rtype: LogRecordHandler
"""
return _RobotRaconteurPython.RobotRaconteurNode_GetLogRecordHandler(self)
def SetLogRecordHandler(self, handler):
r"""
Set the handler for log records
If handler is NULL, records are sent to std::cerr
:param handler: The log record handler function
:type handler: RobotRaconteur.LogRecordHandler
"""
return _RobotRaconteurPython.RobotRaconteurNode_SetLogRecordHandler(self, handler)
def CheckConnection(self, client):
r"""
Check that the TransportConnection associated with an endpoint
is connected
Raises `RobotRaconteur.ConnectionException` or other exception if connection is invalid.
:param endpoint: The LocalEndpoint identifier to check
:type endpoint: int
"""
return _RobotRaconteurPython.RobotRaconteurNode_CheckConnection(self, client)
def GetNodeDirectories(self):
return _RobotRaconteurPython.RobotRaconteurNode_GetNodeDirectories(self)
def SetNodeDirectories(self, dir):
return _RobotRaconteurPython.RobotRaconteurNode_SetNodeDirectories(self, dir)
def FindServiceByType(self,servicetype,transportschemes):
"""
Use discovery to find available services by service type
Uses discovery to find available services based on a service type. This
service type is the type of the root object, ie
\"com.robotraconteur.robotics.robot.Robot\". This process will update the detected
node cache.
:param servicetype: The service type to find, ie \"com.robotraconteur.robotics.robot.Robot\"
:type servicetype: str
:param transportschemes: A list of transport types to search, ie \"rr+tcp\", \"rr+local\", \"rrs+tcp\", etc
:type transportschemes: List[str]
:return: The discovered services
:rtype: List[RobotRaconteur.ServiceInfo2]
"""
from .RobotRaconteurPythonUtil import ServiceInfo2
ts2=vectorstring()
for t in transportschemes:
ts2.push_back(t)
info1=WrappedFindServiceByType(self, servicetype,ts2)
ret=[]
for e in info1:
ret.append(ServiceInfo2(e))
return ret
def AsyncFindServiceByType(self,servicetype,transportschemes,handler,timeout=5):
"""
Asynchronously use discovery to find availabe services by service type
Same as FindServiceByType() but returns asynchronously
If ``handler`` is None, returns an awaitable future.
:param servicetype: The service type to find, ie \"com.robotraconteur.robotics.robot.Robot\"
:type servicetype: str
:param transportschemes: A list of transport types to search, ie \"rr+tcp\", \"rr+local\", \"rrs+tcp\", etc
:type transportschemes: List[str]
:param handler: Handler to call on completion
:type handler: Callable[[List[ServiceInfo2]],None]
:param timeout: Timeout in seconds. Using a timeout greater than 5 seconds is not recommended.
:type timeout: float
"""
class ServiceInfo2Director(AsyncServiceInfo2VectorReturnDirector):
def __init__(self,handler):
super(ServiceInfo2Director,self).__init__()
self._handler=handler
def handler(self,info1):
from .RobotRaconteurPythonUtil import ServiceInfo2
ret=[]
for e in info1:
ret.append(ServiceInfo2(e))
self._handler(ret)
ts2=vectorstring()
for t in transportschemes:
ts2.push_back(t)
from .RobotRaconteurPythonUtil import async_call, adjust_timeout
return async_call(AsyncWrappedFindServiceByType,(self,servicetype,ts2,adjust_timeout(timeout)),ServiceInfo2Director,handler,False)
def FindNodeByID(self,id,transportschemes):
"""
Finds nodes on the network with a specified NodeID
Updates the discovery cache and find nodes with the specified NodeID.
This function returns unverified cache information.
:param id: The NodeID to find
:type id: RobotRaconteur.NodeID
:param transportschemes: A list of transport types to search, ie \"rr+tcp\", \"rr+local\", \"rrs+tcp\", etc
:type transportschemel: str
:return: The discovered nodes
:rtype: List[NodeInfo2]
"""
from .RobotRaconteurPythonUtil import NodeInfo2
ts2=vectorstring()
for t in transportschemes:
ts2.push_back(t)
info1=WrappedFindNodeByID(self,id,ts2)
ret=[]
for e in info1:
ret.append(NodeInfo2(e))
return ret
def FindNodeByName(self,name,transportschemes):
"""
Finds nodes on the network with a specified NodeName
Updates the discovery cache and find nodes with the specified NodeName.
This function returns unverified cache information.
:param name: The NodeName to find
:type name: str
:param transportschemes: A list of transport types to search, ie \"rr+tcp\", \"rr+local\", \"rrs+tcp\", etc
:return: The discovered nodes
:rtype: List[NodeInfo2]
"""
from .RobotRaconteurPythonUtil import NodeInfo2
ts2=vectorstring()
for t in transportschemes:
ts2.push_back(t)
info1=WrappedFindNodeByName(self,name,ts2)
ret=[]
for e in info1:
ret.append(NodeInfo2(e))
return ret
def AsyncFindNodeByID(self,id,transportschemes,handler,timeout=5):
"""
Asynchronously finds nodes on the network with the specified NodeID
Same as FindNodeByID() but returns asynchronously
If ``handler`` is None, returns an awaitable future.
:param id: The NodeID to find
:type id: RobotRaconteur.NodeID
:param transportschemes: A list of transport types to search, ie \"rr+tcp\", \"rr+local\", \"rrs+tcp\", etc
:type transportschemes: List[str]
:param handler: Handler to call on completion
:type handler: Callable[List[NodeInfo2],None]
:param timeout: Timeout in seconds. Using a timeout greater than 5 seconds is not recommended.
:type timeout: float
"""
class NodeInfo2Director(AsyncNodeInfo2VectorReturnDirector):
def __init__(self,handler):
super(NodeInfo2Director,self).__init__()
self._handler=handler
def handler(self,info1):
from .RobotRaconteurPythonUtil import NodeInfo2
ret=[]
for e in info1:
ret.append(NodeInfo2(e))
self._handler(ret)
ts2=vectorstring()
for t in transportschemes:
ts2.push_back(t)
from .RobotRaconteurPythonUtil import async_call, adjust_timeout
return async_call(AsyncWrappedFindNodeByID,(self,id,ts2,adjust_timeout(timeout)),NodeInfo2Director,handler,False)
def AsyncFindNodeByName(self,name,transportschemes,handler,timeout=5):
"""
Asynchronously finds nodes on the network with the specified NodeName
Same as FindNodeByName() but returns asynchronously
If ``handler`` is None, returns an awaitable future.
:param name: The NodeName to find
:type name: str
:param transportschemes: A list of transport types to search, ie \"rr+tcp\", \"rr+local\", \"rrs+tcp\", etc
:type transportschemes: List[str]
:param handler: Handler to call on completion
:type handler: Callable[List[NodeInfo2],None]
:param timeout: Timeout in seconds. Using a timeout greater than 5 seconds is not recommended.
:type timeout: float
"""
class NodeInfo2Director(AsyncNodeInfo2VectorReturnDirector):
def __init__(self,handler):
super(NodeInfo2Director,self).__init__()
self._handler=handler
def handler(self,info1):
from .RobotRaconteurPythonUtil import NodeInfo2
ret=[]
for e in info1:
ret.append(NodeInfo2(e))
self._handler(ret)
ts2=vectorstring()
for t in transportschemes:
ts2.push_back(t)
from .RobotRaconteurPythonUtil import async_call, adjust_timeout
return async_call(AsyncWrappedFindNodeByName,(self,name,ts2,adjust_timeout(timeout)),NodeInfo2Director,handler,False)
def UpdateDetectedNodes(self, schemes):
"""
Update the detected nodes cache
The node keeps a cache of detected nodes, but this may become stale
if nodes are rapidly added and removed from the network. Call this
function to update the detected nodes.
:param schemes: A list of transport schemes, ie \"rr+tcp\", \"rr+local\", etc. to update.
:type schemes: List[str]
"""
ts2=vectorstring()
for t in schemes:
ts2.push_back(t)
WrappedUpdateDetectedNodes(self,ts2)
def AsyncUpdateDetectedNodes(self,schemes,handler,timeout=5):
"""
Asynchronously update the detected nodes cache
Same as UpdateDetectedNodes() but returns asynchronously
If ``handler`` is None, returns an awaitable future.
:param schemes: A list of transport schemes, ie \"rr+tcp\", \"rr+local\", etc. to update.
:type schemes: List[str]
:param handler: The handler to call on completion
:type handler: Callable[[],None]
:param timeout: The timeout for the operation in seconds. This function will often run
for the full timeout, so values less than 5 seconds are recommended.
:type timeout: float
"""
ts2=vectorstring()
for t in schemes:
ts2.push_back(t)
from .RobotRaconteurPythonUtil import async_call, adjust_timeout, AsyncVoidNoErrReturnDirectorImpl
return async_call(AsyncWrappedUpdateDetectedNodes,(self,ts2, adjust_timeout(timeout),), AsyncVoidNoErrReturnDirectorImpl,handler,noerror=True)
def GetDetectedNodes(self):
"""
Get the nodes currently detected by Transports
Transports configured to listen for node discovery send detected node
information to the parent node, where it is stored. Normally this information
will expire after one minute, and needs to be constantly refreshed.
This node information is not verified. It is the raw discovery
information received by the transports. Verification is done
when the node is interrogated for service information.
:return: List of detected NodeID
:rtype: List[RobotRaconteur.NodeID]
"""
o1=WrappedGetDetectedNodes(self)
return [NodeID(x) for x in o1]
def GetDetectedNodeCacheInfo(self, nodeid):
"""
Get cached node discovery information
Return current node information from the discovery cache. This
information is unverified and is used for the first step in the
discovery process.
:param nodeid: The NodeID of the requested node
:type nodeid: RobotRaconteur.NodeID
:return: The node info
:rtype: RobotRaconteur.NodeInfo2
"""
from .RobotRaconteurPythonUtil import NodeInfo2
return NodeInfo2(WrappedGetDetectedNodeCacheInfo(self, nodeid))
def TryGetDetectedNodeCacheInfo(self, nodeid):
"""
Try get cached node discovery information
Same as GetDetectedNodeCacheInfo, but returns bool
for success or failure instead of throwing an exception
"""
from .RobotRaconteurPythonUtil import NodeInfo2 as NodeInfo2py
ret = NodeInfo2()
res = WrappedTryGetDetectedNodeCacheInfo(self,nodeid,ret)
if not res:
return False, None
else:
return True, NodeInfo2py(ret)
def Init(self, thread_count=20):
r"""
Initialize the node. Called automatically for ``RRN``
This function must be called to initialize background tasks before
using the node. It is called automatically by the
singleton accessors, so the user only needs to call this function
when not using the singleton. If a custom thread pool is being
used, the thread pool factory must be specified before
calling init.
:param thread_count: The initial number of threads in the thread pool (default 20)
:type thread_count: int
"""
return _RobotRaconteurPython.RobotRaconteurNode_Init(self, thread_count)
def ConnectService(self,*args):
"""
ConnectService(url,username=None,credentials=None,listener=None)
Create a client connection to a remote service using a URL
Synchronously creates a connection to a remote service using a URL. URLs are either provided by
the service, or are determined using discovery functions such as FindServiceByType().
This function is the primary way to create client connections.
username and credentials can be used to specify authentication information. Credentials will
often contain a \"password\" or token entry.
The listener is a function that is called during various events. See ClientServiceListenerEventType
constants for a description of the possible events.
ConnectService will attempt to instantiate a client object reference (proxy) based on the type
information provided by the service. The type information will contain the type of the object,
and all the implemented types.
:param url: The URL of the service to connect
:type url: Union[str,List[str]]
:param username: An optional username for authentication, None for no authentication
:type username: str
:param credentials: Optional credentials for authentication, None for no authentication
:type credentials: Dict[str,Any]
:param listener: Optional listener callback function
:type listener: Callable[[object,int,Any],None]
:return: The client object reference (proxy).
"""
from .RobotRaconteurPythonUtil import PackMessageElement, WrappedClientServiceListenerDirector, InitStub
args2=list(args)
if (len(args) >= 3):
if (args[1]==None): args2[1]=""
args2[2]=PackMessageElement(args[2],"varvalue{string}",None,self).GetData()
if (len(args)>=4):
args2[3]=WrappedClientServiceListenerDirector(args[3])
args2[3].__disown__()
if (len(args2) > 4):
args2=args2[0:4]
res=self._ConnectService(*args2)
stub=InitStub(res)
if (len(args2)>=4):
args2[3].stub=stub
return stub
def AsyncConnectService(self, url, username, credentials, listener, handler, timeout=RR_TIMEOUT_INFINITE):
"""
Asynchronously create a client connection to a remote service using a URL
Same as ConnectService but returns asynchronously. See ConnectService() for more details
on client connections.
handler is called after the client connection succeeds are fails. On success, the object reference
is returned and the exception is None. On failure, the returned object is None and the exception
contains a subclass of Exception.
If ``handler`` is None, returns an awaitable future.
:param url: The URL of the service to connect
:type url: Union[str,List[str]]
:param username: A username for authentication, None for no authentication
:type username: str
:param credentials: credentials for authentication, None for no authentication
:type credentials: Dict[str,Any]
:param listener: A listener callback function, None for no listener
:type listener: Callable[[object,int,Any],None]
:param handler: A handler function to receive the object reference or an exception
:type handler: Callable[[object,Exception],None]
:param timeout: Timeout in seconds, or -1 for no timeout
:type timeout: float
"""
from .RobotRaconteurPythonUtil import PackMessageElement, WrappedClientServiceListenerDirector, AsyncStubReturnDirectorImpl, async_call, adjust_timeout
if (username is None ): username=""
if (credentials is not None): credentials=PackMessageElement(credentials,"varvalue{string}",None,self).GetData()
listener2=None
if (listener is not None):
listener2=WrappedClientServiceListenerDirector(listener)
listener2.__disown__()
return async_call(self._AsyncConnectService,(url, username, credentials, listener2, "", adjust_timeout(timeout)), AsyncStubReturnDirectorImpl, handler)
def DisconnectService(self, stub):
"""
Disconnects a client connection to a service
Synchronously disconnects a client connection. Client connections
are automatically closed by Shutdown(), so this function
is optional.
:param obj: The root object of the service to disconnect
"""
self._DisconnectService(stub.rrinnerstub)
def AsyncDisconnectService(self, stub, handler):
"""
Asynchronously disconnects a client connection to a service
Same as DisconnectService() but returns asynchronously.
If ``handler`` is None, returns an awaitable future.
:param obj: The root object of the client to disconnect
:param handler: The handler to call when complete
:type handler: Callable[[],None]
"""
from .RobotRaconteurPythonUtil import async_call, AsyncVoidNoErrReturnDirectorImpl
return async_call(self._AsyncDisconnectService,(stub.rrinnerstub,), AsyncVoidNoErrReturnDirectorImpl,handler,noerror=True)
@classproperty.classpropertyreadonly
def s(self):
return RobotRaconteurNode._get_s()
def RegisterServiceType(self, d):
"""
Register a service type
If passed a string, the string will be parsed as a service definition file
The service type will be verified. All imported types must already have
been registered for verification to succeed. It is recommended that
RegisterServiceTypes() be used for lists of service types.
:param d: The service definition implementing the type to register
:type d: Union[RobotRaconteur.ServiceDefinition,str]
"""
self._RegisterServiceType(d)
def RegisterServiceTypes(self, d):
"""
Register a list of service types
If passed a string, the string will be parsed as a service definition file
The service types will be verified. All imported types must be included in the list
or already have been registered for verification to succeed.
:param d: The service types implementing the types to register
:type d: Union[List[RobotRaconteur.ServiceDefinition],List[str]]
"""
self._RegisterServiceTypes(d)
def RegisterServiceTypeFromFile(self, file_name):
"""
Register a service type from a file
The file_name must point to a plain text \"robdef\" file. The file_name
may leave off the \".robdef\" extension.
The path in the environmental variable ``ROBOTRACONTEUR_ROBDEF_PATH`` will
be searched if the file is not found in the working directory.
The service type will be verified. All imported types must already have
been registered for verification to succeed. It is recommended that
RegisterServiceTypesFromFiles() be used for lists of service types.
:param d: The filename of the service type to load
:type d: str
"""
from .RobotRaconteurPythonUtil import ReadServiceDefinitionFile
d = ReadServiceDefinitionFile(file_name)
self._RegisterServiceType(str(d))
def RegisterServiceTypesFromFiles(self, file_names, auto_import = False):
"""
Register a list of service type from files
The file names in file_names must point to plain text \"robdef\" files. The
file names may leave off the \".robdef\" extension.
The path in the environmental variable ``ROBOTRACONTEUR_ROBDEF_PATH`` will
be searched if a file is not found in the working directory.
The service types will be verified. All imported types must already have
been registered or included in the file_names list for verification to
succeed.
If auto_import is True, missing service type files will be loaded automatically from
the filesystem.
:param file_names: The filenames of the service types to load
:type file_names: List[str]
:param auto_import: If True, attempt to import missing service types
:type auto_import: bool
"""
from .RobotRaconteurPythonUtil import ReadServiceDefinitionFiles
d = ReadServiceDefinitionFiles(file_names, auto_import)
self._RegisterServiceTypes(d)
def GetServiceType(self, name):
"""
Returns a previously registered service type
:param name: The name of the service type to retrieve
:type name: str
:rtype: ServiceDefinition
"""
return self._GetServiceType(name)
def GetRegisteredServiceTypes(self):
"""
Return names of registered service types
:rtype: List[str]
"""
return self._GetRegisteredServiceTypes()
def GetPulledServiceTypes(self,obj):
"""
Get the names of service types pulled by a client
Clients pull service definitions from services and create
instances of ServiceFactory if a DynamicServiceFactory has
been configured. GetPulledServiceTypes returns a list of the
names of these pulled service types. Use GetPulledServiceType()
to retrieve the ServiceFactory for a specific type.
:param obj: Client object reference returned by ConnectService() or AsyncConnectService()
:return: The names of the pulled service types
:rtype: List[str]
"""
if (hasattr(obj,'rrinnerstub')):
obj=obj.rrinnerstub
return self._GetPulledServiceTypes(obj)
def GetPulledServiceType(self,obj,servicetype):
"""
Get a ServiceFactory created from a service type pulled by a client
Clients pull service definitions from services and create
instances of ServiceFactory if a DynamicServiceFactory has
been configured. GetPulledServiceType() returns a
generated ServiceFactory. Use GetPulledServiceTypes() to
return a list of available service types.
:param obj: Client object reference returned by ConnectService() or AsyncConnectService()
:param servicetype: The name of the service type
:type servicetype: str
:return: The pulled service factory
:rtype: RobotRaconteur.ServiceDefinition
"""
if (hasattr(obj,'rrinnerstub')):
obj=obj.rrinnerstub
return self._GetPulledServiceType(obj,servicetype)
def NewStructure(self,structtype,obj=None):
"""
Returns a new Robot Raconteur structure with type ``structtype``
:param structtype: The fully qualified type of the structure
:type structtype: str
:param obj: The client connection object reference to be used with this structure.
This is necessary because each client maintains type information. A client must be provided from
which type information can be queried. For services this parameter is unnecessary.
:return: The new structure instance
"""
from .RobotRaconteurPythonUtil import NewStructure
return NewStructure(structtype,obj,self)
def GetStructureType(self,structtype,obj=None):
"""
Returns a constructor for Robot Raconteur structure with type ``structtype``
:param structtype: The fully qualified type of the structure
:type structtype: str
:param obj: The client connection object reference to be used with this structure.
This is necessary because each client maintains type information. A client must be provided from
which type information can be queried. For services this parameter is unnecessary.
:return: The constructer for the structure type
:rtype: Callable[[],<structtype>]
"""
from .RobotRaconteurPythonUtil import GetStructureType
return GetStructureType(structtype,obj,self)
def GetPodDType(self,podtype,obj=None):
"""
Returns the numpy dtype for ``podtype``
Use with numpy.array() or numpy.zeros() to create new pod arrays.
:param type: The fully qualified type of the pod
:type type: str
:param obj: The client connection object reference to be used with this pod type.
This is necessary because each client maintains type information. A client must be provided from
which type information can be queried. For services this parameter is unnecessary.
:return: The dtype for the specified podtype
:rtype: numpy.dtype
"""
from .RobotRaconteurPythonUtil import GetPodDType
return GetPodDType(podtype,obj,self)
def GetNamedArrayDType(self,namedarraytype,obj=None):
"""
Returns the numpy dtype for ``namedarraytype``
Use with numpy.array() or numpy.zeros() to create new namedarray arrays.
:param type: The fully qualified type of the namedarray
:type type: str
:param obj: The client connection object reference to be used with this namedarray type.
This is necessary because each client maintains type information. A client must be provided from
which type information can be queried. For services this parameter is unnecessary.
:return: The dtype for the specified namedarray
:rtype: numpy.dtype
"""
from .RobotRaconteurPythonUtil import GetNamedArrayDType
return GetNamedArrayDType(namedarraytype,obj,self)
def NamedArrayToArray(self,named_array):
"""
Converts a namedarray type into a primitive array with the namedarray numeric type.
This function will return an array with one more dimension than the input array,
with the first dimension set to the element count of the named array.
:param namedarray: The namedarray to convert stored in a ``numpy.ndarray``
:type namedarray: numpy.ndarray
:return: The converted numeric array
:rtype: numpy.ndarray
"""
from .RobotRaconteurPythonUtil import NamedArrayToArray
return NamedArrayToArray(named_array)
def ArrayToNamedArray(self,a,named_array_dt):
"""
Converts a numeric array into a namedarray. The type of the namedarray is
specified using ``dt``, which is returned from GetNamedArrayDType().
The input numeric array must have the correct numeric type, and the first dimension
must match the element count of the namedarray. The output array will
have one fewer dimensions than the input array.
:param a: The numeric array to convert
:type a: numpy.ndarray
:param dt: The data type of the desired namedarray type
:type dt: numpy.dtype
:return: The converted namedarray
:rtype: numpy.ndarray
"""
from .RobotRaconteurPythonUtil import ArrayToNamedArray
return ArrayToNamedArray(a,named_array_dt)
class ScopedMonitorLock(object):
"""
Wrapper for RobotRaconteurNode.MonitorEnter() and
RobotRaconteurNode.MonitorExit() supporting ``with``
statement scoping
"""
def __init__(self,obj,timeout=-1):
"""
Create a monitor lock for the specified object
Creates a monitor lock by calling RobotRaconteur.MonitorEnter().
Object will be locked once the scoped lock is created.
:param obj: The object to monitor lock
:param timeout: The timeout in seconds to acquire the monitor lock,
or -1 for infinite
:type timeout: float
"""
self.obj=obj
self.timeout=timeout
self.node=obj.rrinnerstub.RRGetNode()
self.locked=False
def __enter__(self):
self.node.MonitorEnter(self.obj,self.timeout)
self.locked=True
def __exit__(self,type, value, traceback):
self.node.MonitorExit(self.obj)
self.locked=False
def lock(self,timeout):
"""
Relock the object after calling unlock()
:param timeout The timeout in seconds to acquire the monitor lock,
or -1 for infinite
:type timeout: float
"""
self.node.MonitorEnter(self.obj,timeout)
self.locked=True
def unlock(self):
"""
Releases the monitor lock
The ScopedMonitorLock destructor will release
the lock automatically, so in most cases it is
not necessary to call this function
"""
self.node.MonitorExit(self.obj,)
self.locked=False
def release(self):
"""
Release the monitor lock from the class
The monitor lock is released from the ScopedMonitorLock
instance. The monitor lock will not be released
when the ``with`` block exits.
"""
self.obj=None
def RequestObjectLock(self,obj,flags):
"""
Request an exclusive access lock to a service object
Called by clients to request an exclusive lock on a service object and
all subobjects (\"objrefs\") in the service. The exclusive access lock will
prevent other users (\"User\" lock) or client connections (\"Session\" lock)
from interacting with the objects.
:param obj: The object to lock. Must be returned by ConnectService or returned by an \"objref\"
:param flags: Select either a \"User\" lock with RobotRaconteur.RobotRaconteurObjectLockFlags_USER_LOCK or \"Session\"
lock with RobotRaconteur.RobotRaconteurObjectLockFlags_CLIENT_LOCK
:return: \"OK\" on success
:rtype: str
"""
return self._RequestObjectLock(obj.rrinnerstub,flags)
def ReleaseObjectLock(self,obj):
"""
Release an excluse access lock previously locked with RequestObjectLock()
or AsyncRequestObjectLock()
Object must have previously been locked using RequestObjectLock() or
AsyncRequestObjectLock()
:param obj: The object previously locked
:return: \"OK\" on success
:rtype: str
"""
return self._ReleaseObjectLock(obj.rrinnerstub)
def MonitorEnter(self,obj,timeout=-1):
"""
Creates a monitor lock on a specified object
Monitor locks are intendended for short operations that require
guarding to prevent races, corruption, or other concurrency problems.
Monitors emulate a single thread locking the service object.
Use of ScopedMonitorLock instead of this function is highly recommended
Monitor locks do not lock any sub-objects (objref)
:param: obj The object to lock
:param timeout: The timeout in seconds to acquire the monitor lock,
or -1 for infinite
"""
from .RobotRaconteurPythonUtil import adjust_timeout
self._MonitorEnter(obj.rrinnerstub,adjust_timeout(timeout))
def MonitorExit(self,obj):
"""
Releases a monitor lock
Use of ScopedMonitorLock instead of this function is highly recommended
:param obj: The object previously locked by MonitorEnter()
"""
#obj.rrlock.release()
self._MonitorExit(obj.rrinnerstub)
def AsyncRequestObjectLock(self,obj,flags,handler,timeout=RR_TIMEOUT_INFINITE):
"""
Asynchronously request an exclusive access lock to a service object
Same as RequestObjectLock() but returns asynchronously
If ``handler`` is None, returns an awaitable future.
:param obj: The object to lock. Must be returned by ConnectService or returned by an \"objref\"
:param flags: Select either a \"User\" lock with RobotRaconteur.RobotRaconteurObjectLockFlags_USER_LOCK or \"Session\"
lock with RobotRaconteur.RobotRaconteurObjectLockFlags_CLIENT_LOCK
:param handler: Handler to call on completion
:type handler: Callable[[str,Exception],None]
:param timeout: Timeout in seconds, or -1 for infinite
:type timeout: float
"""
from .RobotRaconteurPythonUtil import async_call, adjust_timeout, AsyncStringReturnDirectorImpl
return async_call(self._AsyncRequestObjectLock,(obj.rrinnerstub,flags,adjust_timeout(timeout)),AsyncStringReturnDirectorImpl,handler)
def AsyncReleaseObjectLock(self,obj,handler,timeout=RR_TIMEOUT_INFINITE):
"""
Asynchronously release an excluse access lock previously locked
with RequestObjectLock() or AsyncRequestObjectLock()
Same as ReleaseObjectLock() but returns asynchronously
If ``handler`` is None, returns an awaitable future.
:param obj: The object previously locked
:param handler: Handler to call on completion
:type handler: Callable[[str,Exception],None]
:param timeout: Timeout in seconds, or -1 for infinite
:type timout: float
"""
from .RobotRaconteurPythonUtil import async_call, adjust_timeout, AsyncStringReturnDirectorImpl
return async_call(self._AsyncReleaseObjectLock,(obj.rrinnerstub,adjust_timeout(timeout)),AsyncStringReturnDirectorImpl,handler)
def GetServiceAttributes(self,obj):
"""
Get the service attributes of a client connection
Returns the service attributes of a client connected using
ConnectService()
:param obj: The root object of the client to use to retrieve service attributes
:return: The service attributes
:rtype: Dict[str,Any]
"""
from .RobotRaconteurPythonUtil import UnpackMessageElement
return UnpackMessageElement(self._GetServiceAttributes(obj.rrinnerstub),"varvalue{string} value",None,self)
def GetServiceNodeID(self,obj):
"""
Get the service NodeID of the remote node from a client connection
Returns the NodeID of the remote node that a client is connected
:param obj: The root object of the client to use to retrieve service attributes
:return: The NodeID
:rtype: NodeID
"""
return self._GetServiceNodeID(obj.rrinnerstub)
def GetServiceNodeName(self,obj):
"""
Get the service NodeName of the remote node from a client connection
Returns the NodeName of the remote node that a client is connected
:param obj: The root object of the client to use to retrieve service attributes
:return: The NodeName
:rtype: str
"""
return self._GetServiceNodeName(obj.rrinnerstub)
def GetServiceName(self,obj):
"""
Get the name of a service from a client connection
Returns the service name of the remote service that a client is connected
:param: obj The root object of the client to use to retrieve service attributes
:return: The service name
:rtype: str
"""
return self._GetServiceName(obj.rrinnerstub)
def GetObjectServicePath(self,obj):
"""
Get the service path of a client object
:param obj: The object to get the service path for
:return: The object's service path
:rtype: str
"""
return self._GetObjectServicePath(obj.rrinnerstub)
def GetObjectType(self,obj):
"""
Get the Robot Raconteur type of a connected service object
``obj`` have been returned by ConnectService(), AsyncConnectService(),
or an ``objref``
:param obj: The object to query
:return: The Robot Raconteur type of the object
:rtype: str
"""
if (hasattr(obj,'rrinnerstub')):
obj=obj.rrinnerstub
return self._GetObjectType(obj)
def RegisterService(self, name, objecttype, obj, securitypolicy=None):
"""
Registers a service for clients to connect
The supplied object becomes the root object in the service. Other objects may
be accessed by clients using \"objref\" members. The name of the service must conform
to the naming rules of Robot Raconteur member names. A service is closed using
either CloseService() or when Shutdown() is called.
Multiple services can be registered within the same node. Service names
within a single node must be unique.
:param name: The name of the service, must follow member naming rules
:type name: str
:param objecttype: The fully qualified Robot Raconteur type of the object
:param obj: The root object of the service
:param securitypolicy: An optional security policy for the service to control authentication
and other security functions
:type securitypolicy: ServiceSecurityPolicy
:return: The instantiated ServerContext. This object is owned
by the node and the return can be safely ignored.
:rtype: ServerContext
"""
from .RobotRaconteurPythonUtil import WrappedServiceSkelDirectorPython, SplitQualifiedName
director=WrappedServiceSkelDirectorPython(obj)
rrobj=WrappedRRObject(objecttype,director,0)
director.__disown__()
return self._RegisterService(name,SplitQualifiedName(objecttype)[0],rrobj,securitypolicy)
NodeID = property(lambda self: self._NodeID(),
doc = """
(RobotRaconteur.NodeID) The current NodeID. If one has not been set, one will be automatically generated
when read. NodeID cannot be set after it has been configured.
""")
def SetNodeID(self,nodeid):
"""
Set the NodeID
The NodeID must be set before NodeID is called. If an attempt to set
the NodeID after NodeID has been called, an InvalidOperationException
will be thrown.
The NodeID must not be all zeros.
:param nodeid: The NodeID
:type nodeid: RobotRaconteur.NodeID
"""
self._SetNodeID(nodeid)
NodeName =property(lambda self: self._NodeName(),
doc = """
(str) The current NodeName. If one has not been set, it will be the empty string. Cannot be set after it has been configured.
""")
def SetNodeName(self,nodename):
"""
Set the NodeName
The NodeName must be set before calling NodeName If an attempt to set
the NodeName after NodeName has been called, an InvalidOperationException
will be thrown.
The NodeName must not be empty, and must conform to the following regex:
^[a-zA-Z][a-zA-Z0-9_\\.\\-]*$
:param nodename: The NodeName
:type nodename: str
"""
self._SetNodeName(nodename)
ThreadPoolCount = property(lambda self: self._GetThreadPoolCount(), lambda self,c: self._SetThreadPoolCount(c),
doc = """
(int) The size of the native thread pool. May be configured dynamically.
""")
RequestTimeout = property(lambda self : self._GetRequestTimeout()/1000.0, lambda self,t : self._SetRequestTimeout(t*1000),
doc = """
(float) The timeout for requests in seconds
Requests are calls to a remote node that expect a response. \"function\",
\"property\", \"callback\", \"memory\", and setup calls in \"pipe\" and \"wire\"
are all requests. All other Robot Raconteur functions that call the remote
node and expect a response are requests. Default timeout is 15 seconds.
""")
TransportInactivityTimeout = property(lambda self : self._GetTransportInactivityTimeout()/1000.0, lambda self,t : self._SetTransportInactivityTimeout(t*1000),
doc = """
(float) The timeout for transport activity in seconds
Sets a timeout for transport inactivity. If no message
is sent or received on the transport for the specified time,
the transport is closed. Default timeout is 10 minutes.
""")
EndpointInactivityTimeout = property(lambda self : self._GetEndpointInactivityTimeout()/1000.0, lambda self,t : self._SetEndpointInactivityTimeout(t*1000),
doc = """
(float) The timeout for endpoint activity in seconds
Sets a timeout for endpoint inactivity. If no message
is sent or received by the endpoint for the specified time,
the endpoint is closed. Default timeout is 10 minutes.
"""
)
MemoryMaxTransferSize = property(lambda self: self._GetMemoryMaxTransferSize(), lambda self,m: self._SetMemoryMaxTransferSize(m),
doc = """
(int) The maximum chunk size for memory transfers in bytes
\"memory\" members break up large transfers into chunks to avoid
sending messages larger than the transport maximum, which is normally
approximately 10 MB. The memory max transfer size is the largest
data chunk the memory will send, in bytes. Default is 100 kB.
"""
)
NodeDiscoveryMaxCacheCount = property(lambda self: self._GetNodeDiscoveryMaxCacheCount(), lambda self,c: self._SetNodeDiscoveryMaxCacheCount(c),
doc = """
the maximum number of detected nodes that will be cached
The node keeps a cache of detected nodes. The NodeDiscoveryMaxCacheCount
sets an upper limit to how many detected nodes are cached. By default set to 4096
"""
)
def GetConstants(self,servicetype, obj=None):
"""
Returns a structure that contains the constants of the specified service type
:param servicetype: The name of the service definition
:type servicetype: str
:param obj: The client connection object reference to be used with to retrive service types.
This is necessary because each client maintains type information. A client must be provided from
which type information can be queried. For services this parameter is unnecessary.
:rtype: Dict[str,Any]
"""
from .RobotRaconteurPythonUtil import ServiceDefinitionConstants
if obj is None:
d=self.GetServiceType(servicetype)
else:
d=self.GetPulledServiceType(obj,servicetype)
return ServiceDefinitionConstants(d,self,obj)
def GetExceptionType(self, exceptionname, obj=None):
"""
Returns a reference to the exception class of fully qualified type ``exceptiontype``.
Note that this is a class reference, not an instance.
:param exceptionname: The fully qualified name of the exception type
:type exceptionname: str
:param obj: The client connection object reference to be used with to retrive service types.
This is necessary because each client maintains type information. A client must be provided from
which type information can be queried. For services this parameter is unnecessary.
:return: Exception type
"""
from .RobotRaconteurPythonUtil import SplitQualifiedName
from .RobotRaconteurPythonError import GetExceptionType
t=SplitQualifiedName(exceptionname)
if (obj is None):
d=self.GetServiceType(t[0])
else:
d=self.GetPulledServiceType(obj,t[0])
if (not any(x.Name == t[1] for x in d.Exceptions)):
raise Exception('Invalid exception type')
return GetExceptionType(exceptionname)
def FindObjectType(self,obj,member,ind=None):
"""
Returns the fully qualified object type that would be returned by an \"objref\" member
:param obj: The object with the desired \"objref\"
:param objref: The name of the \"objref\" member
:type objref: str
:param ind: The index for the \"objref\"
:type ind: Union[int,str]
:return: The fully qualified object type
:rtype: str
"""
if (ind is None):
return self._FindObjectType(obj.rrinnerstub,member)
else:
return self._FindObjectType(obj.rrinnerstub,member,ind)
def AsyncFindObjectType(self,obj,member,handler,timeout=RR_TIMEOUT_INFINITE):
"""
Asynchronously returns an objref as a specific type
Same as FindObjectType() but returns asynchronously
If ``handler`` is None, returns an awaitable future.
:param obj: The object with the desired \"objref\"
:param objref: The name of the \"objref\" member
:type objref: str
:param handler: A handler function to receive the object type or an exception
:type handler: Callable[[str,Exception],None]
:param timeout: Timeout is milliseconds, or -1 for infinite
:type timeout: float
"""
from .RobotRaconteurPythonUtil import async_call, adjust_timeout, AsyncStringReturnDirectorImpl
return async_call(self._AsyncFindObjectType,(obj.rrinnerstub,member,adjust_timeout(timeout)),AsyncStringReturnDirectorImpl,handler)
def AsyncFindObjectTypeInd(self,obj,member,ind,handler,timeout=RR_TIMEOUT_INFINITE):
"""
Asynchronously returns an objref as a specific type
Same as FindObjectType() but returns asynchronously
If ``handler`` is None, returns an awaitable future.
:param obj: The object with the desired \"objref\"
:param objref: The name of the \"objref\" member
:type objref: str
:param ind: The index for the \"objref\"
:type ind: Union[int,str]
:param handler: A handler function to receive the object type or an exception
:type handler: Callable[[str,Exception],None]
:param timeout: Timeout is milliseconds, or -1 for infinite
:type timeout: float
"""
from .RobotRaconteurPythonUtil import async_call, adjust_timeout, AsyncStringReturnDirectorImpl
return async_call(self._AsyncFindObjectType,(obj.rrinnerstub,member,ind,adjust_timeout(timeout)),AsyncStringReturnDirectorImpl,handler)
def SetExceptionHandler(self, handler):
"""
Set an exception handler function
The ThreadPool will catch exceptions that are uncaught
by other logic and pass the exception to the specified
exception handler. User handler functions that throw exceptions
will also be caught and passed to the specified handler
function
:param handler: The handler function for uncaught exceptions
:type handler: Callable[[Exception],None]
"""
from .RobotRaconteurPythonUtil import ExceptionHandlerDirectorImpl
if (handler is None):
self._ClearExceptionHandler()
else:
d=ExceptionHandlerDirectorImpl(handler)
d.__disown__()
self._SetExceptionHandler(d,0)
def CreateTimer(self,period,handler,oneshot=False):
"""
Create a Timer object
This function will normally return a WallTimer instance
Start() must be called after timer creation
:param period: The period of the timer in seconds
:type period: float
:param handler: The handler function to call when timer times out
:type handler: Callable[[TimerEvent],None]
:param oneshot: True if timer is a one-shot timer, False for repeated timer
:type oneshot: bool
:return: The new Timer object. Must call Start()
:rtype: RobotRaconteur.Timer
"""
from .RobotRaconteurPythonUtil import AsyncTimerEventReturnDirectorImpl
handler2=AsyncTimerEventReturnDirectorImpl(handler)
handler2.__disown__()
ret= self._CreateTimer(period,oneshot,handler2,0)
return ret
def PostToThreadPool(self, handler):
"""
Posts a function to be called by the node's native thread pool.
:param handler: The function to call
:type handler: Callable[[],None]
"""
from .RobotRaconteurPythonUtil import async_call, AsyncVoidNoErrReturnDirectorImpl
return async_call(self._PostToThreadPool,(), AsyncVoidNoErrReturnDirectorImpl,handler,noerror=True)
RobotRaconteurVersion = property(lambda self: self._GetRobotRaconteurVersion(),
doc = """(str) Returns the Robot Raconteur library version"""
)
def NowUTC(self):
"""
The current time in UTC time zone
Uses the internal node clock to get the current time in UTC.
While this will normally use the system clock, this may
use simulation time in certain circumstances
:return: The current time in UTC
:rtype: datetime.DateTime
"""
return self._NowUTC()
def NowTimeSpec(self):
"""
The current time node time as a TimeSpec
The current node time as a TimeSpec. See NowNodeTime()
:return: The current node time as a TimeSpec
:rtype: RobotRaconteur.TimeSpec
"""
return self._NowTimeSpec()
def NowNodeTime(self):
"""
The current node time
UTC time is not monotonic, due to the introduction of leap-seconds, and the possibility
of the system clock being updated by the user. For a real-time systems,
this is unacceptable and can lead to system instability. The "node time" used by Robot Raconteur
is synchronized to UTC at startup, and is then steadily increasing from that initial time.
It will ignore changes to the system clock, and will also ignore corrections like leap
seconds.
:return: The current node time
:rtype: datetime.DateTime
"""
return self._NowNodeTime()
def NodeSyncTimeUTC(self):
"""
The sync time of the node as a TimeSpec
See NowNodeTime()
:return: The node sync time as a TimeSpec
:rtype: datetime.DateTime
"""
return self._NodeSyncTimeUTC()
def NodeSyncTimeSpec(self):
"""
The sync time of the node as a TimeSpec
See NowTimeSpec()
:return: The node sync time as a TimeSpec
:rtype: RobotRaconteur.TimeSpec
"""
return self._NodeSyncTimeSpec()
def Shutdown(self):
"""
Shuts down the node. Called automatically by ClientNodeSetup and ServerNodeSetup
Shutdown must be called before program exit to avoid segfaults and other undefined
behavior. The singleton node is automatically shut down in Python. The use of
ClientNodeSetup and ServerNodeSetup is recommended to automate
the node lifecycle. Calling this function does the following:
1. Closes all services and releases all service objects
2. Closes all client connections
3. Shuts down discovery
4. Shuts down all transports
5. Notifies all shutdown listeners
6. Releases all periodic cleanup task listeners
7. Shuts down and releases the thread pool
"""
self._Shutdown()
def SubscribeServiceByType(self, service_types, filter_=None):
"""
Subscribe to listen for available services and automatically connect
A ServiceSubscription will track the availability of service types and
create connections when available.
:param service_types: A list of service types to listen for, ie \"com.robotraconteur.robotics.robot.Robot\"
:type service_types: List[str]
:param filter: A filter to select individual services based on specified criteria
:type filter: RobotRaconteur.ServiceSubscriptionFilter
:return: The active subscription
:rtype: ServiceSubscription
"""
from .RobotRaconteurPythonUtil import SubscribeServiceByType
return SubscribeServiceByType(self, service_types, filter_)
def SubscribeServiceInfo2(self, service_types, filter_=None):
"""
Subscribe to listen for available services information
A ServiceInfo2Subscription will track the availability of service types and
inform when services become available or are lost. If connections to
available services are also required, ServiceSubscription should be used.
:param service_types: A list of service types to listen for, ie \"com.robotraconteur.robotics.robot.Robot\"
:type service_types: List[str]
:param filter: A filter to select individual services based on specified criteria
:type filter: RobotRaconteur.ServiceSubscriptionFilter
:return: The active subscription
:rtype: ServiceInfo2Subscription
"""
from .RobotRaconteurPythonUtil import SubscribeServiceInfo2
return SubscribeServiceInfo2(self, service_types, filter_)
def SubscribeService(self,*args):
"""
SubscribeService(url,username=None,credentials=None)
Subscribe to a service using one or more URL. Used to create robust connections to services
Creates a ServiceSubscription assigned to a service with one or more candidate connection URLs. The
subscription will attempt to maintain a peristent connection, reconnecting if the connection is lost.
:param url: One or more candidate connection urls
:type url: Union[str,List[str]]
:param username: An optional username for authentication
:type username: str
:param credentials: Optional credentials for authentication
:type credentials: Dict[str,Any]
:return: The subscription object
:rtype: RobotRaconteur.ServiceSubscription
"""
from .RobotRaconteurPythonUtil import SubscribeService
return SubscribeService(self, *args)
def __init__(self):
_RobotRaconteurPython.RobotRaconteurNode_swiginit(self, _RobotRaconteurPython.new_RobotRaconteurNode())
__swig_destroy__ = _RobotRaconteurPython.delete_RobotRaconteurNode
# Register RobotRaconteurNode in _RobotRaconteurPython:
_RobotRaconteurPython.RobotRaconteurNode_swigregister(RobotRaconteurNode)
def RobotRaconteurNode_SelectRemoteNodeURL(urls):
r"""
Select the "best" URL from a std::vector of candidates
Service discovery will often return a list of candidate URLs to
use to connect to a node. This function uses heuristics to select
the "best" URL to use. The selection criteria ranks URLs in roughly
the following order, lower number being better:
1. "rr+intra" for IntraTransport
2. "rr+local" for LocalTransport
3. "rr+pci" or "rr+usb" for HardwareTransport
4. "rrs+tcp://127.0.0.1" for secure TcpTransport loopback
5. "rrs+tcp://[::1]" for secure TcpTransport IPv6 loopback
6. "rrs+tcp://localhost" for secure TcpTransport loopback
7. "rrs+tcp://[fe80" for secure TcpTransport link-local IPv6
8. "rrs+tcp://" for any secure TcpTransport
9. "rr+tcp://127.0.0.1" for TcpTransport loopback
10. "rr+tcp://[::1]" for TcpTransport IPv6 loopback
11. "rr+tcp://localhost" for TcpTransport loopback
12. "rr+tcp://[fe80" for TcpTransport link-local IPv6
13. "rr+tcp://" for any TcpTransport
:param urls: The candidate URLs
:type urls: List[str]
:return: The "best" URL out of the candidates
:rtype: str
"""
return _RobotRaconteurPython.RobotRaconteurNode_SelectRemoteNodeURL(urls)
def RobotRaconteurNode__get_s():
return _RobotRaconteurPython.RobotRaconteurNode__get_s()
def _NewStructure(type, obj, node):
return _RobotRaconteurPython._NewStructure(type, obj, node)
def _GetStructureType(type, obj, node):
return _RobotRaconteurPython._GetStructureType(type, obj, node)
def _GetNumPyDescrForType(*args):
return _RobotRaconteurPython._GetNumPyDescrForType(*args)
def _GetNamedTypeEntryType(type1, obj, node):
return _RobotRaconteurPython._GetNamedTypeEntryType(type1, obj, node)
def _PackMessageElement(*args):
return _RobotRaconteurPython._PackMessageElement(*args)
def _UnpackMessageElement(*args):
return _RobotRaconteurPython._UnpackMessageElement(*args)
def _PackToRRArray(array_, type1, destrrarray):
return _RobotRaconteurPython._PackToRRArray(array_, type1, destrrarray)
def _UnpackFromRRArray(rrarray, type1):
return _RobotRaconteurPython._UnpackFromRRArray(rrarray, type1)
def _RRTypeIdToNumPyDataType(rr_type):
return _RobotRaconteurPython._RRTypeIdToNumPyDataType(rr_type)
RobotRaconteurNodeSetupFlags_NONE = _RobotRaconteurPython.RobotRaconteurNodeSetupFlags_NONE
r"""No options enabled"""
RobotRaconteurNodeSetupFlags_ENABLE_NODE_DISCOVERY_LISTENING = _RobotRaconteurPython.RobotRaconteurNodeSetupFlags_ENABLE_NODE_DISCOVERY_LISTENING
r"""Enable node discovery listening on all transports"""
RobotRaconteurNodeSetupFlags_ENABLE_NODE_ANNOUNCE = _RobotRaconteurPython.RobotRaconteurNodeSetupFlags_ENABLE_NODE_ANNOUNCE
r"""Enable node announce on all transports"""
RobotRaconteurNodeSetupFlags_ENABLE_LOCAL_TRANSPORT = _RobotRaconteurPython.RobotRaconteurNodeSetupFlags_ENABLE_LOCAL_TRANSPORT
r"""Enable LocalTransport"""
RobotRaconteurNodeSetupFlags_ENABLE_TCP_TRANSPORT = _RobotRaconteurPython.RobotRaconteurNodeSetupFlags_ENABLE_TCP_TRANSPORT
r"""Enable TcpTransport"""
RobotRaconteurNodeSetupFlags_ENABLE_HARDWARE_TRANSPORT = _RobotRaconteurPython.RobotRaconteurNodeSetupFlags_ENABLE_HARDWARE_TRANSPORT
r"""Enable HardwareTransport"""
RobotRaconteurNodeSetupFlags_LOCAL_TRANSPORT_START_SERVER = _RobotRaconteurPython.RobotRaconteurNodeSetupFlags_LOCAL_TRANSPORT_START_SERVER
r"""Start the LocalTransport server to listen for incoming clients"""
RobotRaconteurNodeSetupFlags_LOCAL_TRANSPORT_START_CLIENT = _RobotRaconteurPython.RobotRaconteurNodeSetupFlags_LOCAL_TRANSPORT_START_CLIENT
r"""Start the LocalTransport client with specified node name"""
RobotRaconteurNodeSetupFlags_TCP_TRANSPORT_START_SERVER = _RobotRaconteurPython.RobotRaconteurNodeSetupFlags_TCP_TRANSPORT_START_SERVER
r"""Start the TcpTransport server to listen for incoming clients on the specified port"""
RobotRaconteurNodeSetupFlags_TCP_TRANSPORT_START_SERVER_PORT_SHARER = _RobotRaconteurPython.RobotRaconteurNodeSetupFlags_TCP_TRANSPORT_START_SERVER_PORT_SHARER
r"""Start the TcpTransport server to incoming for incoming clients using the port sharer"""
RobotRaconteurNodeSetupFlags_DISABLE_MESSAGE4 = _RobotRaconteurPython.RobotRaconteurNodeSetupFlags_DISABLE_MESSAGE4
r"""Disable Message Format Version 4 on all transports"""
RobotRaconteurNodeSetupFlags_DISABLE_STRINGTABLE = _RobotRaconteurPython.RobotRaconteurNodeSetupFlags_DISABLE_STRINGTABLE
r"""Disable Message Format Version 4 string table on all transports"""
RobotRaconteurNodeSetupFlags_DISABLE_TIMEOUTS = _RobotRaconteurPython.RobotRaconteurNodeSetupFlags_DISABLE_TIMEOUTS
r"""Disable all timeouts (useful for debugging)"""
RobotRaconteurNodeSetupFlags_LOAD_TLS_CERT = _RobotRaconteurPython.RobotRaconteurNodeSetupFlags_LOAD_TLS_CERT
r"""Load the TLS certificate for TcpTransport"""
RobotRaconteurNodeSetupFlags_REQUIRE_TLS = _RobotRaconteurPython.RobotRaconteurNodeSetupFlags_REQUIRE_TLS
r"""Require TLS for all clients on TcpTransport"""
RobotRaconteurNodeSetupFlags_LOCAL_TRANSPORT_SERVER_PUBLIC = _RobotRaconteurPython.RobotRaconteurNodeSetupFlags_LOCAL_TRANSPORT_SERVER_PUBLIC
r"""Make LocalTransport server listen for incoming clients from all users"""
RobotRaconteurNodeSetupFlags_TCP_TRANSPORT_LISTEN_LOCALHOST = _RobotRaconteurPython.RobotRaconteurNodeSetupFlags_TCP_TRANSPORT_LISTEN_LOCALHOST
RobotRaconteurNodeSetupFlags_NODENAME_OVERRIDE = _RobotRaconteurPython.RobotRaconteurNodeSetupFlags_NODENAME_OVERRIDE
r"""Allow NodeName to be configured using command line options"""
RobotRaconteurNodeSetupFlags_NODEID_OVERRIDE = _RobotRaconteurPython.RobotRaconteurNodeSetupFlags_NODEID_OVERRIDE
r"""Allow NodeID to be configured using command line options"""
RobotRaconteurNodeSetupFlags_TCP_PORT_OVERRIDE = _RobotRaconteurPython.RobotRaconteurNodeSetupFlags_TCP_PORT_OVERRIDE
r"""Allow TCP port to be configured using command line options"""
RobotRaconteurNodeSetupFlags_TCP_WEBSOCKET_ORIGIN_OVERRIDE = _RobotRaconteurPython.RobotRaconteurNodeSetupFlags_TCP_WEBSOCKET_ORIGIN_OVERRIDE
r"""Allow TCP WebSocket origin control to be configured using command line options"""
RobotRaconteurNodeSetupFlags_ENABLE_INTRA_TRANSPORT = _RobotRaconteurPython.RobotRaconteurNodeSetupFlags_ENABLE_INTRA_TRANSPORT
r"""Enable IntraTransport"""
RobotRaconteurNodeSetupFlags_INTRA_TRANSPORT_START_SERVER = _RobotRaconteurPython.RobotRaconteurNodeSetupFlags_INTRA_TRANSPORT_START_SERVER
r"""Start the IntraTransport server to listen for incoming clients"""
RobotRaconteurNodeSetupFlags_TCP_TRANSPORT_IPV4_DISCOVERY = _RobotRaconteurPython.RobotRaconteurNodeSetupFlags_TCP_TRANSPORT_IPV4_DISCOVERY
RobotRaconteurNodeSetupFlags_TCP_TRANSPORT_IPV6_DISCOVERY = _RobotRaconteurPython.RobotRaconteurNodeSetupFlags_TCP_TRANSPORT_IPV6_DISCOVERY
RobotRaconteurNodeSetupFlags_LOCAL_TAP_ENABLE = _RobotRaconteurPython.RobotRaconteurNodeSetupFlags_LOCAL_TAP_ENABLE
r"""Enable the LocalTap debug logging system"""
RobotRaconteurNodeSetupFlags_LOCAL_TAP_NAME = _RobotRaconteurPython.RobotRaconteurNodeSetupFlags_LOCAL_TAP_NAME
r"""Allow the user to set the LocalTap name"""
RobotRaconteurNodeSetupFlags_JUMBO_MESSAGE = _RobotRaconteurPython.RobotRaconteurNodeSetupFlags_JUMBO_MESSAGE
RobotRaconteurNodeSetupFlags_ENABLE_ALL_TRANSPORTS = _RobotRaconteurPython.RobotRaconteurNodeSetupFlags_ENABLE_ALL_TRANSPORTS
r"""Convenience flag to enable all transports"""
RobotRaconteurNodeSetupFlags_CLIENT_DEFAULT = _RobotRaconteurPython.RobotRaconteurNodeSetupFlags_CLIENT_DEFAULT
r"""Default configuration for client nodes (See ClientNodeSetup)"""
RobotRaconteurNodeSetupFlags_CLIENT_DEFAULT_ALLOWED_OVERRIDE = _RobotRaconteurPython.RobotRaconteurNodeSetupFlags_CLIENT_DEFAULT_ALLOWED_OVERRIDE
r"""Default allowed overrides for client nodes (See ClientNodeSetup)"""
RobotRaconteurNodeSetupFlags_SERVER_DEFAULT = _RobotRaconteurPython.RobotRaconteurNodeSetupFlags_SERVER_DEFAULT
r"""Default configuration for server nodes"""
RobotRaconteurNodeSetupFlags_SERVER_DEFAULT_ALLOWED_OVERRIDE = _RobotRaconteurPython.RobotRaconteurNodeSetupFlags_SERVER_DEFAULT_ALLOWED_OVERRIDE
r"""Default allowed overrides for server nodes"""
RobotRaconteurNodeSetupFlags_SECURE_SERVER_DEFAULT = _RobotRaconteurPython.RobotRaconteurNodeSetupFlags_SECURE_SERVER_DEFAULT
r"""Default configuration for server nodes requiring TLS network transports"""
RobotRaconteurNodeSetupFlags_SECURE_SERVER_DEFAULT_ALLOWED_OVERRIDE = _RobotRaconteurPython.RobotRaconteurNodeSetupFlags_SECURE_SERVER_DEFAULT_ALLOWED_OVERRIDE
r"""Default allowed overrides for server nodes requiring TLS network transports"""
@_swig_add_metaclass(_SwigNonDynamicMeta)
class CommandLineConfigParser(object):
r"""
Command line parser for node setup classes
The CommandLineConfigParser is used to parse command line options specified
when a program is launched. These options allow for the node configuration to be
changed without recompiling the software. See \ref command_line_options for
a table of the standard command line options.
ClientNodeSetup, ServerNodeSetup, and SecureServerNodeSetup use this class to parse
the ``sys.argv`` parameters. The RobotRaconteurNodeSetup constructors will accept
either ``sys.argv``, or will accept an initialize CommandLineConfigParser.
The CommandLineConfig() constructor takes the "allowed override" flags, and the option prefix.
The "allowed override" specifies which options can be overridden using the command line. The
prefix option allows the command line flag prefix to be changed. By default it expects
all options to begin with `--robotraconteur-` followed by the name of the option. If there are
multiple nodes, it is necessary to change the prefix to be unique for each node. For instance,
"robotraconteur1-" for the first node and "robotraconteur2-" for the second node.
Users may add additional options to the parser. Use AddStringOption(),
AddBoolOption(), or AddIntOption() to add additional options.
"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__setattr__ = _swig_setattr_nondynamic_instance_variable(object.__setattr__)
__repr__ = _swig_repr
def __init__(self, *args):
_RobotRaconteurPython.CommandLineConfigParser_swiginit(self, _RobotRaconteurPython.new_CommandLineConfigParser(*args))
def SetDefaults(self, node_name, tcp_port, default_flags):
r"""
Set the default NodeName, TCP port, and flags
The command line options will be allowed to override the options
specified in allowed_overrides passed to CommandLineConfigParser().
:param node_name: The default NodeName
:type node_name str
:param tcp_port: The default TCP port
:type tcp_port: int
:param default_flags: The default flags
:type default_flags: int
"""
return _RobotRaconteurPython.CommandLineConfigParser_SetDefaults(self, node_name, tcp_port, default_flags)
def AddStringOption(self, name, descr):
r"""
Add a new string option
:param name: The name of the option
:type name: str
:param descr: Description of the option
:type descr: str
"""
return _RobotRaconteurPython.CommandLineConfigParser_AddStringOption(self, name, descr)
def AddBoolOption(self, name, descr):
r"""
Add a new bool option
:param name: The name of the option
:type name: str
:param descr: Description of the option
:type descr: str
"""
return _RobotRaconteurPython.CommandLineConfigParser_AddBoolOption(self, name, descr)
def AddIntOption(self, name, descr):
r"""
Add a new int32_t option
:param name: The name of the option
:type name: str
:param descr: Description of the option
:type descr: str
"""
return _RobotRaconteurPython.CommandLineConfigParser_AddIntOption(self, name, descr)
def ParseCommandLine(self, args):
r"""
Parse a specified string vector containing the options
Results are stored in the instance
:param args: The options as a string list
:type args: List[str]
"""
return _RobotRaconteurPython.CommandLineConfigParser_ParseCommandLine(self, args)
def GetOptionOrDefaultAsString(self, *args):
r"""
Get the option value as a string
Returns default_value if option not specified on command line
:param option: The name of the option
:type option: str
:param default_value: The default option value
:type default_value: str
:return: The option value, or default_value if not specified on command line
:rtype: str
"""
return _RobotRaconteurPython.CommandLineConfigParser_GetOptionOrDefaultAsString(self, *args)
def GetOptionOrDefaultAsBool(self, *args):
r"""
Get the option value as a bool
Returns default_value if option not specified on command line
:param option: The name of the option
:type option: bool
:param default_value: The default option value
:type default_value: bool
:return: The option value, or default_value if not specified on command line
:rtype: bool
"""
return _RobotRaconteurPython.CommandLineConfigParser_GetOptionOrDefaultAsBool(self, *args)
def GetOptionOrDefaultAsInt(self, *args):
r"""
Get the option value as an int
Returns default_value if option not specified on command line
:param option: The name of the option
:type option: str
:param default_value: The default option value
:type default_value: int
:return: The option value, or default_value if not specified on command line
:rtype: int
"""
return _RobotRaconteurPython.CommandLineConfigParser_GetOptionOrDefaultAsInt(self, *args)
__swig_destroy__ = _RobotRaconteurPython.delete_CommandLineConfigParser
# Register CommandLineConfigParser in _RobotRaconteurPython:
_RobotRaconteurPython.CommandLineConfigParser_swigregister(CommandLineConfigParser)
@_swig_add_metaclass(_SwigNonDynamicMeta)
class WrappedRobotRaconteurNodeSetup(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__setattr__ = _swig_setattr_nondynamic_instance_variable(object.__setattr__)
__repr__ = _swig_repr
def GetLocalTransport(self):
return _RobotRaconteurPython.WrappedRobotRaconteurNodeSetup_GetLocalTransport(self)
def GetIntraTransport(self):
return _RobotRaconteurPython.WrappedRobotRaconteurNodeSetup_GetIntraTransport(self)
def GetTcpTransport(self):
return _RobotRaconteurPython.WrappedRobotRaconteurNodeSetup_GetTcpTransport(self)
def GetHardwareTransport(self):
return _RobotRaconteurPython.WrappedRobotRaconteurNodeSetup_GetHardwareTransport(self)
def GetCommandLineConfig(self):
return _RobotRaconteurPython.WrappedRobotRaconteurNodeSetup_GetCommandLineConfig(self)
def ReleaseNode(self):
return _RobotRaconteurPython.WrappedRobotRaconteurNodeSetup_ReleaseNode(self)
__swig_destroy__ = _RobotRaconteurPython.delete_WrappedRobotRaconteurNodeSetup
def __init__(self, *args):
_RobotRaconteurPython.WrappedRobotRaconteurNodeSetup_swiginit(self, _RobotRaconteurPython.new_WrappedRobotRaconteurNodeSetup(*args))
# Register WrappedRobotRaconteurNodeSetup in _RobotRaconteurPython:
_RobotRaconteurPython.WrappedRobotRaconteurNodeSetup_swigregister(WrappedRobotRaconteurNodeSetup)
@_swig_add_metaclass(_SwigNonDynamicMeta)
class BroadcastDownsampler(object):
r"""
Downsampler to manage rate of packets sent to client
PipeBroadcaster and WireBroadcaster by default sends packets to all clients when
a pipe packet is sent or the wire value is changed. The updates typically happen
within a sensor or control loop, with the rate set by the specific device producing
the updates. Some clients may require less frequent data, and may run in to bandwidth
or processing issues if the data is sent at the full update rate. The BroadcastDownsampler
is used to implement broadcaster predicates that will drop packets.
Clients specify how many packets they want dropped between each packet sent. For instance,
a downsample of 0 means that no packets are dropped. A downsample of 1 will drop every other
packet. A downsample of two will drop 2 packets between sending 1 packet, etc. The
downsample level for each client is set using SetClientDownsample(). This should be
made available to the client using a property member.
PipeBroadcaster and WireBroadcaster must be added to the downsampler
using AddPipeBroadcaster() and AddWireBroadcaster(), respectively.
It is recommended that these functions be called within
the RRServiceObjectInit(context,servicepath) function that is called
by the node when a service object is initialized.
BeginStep() and EndStep() must be called for each iteration of the
broadcasting loop. Use BroadcastDownsamplerStep for automatic
management in the loop.
See com.robotraconteur.isoch.IsochDevice for the standard use
of downsampling.
"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__setattr__ = _swig_setattr_nondynamic_instance_variable(object.__setattr__)
__repr__ = _swig_repr
def __init__(self,context,default_downsample = 0):
"""
Initialize the BroadcastDownsampler
:param context: The ServerContext of the service
:type context: ServerContext
:param default_downsample: The default downsample for clients
:type default_downsample: int
"""
#This is a shadowed function
_RobotRaconteurPython.BroadcastDownsampler_swiginit(self, _RobotRaconteurPython.new_BroadcastDownsampler())
self._Init(context, default_downsample)
def _Init(self, context, default_downsample=0):
return _RobotRaconteurPython.BroadcastDownsampler__Init(self, context, default_downsample)
def GetClientDownsample(self, ep):
r"""
Get the downsample for the specified client
:param ep: The endpoint ID of the client
:type ep: int
:return: The downsample
:rtype: int
"""
return _RobotRaconteurPython.BroadcastDownsampler_GetClientDownsample(self, ep)
def SetClientDownsample(self, ep, downsample):
r"""
Set the downsample for the specified client
:param ep: The endpoint ID of the client
:type ep: int
:param downsample: The desired downsample
:type downsample: int
"""
return _RobotRaconteurPython.BroadcastDownsampler_SetClientDownsample(self, ep, downsample)
def BeginStep(self):
r"""
Begin the update loop step
Use BroadcastDownsamplerStep for automatic stepping
"""
return _RobotRaconteurPython.BroadcastDownsampler_BeginStep(self)
def EndStep(self):
r"""
End the update loop step
Use BroadcastDownsamplerStep for automatic stepping
"""
return _RobotRaconteurPython.BroadcastDownsampler_EndStep(self)
def _AddPipeBroadcaster(self, broadcaster):
return _RobotRaconteurPython.BroadcastDownsampler__AddPipeBroadcaster(self, broadcaster)
def _AddWireBroadcaster(self, broadcaster):
return _RobotRaconteurPython.BroadcastDownsampler__AddWireBroadcaster(self, broadcaster)
def AddPipeBroadcaster(self, broadcaster):
"""
Add a PipeBroadcaster to the downsampler
Sets the predicate of the broadcaster to this downsampler
:param broadcaster: The pipe broadcaster to add
:type broadcaster: PipeBroadcaster
"""
self._AddPipeBroadcaster(broadcaster._innerpipe)
def AddWireBroadcaster(self, broadcaster):
"""
Add a WireBroadcaster to the downsampler
Sets the predicate of the broadcaster to this downsampler
:param broadcaster: The pipe broadcaster to add
:type broadcaster: PipeBroadcaster
"""
self._AddWireBroadcaster(broadcaster._innerpipe)
__swig_destroy__ = _RobotRaconteurPython.delete_BroadcastDownsampler
# Register BroadcastDownsampler in _RobotRaconteurPython:
_RobotRaconteurPython.BroadcastDownsampler_swigregister(BroadcastDownsampler)
class RRNativeDirectorSupport(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
@staticmethod
def Start():
return _RobotRaconteurPython.RRNativeDirectorSupport_Start()
@staticmethod
def Stop():
return _RobotRaconteurPython.RRNativeDirectorSupport_Stop()
@staticmethod
def IsRunning():
return _RobotRaconteurPython.RRNativeDirectorSupport_IsRunning()
def __init__(self):
_RobotRaconteurPython.RRNativeDirectorSupport_swiginit(self, _RobotRaconteurPython.new_RRNativeDirectorSupport())
__swig_destroy__ = _RobotRaconteurPython.delete_RRNativeDirectorSupport
# Register RRNativeDirectorSupport in _RobotRaconteurPython:
_RobotRaconteurPython.RRNativeDirectorSupport_swigregister(RRNativeDirectorSupport)
def RRNativeDirectorSupport_Start():
return _RobotRaconteurPython.RRNativeDirectorSupport_Start()
def RRNativeDirectorSupport_Stop():
return _RobotRaconteurPython.RRNativeDirectorSupport_Stop()
def RRNativeDirectorSupport_IsRunning():
return _RobotRaconteurPython.RRNativeDirectorSupport_IsRunning()
def SetPythonTracebackPrintExc(value):
return _RobotRaconteurPython.SetPythonTracebackPrintExc(value)
import datetime
try:
import numpy
except:
pass
import weakref
import atexit
@atexit.register
def RobotRaconteur_cleanup():
RobotRaconteurNode.s.Shutdown()
RRNativeDirectorSupport.Stop()
RRNativeDirectorSupport.Start()
|