summaryrefslogtreecommitdiff
path: root/TAO/tao/RTCORBAC.h
blob: 56423cd201cc6c87727bb18ed7b2237449136409 (plain)
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
/* -*- C++ -*- $Id$ */

// ******  Code generated by the The ACE ORB (TAO) IDL Compiler *******
// TAO and the TAO IDL Compiler have been developed by the Center for
// Distributed Object Computing at Washington University, St. Louis.
//
// Information about TAO is available at:
//                 http://www.cs.wustl.edu/~schmidt/TAO.html

#ifndef _TAO_IDL_ORIG_RTCORBAC_H_
#define _TAO_IDL_ORIG_RTCORBAC_H_

#include "ace/pre.h"
#include "tao/orbconf.h"

#if (TAO_HAS_RT_CORBA == 1)

#include "corbafwd.h"

#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */

#include "IOPC.h"
#include "tao/PolicyC.h"
#include "TimeBaseC.h"

#include "tao/Encodable.h"

#if defined (TAO_EXPORT_MACRO)
#undef TAO_EXPORT_MACRO
#endif
#define TAO_EXPORT_MACRO TAO_Export

#if defined (TAO_EXPORT_NESTED_CLASSES)
#  if defined (TAO_EXPORT_NESTED_MACRO)
#    undef TAO_EXPORT_NESTED_MACRO
#  endif /* defined (TAO_EXPORT_NESTED_MACRO) */
#  define TAO_EXPORT_NESTED_MACRO TAO_Export
#endif /* TAO_EXPORT_NESTED_CLASSES */

#if defined(_MSC_VER)
#if (_MSC_VER >= 1200)
#pragma warning(push)
#endif /* _MSC_VER >= 1200 */
#pragma warning(disable:4250)
#endif /* _MSC_VER */

class TAO_Priority_Mapping;

TAO_NAMESPACE  RTCORBA
{
  typedef CORBA::Short NativePriority;
  typedef CORBA::Short_out NativePriority_out;
    TAO_NAMESPACE_STORAGE_CLASS CORBA::TypeCode_ptr _tc_NativePriority;

  typedef CORBA::Short Priority;
  typedef CORBA::Short_out Priority_out;
    TAO_NAMESPACE_STORAGE_CLASS CORBA::TypeCode_ptr _tc_Priority;

  TAO_NAMESPACE_STORAGE_CLASS const CORBA::Short minPriority;

  TAO_NAMESPACE_STORAGE_CLASS const CORBA::Short maxPriority;

  typedef TAO_Priority_Mapping PriorityMapping;
  typedef CORBA::ULong ThreadpoolId;
  typedef CORBA::ULong_out ThreadpoolId_out;
    TAO_NAMESPACE_STORAGE_CLASS CORBA::TypeCode_ptr _tc_ThreadpoolId;

  struct ThreadpoolLane;
  class ThreadpoolLane_var;

  struct TAO_Export ThreadpoolLane
  {

#if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
    typedef ThreadpoolLane_var _var_type;
#endif /* ! __GNUC__ || g++ >= 2.8 */

    static void _tao_any_destructor (void*);

    ACE_NESTED_CLASS (RTCORBA, Priority) lane_priority;
    CORBA::ULong static_threads;
    CORBA::ULong dynamic_threads;
  };

  class TAO_Export ThreadpoolLane_var
  {
  public:
    ThreadpoolLane_var (void); // default constructor
    ThreadpoolLane_var (ThreadpoolLane *);
    ThreadpoolLane_var (const ThreadpoolLane_var &); // copy constructor
    ThreadpoolLane_var (const ThreadpoolLane &); // fixed-size types only
    ~ThreadpoolLane_var (void); // destructor

    ThreadpoolLane_var &operator= (ThreadpoolLane *);
    ThreadpoolLane_var &operator= (const ThreadpoolLane_var &);
    ThreadpoolLane_var &operator= (const ThreadpoolLane &); // fixed-size types only
    ThreadpoolLane *operator-> (void);
    const ThreadpoolLane *operator-> (void) const;

    operator const ThreadpoolLane &() const;
    operator ThreadpoolLane &();
    operator ThreadpoolLane &() const;

    // in, inout, out, _retn
    const ThreadpoolLane &in (void) const;
    ThreadpoolLane &inout (void);
    ThreadpoolLane &out (void);
    ThreadpoolLane _retn (void);
    ThreadpoolLane *ptr (void) const;

  private:
    ThreadpoolLane *ptr_;
  };

  typedef ThreadpoolLane &ThreadpoolLane_out;

  TAO_NAMESPACE_STORAGE_CLASS CORBA::TypeCode_ptr _tc_ThreadpoolLane;


#if !defined (TAO_USE_SEQUENCE_TEMPLATES)

#if !defined (__TAO_UNBOUNDED_SEQUENCE_RTCORBA_THREADPOOLLANES_CH_)
#define __TAO_UNBOUNDED_SEQUENCE_RTCORBA_THREADPOOLLANES_CH_

    class TAO_EXPORT_NESTED_MACRO _TAO_Unbounded_Sequence_RTCORBA_ThreadpoolLanes : public TAO_Unbounded_Base_Sequence
    {
    public:
      // = Initialization and termination methods.

      _TAO_Unbounded_Sequence_RTCORBA_ThreadpoolLanes (void); // Default constructor.
      _TAO_Unbounded_Sequence_RTCORBA_ThreadpoolLanes (CORBA::ULong maximum);
      _TAO_Unbounded_Sequence_RTCORBA_ThreadpoolLanes (CORBA::ULong maximum,
        CORBA::ULong length,
        ThreadpoolLane *data,
        CORBA::Boolean release = 0);
      _TAO_Unbounded_Sequence_RTCORBA_ThreadpoolLanes (const _TAO_Unbounded_Sequence_RTCORBA_ThreadpoolLanes &rhs);
      _TAO_Unbounded_Sequence_RTCORBA_ThreadpoolLanes &operator= (const _TAO_Unbounded_Sequence_RTCORBA_ThreadpoolLanes &rhs);
      virtual ~_TAO_Unbounded_Sequence_RTCORBA_ThreadpoolLanes (void); // Dtor.
      // = Accessors.
      ThreadpoolLane &operator[] (CORBA::ULong i);
      const ThreadpoolLane &operator[] (CORBA::ULong i) const;
      // = Static operations.
      static ThreadpoolLane *allocbuf (CORBA::ULong size);
      static void freebuf (ThreadpoolLane *buffer);
      virtual void _allocate_buffer (CORBA::ULong length);
      virtual void _deallocate_buffer (void);
      // Implement the TAO_Base_Sequence methods (see Sequence.h)

      ThreadpoolLane *get_buffer (CORBA::Boolean orphan = 0);
      const ThreadpoolLane *get_buffer (void) const;
      void replace (CORBA::ULong max,
        CORBA::ULong length,
        ThreadpoolLane *data,
        CORBA::Boolean release);
    };

#endif /* end #if !defined */


#endif /* !TAO_USE_SEQUENCE_TEMPLATES */

#if !defined (_RTCORBA_THREADPOOLLANES_CH_)
#define _RTCORBA_THREADPOOLLANES_CH_

  class ThreadpoolLanes;
  class ThreadpoolLanes_var;

  // *************************************************************
  // ThreadpoolLanes
  // *************************************************************

  class TAO_Export ThreadpoolLanes : public
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
    _TAO_Unbounded_Sequence_RTCORBA_ThreadpoolLanes
#else /* TAO_USE_SEQUENCE_TEMPLATES */
    TAO_Unbounded_Sequence<ThreadpoolLane>
#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
  {
  public:
    ThreadpoolLanes (void); // default ctor
    ThreadpoolLanes (CORBA::ULong max); // uses max size
    ThreadpoolLanes (
      CORBA::ULong max,
      CORBA::ULong length,
      ThreadpoolLane *buffer,
      CORBA::Boolean release=0
    );
    ThreadpoolLanes (const ThreadpoolLanes &); // copy ctor
    ~ThreadpoolLanes (void);
    static void _tao_any_destructor (void*);

#if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
    typedef ThreadpoolLanes_var _var_type;
#endif /* ! __GNUC__ || g++ >= 2.8 */

  };

#endif /* end #if !defined */


#if !defined (_RTCORBA_THREADPOOLLANES___VAR_CH_)
#define _RTCORBA_THREADPOOLLANES___VAR_CH_

  // *************************************************************
  // class RTCORBA::ThreadpoolLanes_var
  // *************************************************************

  class TAO_Export ThreadpoolLanes_var
  {
  public:
    ThreadpoolLanes_var (void); // default constructor
    ThreadpoolLanes_var (ThreadpoolLanes *);
    ThreadpoolLanes_var (const ThreadpoolLanes_var &); // copy constructor
    ThreadpoolLanes_var (const ThreadpoolLanes &); // fixed-size base types only
    ~ThreadpoolLanes_var (void); // destructor

    ThreadpoolLanes_var &operator= (ThreadpoolLanes *);
    ThreadpoolLanes_var &operator= (const ThreadpoolLanes_var &);
    ThreadpoolLanes_var &operator= (const ThreadpoolLanes &); // fixed-size base types only
    ThreadpoolLanes *operator-> (void);
    const ThreadpoolLanes *operator-> (void) const;

    operator const ThreadpoolLanes &() const;
    operator ThreadpoolLanes &();
    operator ThreadpoolLanes &() const;

    ThreadpoolLane &operator[] (CORBA::ULong index);
    // in, inout, out, _retn
    const ThreadpoolLanes &in (void) const;
    ThreadpoolLanes &inout (void);
    ThreadpoolLanes *&out (void);
    ThreadpoolLanes *_retn (void);
    ThreadpoolLanes *ptr (void) const;

  private:
    ThreadpoolLanes *ptr_;
  };


#endif /* end #if !defined */


#if !defined (_RTCORBA_THREADPOOLLANES___OUT_CH_)
#define _RTCORBA_THREADPOOLLANES___OUT_CH_

  class TAO_Export ThreadpoolLanes_out
  {
  public:
    ThreadpoolLanes_out (ThreadpoolLanes *&);
    ThreadpoolLanes_out (ThreadpoolLanes_var &);
    ThreadpoolLanes_out (const ThreadpoolLanes_out &);
    ThreadpoolLanes_out &operator= (const ThreadpoolLanes_out &);
    ThreadpoolLanes_out &operator= (ThreadpoolLanes *);
    operator ThreadpoolLanes *&();
    ThreadpoolLanes *&ptr (void);
    ThreadpoolLanes *operator-> (void);
    ThreadpoolLane &operator[] (CORBA::ULong index);

  private:
    ThreadpoolLanes *&ptr_;
    // assignment from T_var not allowed
    void operator= (const ThreadpoolLanes_var &);
  };


#endif /* end #if !defined */

  TAO_NAMESPACE_STORAGE_CLASS CORBA::TypeCode_ptr _tc_ThreadpoolLanes;

  TAO_NAMESPACE_STORAGE_CLASS const CORBA::ULong PRIORITY_MODEL_POLICY_TYPE;

  enum PriorityModel
  {
        CLIENT_PROPAGATED,
        SERVER_DECLARED
  };
  typedef PriorityModel &PriorityModel_out;
  TAO_NAMESPACE_STORAGE_CLASS CORBA::TypeCode_ptr _tc_PriorityModel;


#if !defined (_RTCORBA_PRIORITYMODELPOLICY___PTR_CH_)
#define _RTCORBA_PRIORITYMODELPOLICY___PTR_CH_

  class PriorityModelPolicy;
  typedef PriorityModelPolicy *PriorityModelPolicy_ptr;

#endif /* end #if !defined */


#if !defined (_RTCORBA_PRIORITYMODELPOLICY___VAR_CH_)
#define _RTCORBA_PRIORITYMODELPOLICY___VAR_CH_

  class TAO_Export PriorityModelPolicy_var : public TAO_Base_var
  {
  public:
    PriorityModelPolicy_var (void); // default constructor
    PriorityModelPolicy_var (PriorityModelPolicy_ptr);
    PriorityModelPolicy_var (const PriorityModelPolicy_var &); // copy constructor
    ~PriorityModelPolicy_var (void); // destructor

    PriorityModelPolicy_var &operator= (PriorityModelPolicy_ptr);
    PriorityModelPolicy_var &operator= (const PriorityModelPolicy_var &);
    PriorityModelPolicy_ptr operator-> (void) const;

    operator const PriorityModelPolicy_ptr &() const;
    operator PriorityModelPolicy_ptr &();
    // in, inout, out, _retn
    PriorityModelPolicy_ptr in (void) const;
    PriorityModelPolicy_ptr &inout (void);
    PriorityModelPolicy_ptr &out (void);
    PriorityModelPolicy_ptr _retn (void);
    PriorityModelPolicy_ptr ptr (void) const;

  private:
    PriorityModelPolicy_ptr ptr_;
    // Unimplemented - prevents widening assignment.
    PriorityModelPolicy_var (const TAO_Base_var &rhs);
    PriorityModelPolicy_var &operator= (const TAO_Base_var &rhs);
  };


#endif /* end #if !defined */


#if !defined (_RTCORBA_PRIORITYMODELPOLICY___OUT_CH_)
#define _RTCORBA_PRIORITYMODELPOLICY___OUT_CH_

  class TAO_Export PriorityModelPolicy_out
  {
  public:
    PriorityModelPolicy_out (PriorityModelPolicy_ptr &);
    PriorityModelPolicy_out (PriorityModelPolicy_var &);
    PriorityModelPolicy_out (const PriorityModelPolicy_out &);
    PriorityModelPolicy_out &operator= (const PriorityModelPolicy_out &);
    PriorityModelPolicy_out &operator= (const PriorityModelPolicy_var &);
    PriorityModelPolicy_out &operator= (PriorityModelPolicy_ptr);
    operator PriorityModelPolicy_ptr &();
    PriorityModelPolicy_ptr &ptr (void);
    PriorityModelPolicy_ptr operator-> (void);

  private:
    PriorityModelPolicy_ptr &ptr_;
  };


#endif /* end #if !defined */


#if !defined (_RTCORBA_PRIORITYMODELPOLICY_CH_)
#define _RTCORBA_PRIORITYMODELPOLICY_CH_

class TAO_Export PriorityModelPolicy: public virtual CORBA::Policy
  {
  public:
  #if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
    typedef PriorityModelPolicy_ptr _ptr_type;
    typedef PriorityModelPolicy_var _var_type;
  #endif /* ! __GNUC__ || g++ >= 2.8 */

    // the static operations
    static PriorityModelPolicy_ptr _duplicate (PriorityModelPolicy_ptr obj);
    static PriorityModelPolicy_ptr _narrow (
        CORBA::Object_ptr obj,
        CORBA::Environment &ACE_TRY_ENV =
          TAO_default_environment ()
      );
    static PriorityModelPolicy_ptr _unchecked_narrow (
        CORBA::Object_ptr obj,
        CORBA::Environment &ACE_TRY_ENV =
          TAO_default_environment ()
      );
    static PriorityModelPolicy_ptr _nil (void)
      {
        return (PriorityModelPolicy_ptr)0;
      }

    virtual RTCORBA::PriorityModel priority_model (
        CORBA::Environment &ACE_TRY_ENV =
          TAO_default_environment ()
      )
      ACE_THROW_SPEC ((
        CORBA::SystemException
      )) = 0;

    virtual RTCORBA::Priority server_priority (
        CORBA::Environment &ACE_TRY_ENV =
          TAO_default_environment ()
      )
      ACE_THROW_SPEC ((
        CORBA::SystemException
      )) = 0;

    virtual void *_tao_QueryInterface (ptr_arith_t type);

    virtual const char* _interface_repository_id (void) const;

  protected:
    PriorityModelPolicy (void);
    virtual ~PriorityModelPolicy (void);
  private:
    PriorityModelPolicy (const PriorityModelPolicy &);
    void operator= (const PriorityModelPolicy &);
  };


#endif /* end #if !defined */

  TAO_NAMESPACE_STORAGE_CLASS const CORBA::ULong THREADPOOL_POLICY_TYPE;


#if !defined (_RTCORBA_THREADPOOLPOLICY___PTR_CH_)
#define _RTCORBA_THREADPOOLPOLICY___PTR_CH_

  class ThreadpoolPolicy;
  typedef ThreadpoolPolicy *ThreadpoolPolicy_ptr;

#endif /* end #if !defined */


#if !defined (_RTCORBA_THREADPOOLPOLICY___VAR_CH_)
#define _RTCORBA_THREADPOOLPOLICY___VAR_CH_

  class TAO_Export ThreadpoolPolicy_var : public TAO_Base_var
  {
  public:
    ThreadpoolPolicy_var (void); // default constructor
    ThreadpoolPolicy_var (ThreadpoolPolicy_ptr);
    ThreadpoolPolicy_var (const ThreadpoolPolicy_var &); // copy constructor
    ~ThreadpoolPolicy_var (void); // destructor

    ThreadpoolPolicy_var &operator= (ThreadpoolPolicy_ptr);
    ThreadpoolPolicy_var &operator= (const ThreadpoolPolicy_var &);
    ThreadpoolPolicy_ptr operator-> (void) const;

    operator const ThreadpoolPolicy_ptr &() const;
    operator ThreadpoolPolicy_ptr &();
    // in, inout, out, _retn
    ThreadpoolPolicy_ptr in (void) const;
    ThreadpoolPolicy_ptr &inout (void);
    ThreadpoolPolicy_ptr &out (void);
    ThreadpoolPolicy_ptr _retn (void);
    ThreadpoolPolicy_ptr ptr (void) const;

  private:
    ThreadpoolPolicy_ptr ptr_;
    // Unimplemented - prevents widening assignment.
    ThreadpoolPolicy_var (const TAO_Base_var &rhs);
    ThreadpoolPolicy_var &operator= (const TAO_Base_var &rhs);
  };


#endif /* end #if !defined */


#if !defined (_RTCORBA_THREADPOOLPOLICY___OUT_CH_)
#define _RTCORBA_THREADPOOLPOLICY___OUT_CH_

  class TAO_Export ThreadpoolPolicy_out
  {
  public:
    ThreadpoolPolicy_out (ThreadpoolPolicy_ptr &);
    ThreadpoolPolicy_out (ThreadpoolPolicy_var &);
    ThreadpoolPolicy_out (const ThreadpoolPolicy_out &);
    ThreadpoolPolicy_out &operator= (const ThreadpoolPolicy_out &);
    ThreadpoolPolicy_out &operator= (const ThreadpoolPolicy_var &);
    ThreadpoolPolicy_out &operator= (ThreadpoolPolicy_ptr);
    operator ThreadpoolPolicy_ptr &();
    ThreadpoolPolicy_ptr &ptr (void);
    ThreadpoolPolicy_ptr operator-> (void);

  private:
    ThreadpoolPolicy_ptr &ptr_;
  };


#endif /* end #if !defined */


#if !defined (_RTCORBA_THREADPOOLPOLICY_CH_)
#define _RTCORBA_THREADPOOLPOLICY_CH_

class TAO_Export ThreadpoolPolicy: public virtual CORBA::Policy
  {
  public:
  #if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
    typedef ThreadpoolPolicy_ptr _ptr_type;
    typedef ThreadpoolPolicy_var _var_type;
  #endif /* ! __GNUC__ || g++ >= 2.8 */

    // the static operations
    static ThreadpoolPolicy_ptr _duplicate (ThreadpoolPolicy_ptr obj);
    static ThreadpoolPolicy_ptr _narrow (
        CORBA::Object_ptr obj,
        CORBA::Environment &ACE_TRY_ENV =
          TAO_default_environment ()
      );
    static ThreadpoolPolicy_ptr _unchecked_narrow (
        CORBA::Object_ptr obj,
        CORBA::Environment &ACE_TRY_ENV =
          TAO_default_environment ()
      );
    static ThreadpoolPolicy_ptr _nil (void)
      {
        return (ThreadpoolPolicy_ptr)0;
      }

    virtual RTCORBA::ThreadpoolId threadpool (
        CORBA::Environment &ACE_TRY_ENV =
          TAO_default_environment ()
      )
      ACE_THROW_SPEC ((
        CORBA::SystemException
      )) = 0;

    virtual void *_tao_QueryInterface (ptr_arith_t type);

    virtual const char* _interface_repository_id (void) const;

  protected:
    ThreadpoolPolicy (void);
    virtual ~ThreadpoolPolicy (void);
  private:
    ThreadpoolPolicy (const ThreadpoolPolicy &);
    void operator= (const ThreadpoolPolicy &);
  };


#endif /* end #if !defined */

  TAO_NAMESPACE_STORAGE_CLASS const CORBA::ULong PRIVATE_CONNECTION_POLICY_TYPE;


#if !defined (_RTCORBA_PRIVATECONNECTIONPOLICY___PTR_CH_)
#define _RTCORBA_PRIVATECONNECTIONPOLICY___PTR_CH_

  class PrivateConnectionPolicy;
  typedef PrivateConnectionPolicy *PrivateConnectionPolicy_ptr;

#endif /* end #if !defined */


#if !defined (_RTCORBA_PRIVATECONNECTIONPOLICY___VAR_CH_)
#define _RTCORBA_PRIVATECONNECTIONPOLICY___VAR_CH_

  class TAO_Export PrivateConnectionPolicy_var : public TAO_Base_var
  {
  public:
    PrivateConnectionPolicy_var (void); // default constructor
    PrivateConnectionPolicy_var (PrivateConnectionPolicy_ptr);
    PrivateConnectionPolicy_var (const PrivateConnectionPolicy_var &); // copy constructor
    ~PrivateConnectionPolicy_var (void); // destructor

    PrivateConnectionPolicy_var &operator= (PrivateConnectionPolicy_ptr);
    PrivateConnectionPolicy_var &operator= (const PrivateConnectionPolicy_var &);
    PrivateConnectionPolicy_ptr operator-> (void) const;

    operator const PrivateConnectionPolicy_ptr &() const;
    operator PrivateConnectionPolicy_ptr &();
    // in, inout, out, _retn
    PrivateConnectionPolicy_ptr in (void) const;
    PrivateConnectionPolicy_ptr &inout (void);
    PrivateConnectionPolicy_ptr &out (void);
    PrivateConnectionPolicy_ptr _retn (void);
    PrivateConnectionPolicy_ptr ptr (void) const;

  private:
    PrivateConnectionPolicy_ptr ptr_;
    // Unimplemented - prevents widening assignment.
    PrivateConnectionPolicy_var (const TAO_Base_var &rhs);
    PrivateConnectionPolicy_var &operator= (const TAO_Base_var &rhs);
  };


#endif /* end #if !defined */


#if !defined (_RTCORBA_PRIVATECONNECTIONPOLICY___OUT_CH_)
#define _RTCORBA_PRIVATECONNECTIONPOLICY___OUT_CH_

  class TAO_Export PrivateConnectionPolicy_out
  {
  public:
    PrivateConnectionPolicy_out (PrivateConnectionPolicy_ptr &);
    PrivateConnectionPolicy_out (PrivateConnectionPolicy_var &);
    PrivateConnectionPolicy_out (const PrivateConnectionPolicy_out &);
    PrivateConnectionPolicy_out &operator= (const PrivateConnectionPolicy_out &);
    PrivateConnectionPolicy_out &operator= (const PrivateConnectionPolicy_var &);
    PrivateConnectionPolicy_out &operator= (PrivateConnectionPolicy_ptr);
    operator PrivateConnectionPolicy_ptr &();
    PrivateConnectionPolicy_ptr &ptr (void);
    PrivateConnectionPolicy_ptr operator-> (void);

  private:
    PrivateConnectionPolicy_ptr &ptr_;
  };


#endif /* end #if !defined */


#if !defined (_RTCORBA_PRIVATECONNECTIONPOLICY_CH_)
#define _RTCORBA_PRIVATECONNECTIONPOLICY_CH_

class TAO_Export PrivateConnectionPolicy: public virtual CORBA::Policy
  {
  public:
  #if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
    typedef PrivateConnectionPolicy_ptr _ptr_type;
    typedef PrivateConnectionPolicy_var _var_type;
  #endif /* ! __GNUC__ || g++ >= 2.8 */

    // the static operations
    static PrivateConnectionPolicy_ptr _duplicate (PrivateConnectionPolicy_ptr obj);
    static PrivateConnectionPolicy_ptr _narrow (
        CORBA::Object_ptr obj,
        CORBA::Environment &ACE_TRY_ENV =
          TAO_default_environment ()
      );
    static PrivateConnectionPolicy_ptr _unchecked_narrow (
        CORBA::Object_ptr obj,
        CORBA::Environment &ACE_TRY_ENV =
          TAO_default_environment ()
      );
    static PrivateConnectionPolicy_ptr _nil (void)
      {
        return (PrivateConnectionPolicy_ptr)0;
      }

    virtual void *_tao_QueryInterface (ptr_arith_t type);

    virtual const char* _interface_repository_id (void) const;

  protected:
    PrivateConnectionPolicy (void);
    virtual ~PrivateConnectionPolicy (void);
  private:
    PrivateConnectionPolicy (const PrivateConnectionPolicy &);
    void operator= (const PrivateConnectionPolicy &);
  };


#endif /* end #if !defined */

  struct PriorityBand;
  class PriorityBand_var;

  struct TAO_Export PriorityBand
  {

#if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
    typedef PriorityBand_var _var_type;
#endif /* ! __GNUC__ || g++ >= 2.8 */

    static void _tao_any_destructor (void*);

    ACE_NESTED_CLASS (RTCORBA, Priority) low;
    ACE_NESTED_CLASS (RTCORBA, Priority) high;
  };

  class TAO_Export PriorityBand_var
  {
  public:
    PriorityBand_var (void); // default constructor
    PriorityBand_var (PriorityBand *);
    PriorityBand_var (const PriorityBand_var &); // copy constructor
    PriorityBand_var (const PriorityBand &); // fixed-size types only
    ~PriorityBand_var (void); // destructor

    PriorityBand_var &operator= (PriorityBand *);
    PriorityBand_var &operator= (const PriorityBand_var &);
    PriorityBand_var &operator= (const PriorityBand &); // fixed-size types only
    PriorityBand *operator-> (void);
    const PriorityBand *operator-> (void) const;

    operator const PriorityBand &() const;
    operator PriorityBand &();
    operator PriorityBand &() const;

    // in, inout, out, _retn
    const PriorityBand &in (void) const;
    PriorityBand &inout (void);
    PriorityBand &out (void);
    PriorityBand _retn (void);
    PriorityBand *ptr (void) const;

  private:
    PriorityBand *ptr_;
  };

  typedef PriorityBand &PriorityBand_out;

  TAO_NAMESPACE_STORAGE_CLASS CORBA::TypeCode_ptr _tc_PriorityBand;


#if !defined (TAO_USE_SEQUENCE_TEMPLATES)

#if !defined (__TAO_UNBOUNDED_SEQUENCE_RTCORBA_PRIORITYBANDS_CH_)
#define __TAO_UNBOUNDED_SEQUENCE_RTCORBA_PRIORITYBANDS_CH_

    class TAO_EXPORT_NESTED_MACRO _TAO_Unbounded_Sequence_RTCORBA_PriorityBands : public TAO_Unbounded_Base_Sequence
    {
    public:
      // = Initialization and termination methods.

      _TAO_Unbounded_Sequence_RTCORBA_PriorityBands (void); // Default constructor.
      _TAO_Unbounded_Sequence_RTCORBA_PriorityBands (CORBA::ULong maximum);
      _TAO_Unbounded_Sequence_RTCORBA_PriorityBands (CORBA::ULong maximum,
        CORBA::ULong length,
        PriorityBand *data,
        CORBA::Boolean release = 0);
      _TAO_Unbounded_Sequence_RTCORBA_PriorityBands (const _TAO_Unbounded_Sequence_RTCORBA_PriorityBands &rhs);
      _TAO_Unbounded_Sequence_RTCORBA_PriorityBands &operator= (const _TAO_Unbounded_Sequence_RTCORBA_PriorityBands &rhs);
      virtual ~_TAO_Unbounded_Sequence_RTCORBA_PriorityBands (void); // Dtor.
      // = Accessors.
      PriorityBand &operator[] (CORBA::ULong i);
      const PriorityBand &operator[] (CORBA::ULong i) const;
      // = Static operations.
      static PriorityBand *allocbuf (CORBA::ULong size);
      static void freebuf (PriorityBand *buffer);
      virtual void _allocate_buffer (CORBA::ULong length);
      virtual void _deallocate_buffer (void);
      // Implement the TAO_Base_Sequence methods (see Sequence.h)

      PriorityBand *get_buffer (CORBA::Boolean orphan = 0);
      const PriorityBand *get_buffer (void) const;
      void replace (CORBA::ULong max,
        CORBA::ULong length,
        PriorityBand *data,
        CORBA::Boolean release);
    };

#endif /* end #if !defined */


#endif /* !TAO_USE_SEQUENCE_TEMPLATES */

#if !defined (_RTCORBA_PRIORITYBANDS_CH_)
#define _RTCORBA_PRIORITYBANDS_CH_

  class PriorityBands;
  class PriorityBands_var;

  // *************************************************************
  // PriorityBands
  // *************************************************************

  class TAO_Export PriorityBands : public
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
    _TAO_Unbounded_Sequence_RTCORBA_PriorityBands
#else /* TAO_USE_SEQUENCE_TEMPLATES */
    TAO_Unbounded_Sequence<PriorityBand>
#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
  {
  public:
    PriorityBands (void); // default ctor
    PriorityBands (CORBA::ULong max); // uses max size
    PriorityBands (
      CORBA::ULong max,
      CORBA::ULong length,
      PriorityBand *buffer,
      CORBA::Boolean release=0
    );
    PriorityBands (const PriorityBands &); // copy ctor
    ~PriorityBands (void);
    static void _tao_any_destructor (void*);

#if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
    typedef PriorityBands_var _var_type;
#endif /* ! __GNUC__ || g++ >= 2.8 */

  };

#endif /* end #if !defined */


#if !defined (_RTCORBA_PRIORITYBANDS___VAR_CH_)
#define _RTCORBA_PRIORITYBANDS___VAR_CH_

  // *************************************************************
  // class RTCORBA::PriorityBands_var
  // *************************************************************

  class TAO_Export PriorityBands_var
  {
  public:
    PriorityBands_var (void); // default constructor
    PriorityBands_var (PriorityBands *);
    PriorityBands_var (const PriorityBands_var &); // copy constructor
    PriorityBands_var (const PriorityBands &); // fixed-size base types only
    ~PriorityBands_var (void); // destructor

    PriorityBands_var &operator= (PriorityBands *);
    PriorityBands_var &operator= (const PriorityBands_var &);
    PriorityBands_var &operator= (const PriorityBands &); // fixed-size base types only
    PriorityBands *operator-> (void);
    const PriorityBands *operator-> (void) const;

    operator const PriorityBands &() const;
    operator PriorityBands &();
    operator PriorityBands &() const;

    PriorityBand &operator[] (CORBA::ULong index);
    // in, inout, out, _retn
    const PriorityBands &in (void) const;
    PriorityBands &inout (void);
    PriorityBands *&out (void);
    PriorityBands *_retn (void);
    PriorityBands *ptr (void) const;

  private:
    PriorityBands *ptr_;
  };


#endif /* end #if !defined */


#if !defined (_RTCORBA_PRIORITYBANDS___OUT_CH_)
#define _RTCORBA_PRIORITYBANDS___OUT_CH_

  class TAO_Export PriorityBands_out
  {
  public:
    PriorityBands_out (PriorityBands *&);
    PriorityBands_out (PriorityBands_var &);
    PriorityBands_out (const PriorityBands_out &);
    PriorityBands_out &operator= (const PriorityBands_out &);
    PriorityBands_out &operator= (PriorityBands *);
    operator PriorityBands *&();
    PriorityBands *&ptr (void);
    PriorityBands *operator-> (void);
    PriorityBand &operator[] (CORBA::ULong index);

  private:
    PriorityBands *&ptr_;
    // assignment from T_var not allowed
    void operator= (const PriorityBands_var &);
  };


#endif /* end #if !defined */

  TAO_NAMESPACE_STORAGE_CLASS CORBA::TypeCode_ptr _tc_PriorityBands;

  TAO_NAMESPACE_STORAGE_CLASS const CORBA::ULong PRIORITY_BANDED_CONNECTION_POLICY_TYPE;


#if !defined (_RTCORBA_PRIORITYBANDEDCONNECTIONPOLICY___PTR_CH_)
#define _RTCORBA_PRIORITYBANDEDCONNECTIONPOLICY___PTR_CH_

  class PriorityBandedConnectionPolicy;
  typedef PriorityBandedConnectionPolicy *PriorityBandedConnectionPolicy_ptr;

#endif /* end #if !defined */


#if !defined (_RTCORBA_PRIORITYBANDEDCONNECTIONPOLICY___VAR_CH_)
#define _RTCORBA_PRIORITYBANDEDCONNECTIONPOLICY___VAR_CH_

  class TAO_Export PriorityBandedConnectionPolicy_var : public TAO_Base_var
  {
  public:
    PriorityBandedConnectionPolicy_var (void); // default constructor
    PriorityBandedConnectionPolicy_var (PriorityBandedConnectionPolicy_ptr);
    PriorityBandedConnectionPolicy_var (const PriorityBandedConnectionPolicy_var &); // copy constructor
    ~PriorityBandedConnectionPolicy_var (void); // destructor

    PriorityBandedConnectionPolicy_var &operator= (PriorityBandedConnectionPolicy_ptr);
    PriorityBandedConnectionPolicy_var &operator= (const PriorityBandedConnectionPolicy_var &);
    PriorityBandedConnectionPolicy_ptr operator-> (void) const;

    operator const PriorityBandedConnectionPolicy_ptr &() const;
    operator PriorityBandedConnectionPolicy_ptr &();
    // in, inout, out, _retn
    PriorityBandedConnectionPolicy_ptr in (void) const;
    PriorityBandedConnectionPolicy_ptr &inout (void);
    PriorityBandedConnectionPolicy_ptr &out (void);
    PriorityBandedConnectionPolicy_ptr _retn (void);
    PriorityBandedConnectionPolicy_ptr ptr (void) const;

  private:
    PriorityBandedConnectionPolicy_ptr ptr_;
    // Unimplemented - prevents widening assignment.
    PriorityBandedConnectionPolicy_var (const TAO_Base_var &rhs);
    PriorityBandedConnectionPolicy_var &operator= (const TAO_Base_var &rhs);
  };


#endif /* end #if !defined */


#if !defined (_RTCORBA_PRIORITYBANDEDCONNECTIONPOLICY___OUT_CH_)
#define _RTCORBA_PRIORITYBANDEDCONNECTIONPOLICY___OUT_CH_

  class TAO_Export PriorityBandedConnectionPolicy_out
  {
  public:
    PriorityBandedConnectionPolicy_out (PriorityBandedConnectionPolicy_ptr &);
    PriorityBandedConnectionPolicy_out (PriorityBandedConnectionPolicy_var &);
    PriorityBandedConnectionPolicy_out (const PriorityBandedConnectionPolicy_out &);
    PriorityBandedConnectionPolicy_out &operator= (const PriorityBandedConnectionPolicy_out &);
    PriorityBandedConnectionPolicy_out &operator= (const PriorityBandedConnectionPolicy_var &);
    PriorityBandedConnectionPolicy_out &operator= (PriorityBandedConnectionPolicy_ptr);
    operator PriorityBandedConnectionPolicy_ptr &();
    PriorityBandedConnectionPolicy_ptr &ptr (void);
    PriorityBandedConnectionPolicy_ptr operator-> (void);

  private:
    PriorityBandedConnectionPolicy_ptr &ptr_;
  };


#endif /* end #if !defined */


#if !defined (_RTCORBA_PRIORITYBANDEDCONNECTIONPOLICY_CH_)
#define _RTCORBA_PRIORITYBANDEDCONNECTIONPOLICY_CH_

class TAO_Export PriorityBandedConnectionPolicy: public virtual CORBA::Policy
  {
  public:
  #if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
    typedef PriorityBandedConnectionPolicy_ptr _ptr_type;
    typedef PriorityBandedConnectionPolicy_var _var_type;
  #endif /* ! __GNUC__ || g++ >= 2.8 */

    // the static operations
    static PriorityBandedConnectionPolicy_ptr _duplicate (PriorityBandedConnectionPolicy_ptr obj);
    static PriorityBandedConnectionPolicy_ptr _narrow (
        CORBA::Object_ptr obj,
        CORBA::Environment &ACE_TRY_ENV =
          TAO_default_environment ()
      );
    static PriorityBandedConnectionPolicy_ptr _unchecked_narrow (
        CORBA::Object_ptr obj,
        CORBA::Environment &ACE_TRY_ENV =
          TAO_default_environment ()
      );
    static PriorityBandedConnectionPolicy_ptr _nil (void)
      {
        return (PriorityBandedConnectionPolicy_ptr)0;
      }

    virtual RTCORBA::PriorityBands * priority_bands (
        CORBA::Environment &ACE_TRY_ENV =
          TAO_default_environment ()
      )
      ACE_THROW_SPEC ((
        CORBA::SystemException
      )) = 0;

    virtual void *_tao_QueryInterface (ptr_arith_t type);

    virtual const char* _interface_repository_id (void) const;

  protected:
    PriorityBandedConnectionPolicy (void);
    virtual ~PriorityBandedConnectionPolicy (void);
  private:
    PriorityBandedConnectionPolicy (const PriorityBandedConnectionPolicy &);
    void operator= (const PriorityBandedConnectionPolicy &);
  };


#endif /* end #if !defined */


#if !defined (_RTCORBA_PROTOCOLPROPERTIES___PTR_CH_)
#define _RTCORBA_PROTOCOLPROPERTIES___PTR_CH_

  class ProtocolProperties;
  typedef ProtocolProperties *ProtocolProperties_ptr;

#endif /* end #if !defined */


#if !defined (_RTCORBA_PROTOCOLPROPERTIES___VAR_CH_)
#define _RTCORBA_PROTOCOLPROPERTIES___VAR_CH_

  class TAO_Export ProtocolProperties_var : public TAO_Base_var
  {
  public:
    ProtocolProperties_var (void); // default constructor
    ProtocolProperties_var (ProtocolProperties_ptr);
    ProtocolProperties_var (const ProtocolProperties_var &); // copy constructor
    ~ProtocolProperties_var (void); // destructor

    ProtocolProperties_var &operator= (ProtocolProperties_ptr);
    ProtocolProperties_var &operator= (const ProtocolProperties_var &);
    ProtocolProperties_ptr operator-> (void) const;

    operator const ProtocolProperties_ptr &() const;
    operator ProtocolProperties_ptr &();
    // in, inout, out, _retn
    ProtocolProperties_ptr in (void) const;
    ProtocolProperties_ptr &inout (void);
    ProtocolProperties_ptr &out (void);
    ProtocolProperties_ptr _retn (void);
    ProtocolProperties_ptr ptr (void) const;

  private:
    ProtocolProperties_ptr ptr_;
    // Unimplemented - prevents widening assignment.
    ProtocolProperties_var (const TAO_Base_var &rhs);
    ProtocolProperties_var &operator= (const TAO_Base_var &rhs);
  };


#endif /* end #if !defined */


#if !defined (_RTCORBA_PROTOCOLPROPERTIES___OUT_CH_)
#define _RTCORBA_PROTOCOLPROPERTIES___OUT_CH_

  class TAO_Export ProtocolProperties_out
  {
  public:
    ProtocolProperties_out (ProtocolProperties_ptr &);
    ProtocolProperties_out (ProtocolProperties_var &);
    ProtocolProperties_out (const ProtocolProperties_out &);
    ProtocolProperties_out &operator= (const ProtocolProperties_out &);
    ProtocolProperties_out &operator= (const ProtocolProperties_var &);
    ProtocolProperties_out &operator= (ProtocolProperties_ptr);
    operator ProtocolProperties_ptr &();
    ProtocolProperties_ptr &ptr (void);
    ProtocolProperties_ptr operator-> (void);

  private:
    ProtocolProperties_ptr &ptr_;
  };


#endif /* end #if !defined */


#if !defined (_RTCORBA_PROTOCOLPROPERTIES_CH_)
#define _RTCORBA_PROTOCOLPROPERTIES_CH_


class TAO_Export ProtocolProperties : public virtual CORBA_Object,
                                      public TAO_Encodable

  {
  public:
  #if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
    typedef ProtocolProperties_ptr _ptr_type;
    typedef ProtocolProperties_var _var_type;
  #endif /* ! __GNUC__ || g++ >= 2.8 */

    // the static operations
    static ProtocolProperties_ptr _duplicate (ProtocolProperties_ptr obj);
    static ProtocolProperties_ptr _narrow (
        CORBA::Object_ptr obj,
        CORBA::Environment &ACE_TRY_ENV =
          TAO_default_environment ()
      );
    static ProtocolProperties_ptr _unchecked_narrow (
        CORBA::Object_ptr obj,
        CORBA::Environment &ACE_TRY_ENV =
          TAO_default_environment ()
      );
    static ProtocolProperties_ptr _nil (void)
      {
        return (ProtocolProperties_ptr)0;
      }

    virtual void *_tao_QueryInterface (ptr_arith_t type);

    virtual const char* _interface_repository_id (void) const;

    // CDR Encoder/Decoder methods.

    virtual CORBA::Boolean _tao_encode (TAO_OutputCDR &out_cdr);

    virtual CORBA::Boolean _tao_decode (TAO_InputCDR &in_cdr);

  protected:
    ProtocolProperties (void);
    virtual ~ProtocolProperties (void);
  private:
    ProtocolProperties (const ProtocolProperties &);
    void operator= (const ProtocolProperties &);
  };


#endif /* end #if !defined */


#if !defined (_RTCORBA_TCPPROTOCOLPROPERTIES___PTR_CH_)
#define _RTCORBA_TCPPROTOCOLPROPERTIES___PTR_CH_

  class TCPProtocolProperties;
  typedef TCPProtocolProperties *TCPProtocolProperties_ptr;

#endif /* end #if !defined */


#if !defined (_RTCORBA_TCPPROTOCOLPROPERTIES___VAR_CH_)
#define _RTCORBA_TCPPROTOCOLPROPERTIES___VAR_CH_

  class TAO_Export TCPProtocolProperties_var : public TAO_Base_var
  {
  public:
    TCPProtocolProperties_var (void); // default constructor
    TCPProtocolProperties_var (TCPProtocolProperties_ptr);
    TCPProtocolProperties_var (const TCPProtocolProperties_var &); // copy constructor
    ~TCPProtocolProperties_var (void); // destructor

    TCPProtocolProperties_var &operator= (TCPProtocolProperties_ptr);
    TCPProtocolProperties_var &operator= (const TCPProtocolProperties_var &);
    TCPProtocolProperties_ptr operator-> (void) const;

    operator const TCPProtocolProperties_ptr &() const;
    operator TCPProtocolProperties_ptr &();
    // in, inout, out, _retn
    TCPProtocolProperties_ptr in (void) const;
    TCPProtocolProperties_ptr &inout (void);
    TCPProtocolProperties_ptr &out (void);
    TCPProtocolProperties_ptr _retn (void);
    TCPProtocolProperties_ptr ptr (void) const;

  private:
    TCPProtocolProperties_ptr ptr_;
    // Unimplemented - prevents widening assignment.
    TCPProtocolProperties_var (const TAO_Base_var &rhs);
    TCPProtocolProperties_var &operator= (const TAO_Base_var &rhs);
  };


#endif /* end #if !defined */


#if !defined (_RTCORBA_TCPPROTOCOLPROPERTIES___OUT_CH_)
#define _RTCORBA_TCPPROTOCOLPROPERTIES___OUT_CH_

  class TAO_Export TCPProtocolProperties_out
  {
  public:
    TCPProtocolProperties_out (TCPProtocolProperties_ptr &);
    TCPProtocolProperties_out (TCPProtocolProperties_var &);
    TCPProtocolProperties_out (const TCPProtocolProperties_out &);
    TCPProtocolProperties_out &operator= (const TCPProtocolProperties_out &);
    TCPProtocolProperties_out &operator= (const TCPProtocolProperties_var &);
    TCPProtocolProperties_out &operator= (TCPProtocolProperties_ptr);
    operator TCPProtocolProperties_ptr &();
    TCPProtocolProperties_ptr &ptr (void);
    TCPProtocolProperties_ptr operator-> (void);

  private:
    TCPProtocolProperties_ptr &ptr_;
  };


#endif /* end #if !defined */


#if !defined (_RTCORBA_TCPPROTOCOLPROPERTIES_CH_)
#define _RTCORBA_TCPPROTOCOLPROPERTIES_CH_

class TAO_Export TCPProtocolProperties: public virtual ProtocolProperties
  {
  public:
  #if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
    typedef TCPProtocolProperties_ptr _ptr_type;
    typedef TCPProtocolProperties_var _var_type;
  #endif /* ! __GNUC__ || g++ >= 2.8 */

    // the static operations
    static TCPProtocolProperties_ptr _duplicate (TCPProtocolProperties_ptr obj);
    static TCPProtocolProperties_ptr _narrow (
        CORBA::Object_ptr obj,
        CORBA::Environment &ACE_TRY_ENV =
          TAO_default_environment ()
      );
    static TCPProtocolProperties_ptr _unchecked_narrow (
        CORBA::Object_ptr obj,
        CORBA::Environment &ACE_TRY_ENV =
          TAO_default_environment ()
      );
    static TCPProtocolProperties_ptr _nil (void)
      {
        return (TCPProtocolProperties_ptr)0;
      }

    virtual CORBA::Long send_buffer_size (
        CORBA::Environment &ACE_TRY_ENV =
          TAO_default_environment ()
      )
      ACE_THROW_SPEC ((
        CORBA::SystemException
      )) = 0;

    virtual void send_buffer_size (
        CORBA::Long send_buffer_size,
        CORBA::Environment &ACE_TRY_ENV =
          TAO_default_environment ()
      )
      ACE_THROW_SPEC ((
        CORBA::SystemException
      )) = 0;

    virtual CORBA::Long recv_buffer_size (
        CORBA::Environment &ACE_TRY_ENV =
          TAO_default_environment ()
      )
      ACE_THROW_SPEC ((
        CORBA::SystemException
      )) = 0;

    virtual void recv_buffer_size (
        CORBA::Long recv_buffer_size,
        CORBA::Environment &ACE_TRY_ENV =
          TAO_default_environment ()
      )
      ACE_THROW_SPEC ((
        CORBA::SystemException
      )) = 0;

    virtual CORBA::Boolean keep_alive (
        CORBA::Environment &ACE_TRY_ENV =
          TAO_default_environment ()
      )
      ACE_THROW_SPEC ((
        CORBA::SystemException
      )) = 0;

    virtual void keep_alive (
        CORBA::Boolean keep_alive,
        CORBA::Environment &ACE_TRY_ENV =
          TAO_default_environment ()
      )
      ACE_THROW_SPEC ((
        CORBA::SystemException
      )) = 0;

    virtual CORBA::Boolean dont_route (
        CORBA::Environment &ACE_TRY_ENV =
          TAO_default_environment ()
      )
      ACE_THROW_SPEC ((
        CORBA::SystemException
      )) = 0;

    virtual void dont_route (
        CORBA::Boolean dont_route,
        CORBA::Environment &ACE_TRY_ENV =
          TAO_default_environment ()
      )
      ACE_THROW_SPEC ((
        CORBA::SystemException
      )) = 0;

    virtual CORBA::Boolean no_delay (
        CORBA::Environment &ACE_TRY_ENV =
          TAO_default_environment ()
      )
      ACE_THROW_SPEC ((
        CORBA::SystemException
      )) = 0;

    virtual void no_delay (
        CORBA::Boolean no_delay,
        CORBA::Environment &ACE_TRY_ENV =
          TAO_default_environment ()
      )
      ACE_THROW_SPEC ((
        CORBA::SystemException
      )) = 0;

    virtual void *_tao_QueryInterface (ptr_arith_t type);

    virtual const char* _interface_repository_id (void) const;

  protected:
    TCPProtocolProperties (void);
    virtual ~TCPProtocolProperties (void);
  private:
    TCPProtocolProperties (const TCPProtocolProperties &);
    void operator= (const TCPProtocolProperties &);
  };


#endif /* end #if !defined */


#if !defined (_RTCORBA_GIOPPROTOCOLPROPERTIES___PTR_CH_)
#define _RTCORBA_GIOPPROTOCOLPROPERTIES___PTR_CH_

  class GIOPProtocolProperties;
  typedef GIOPProtocolProperties *GIOPProtocolProperties_ptr;

#endif /* end #if !defined */


#if !defined (_RTCORBA_GIOPPROTOCOLPROPERTIES___VAR_CH_)
#define _RTCORBA_GIOPPROTOCOLPROPERTIES___VAR_CH_

  class TAO_Export GIOPProtocolProperties_var : public TAO_Base_var
  {
  public:
    GIOPProtocolProperties_var (void); // default constructor
    GIOPProtocolProperties_var (GIOPProtocolProperties_ptr);
    GIOPProtocolProperties_var (const GIOPProtocolProperties_var &); // copy constructor
    ~GIOPProtocolProperties_var (void); // destructor

    GIOPProtocolProperties_var &operator= (GIOPProtocolProperties_ptr);
    GIOPProtocolProperties_var &operator= (const GIOPProtocolProperties_var &);
    GIOPProtocolProperties_ptr operator-> (void) const;

    operator const GIOPProtocolProperties_ptr &() const;
    operator GIOPProtocolProperties_ptr &();
    // in, inout, out, _retn
    GIOPProtocolProperties_ptr in (void) const;
    GIOPProtocolProperties_ptr &inout (void);
    GIOPProtocolProperties_ptr &out (void);
    GIOPProtocolProperties_ptr _retn (void);
    GIOPProtocolProperties_ptr ptr (void) const;

  private:
    GIOPProtocolProperties_ptr ptr_;
    // Unimplemented - prevents widening assignment.
    GIOPProtocolProperties_var (const TAO_Base_var &rhs);
    GIOPProtocolProperties_var &operator= (const TAO_Base_var &rhs);
  };


#endif /* end #if !defined */


#if !defined (_RTCORBA_GIOPPROTOCOLPROPERTIES___OUT_CH_)
#define _RTCORBA_GIOPPROTOCOLPROPERTIES___OUT_CH_

  class TAO_Export GIOPProtocolProperties_out
  {
  public:
    GIOPProtocolProperties_out (GIOPProtocolProperties_ptr &);
    GIOPProtocolProperties_out (GIOPProtocolProperties_var &);
    GIOPProtocolProperties_out (const GIOPProtocolProperties_out &);
    GIOPProtocolProperties_out &operator= (const GIOPProtocolProperties_out &);
    GIOPProtocolProperties_out &operator= (const GIOPProtocolProperties_var &);
    GIOPProtocolProperties_out &operator= (GIOPProtocolProperties_ptr);
    operator GIOPProtocolProperties_ptr &();
    GIOPProtocolProperties_ptr &ptr (void);
    GIOPProtocolProperties_ptr operator-> (void);

  private:
    GIOPProtocolProperties_ptr &ptr_;
  };


#endif /* end #if !defined */


#if !defined (_RTCORBA_GIOPPROTOCOLPROPERTIES_CH_)
#define _RTCORBA_GIOPPROTOCOLPROPERTIES_CH_

class TAO_Export GIOPProtocolProperties: public virtual ProtocolProperties
  {
  public:
  #if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
    typedef GIOPProtocolProperties_ptr _ptr_type;
    typedef GIOPProtocolProperties_var _var_type;
  #endif /* ! __GNUC__ || g++ >= 2.8 */

    // the static operations
    static GIOPProtocolProperties_ptr _duplicate (GIOPProtocolProperties_ptr obj);
    static GIOPProtocolProperties_ptr _narrow (
        CORBA::Object_ptr obj,
        CORBA::Environment &ACE_TRY_ENV =
          TAO_default_environment ()
      );
    static GIOPProtocolProperties_ptr _unchecked_narrow (
        CORBA::Object_ptr obj,
        CORBA::Environment &ACE_TRY_ENV =
          TAO_default_environment ()
      );
    static GIOPProtocolProperties_ptr _nil (void)
      {
        return (GIOPProtocolProperties_ptr)0;
      }

    virtual void *_tao_QueryInterface (ptr_arith_t type);

    virtual const char* _interface_repository_id (void) const;

  protected:
    GIOPProtocolProperties (void);
    virtual ~GIOPProtocolProperties (void);
  private:
    GIOPProtocolProperties (const GIOPProtocolProperties &);
    void operator= (const GIOPProtocolProperties &);
  };


#endif /* end #if !defined */



#if !defined (_RTCORBA_UNIXDOMAINPROTOCOLPROPERTIES___PTR_CH_)
#define _RTCORBA_UNIXDOMAINPROTOCOLPROPERTIES___PTR_CH_

  class UnixDomainProtocolProperties;
  typedef UnixDomainProtocolProperties *UnixDomainProtocolProperties_ptr;

#endif /* end #if !defined */


#if !defined (_RTCORBA_UNIXDOMAINPROTOCOLPROPERTIES___VAR_CH_)
#define _RTCORBA_UNIXDOMAINPROTOCOLPROPERTIES___VAR_CH_

  class TAO_Export UnixDomainProtocolProperties_var : public TAO_Base_var
  {
  public:
    UnixDomainProtocolProperties_var (void); // default constructor
    UnixDomainProtocolProperties_var (UnixDomainProtocolProperties_ptr p) : ptr_ (p) {}
    UnixDomainProtocolProperties_var (const UnixDomainProtocolProperties_var &); // copy constructor
    ~UnixDomainProtocolProperties_var (void); // destructor

    UnixDomainProtocolProperties_var &operator= (UnixDomainProtocolProperties_ptr);
    UnixDomainProtocolProperties_var &operator= (const UnixDomainProtocolProperties_var &);
    UnixDomainProtocolProperties_ptr operator-> (void) const;

    operator const UnixDomainProtocolProperties_ptr &() const;
    operator UnixDomainProtocolProperties_ptr &();
    // in, inout, out, _retn
    UnixDomainProtocolProperties_ptr in (void) const;
    UnixDomainProtocolProperties_ptr &inout (void);
    UnixDomainProtocolProperties_ptr &out (void);
    UnixDomainProtocolProperties_ptr _retn (void);
    UnixDomainProtocolProperties_ptr ptr (void) const;

  private:
    UnixDomainProtocolProperties_ptr ptr_;
    // Unimplemented - prevents widening assignment.
    UnixDomainProtocolProperties_var (const TAO_Base_var &rhs);
    UnixDomainProtocolProperties_var &operator= (const TAO_Base_var &rhs);
  };


#endif /* end #if !defined */


#if !defined (_RTCORBA_UNIXDOMAINPROTOCOLPROPERTIES___OUT_CH_)
#define _RTCORBA_UNIXDOMAINPROTOCOLPROPERTIES___OUT_CH_

  class TAO_Export UnixDomainProtocolProperties_out
  {
  public:
    UnixDomainProtocolProperties_out (UnixDomainProtocolProperties_ptr &);
    UnixDomainProtocolProperties_out (UnixDomainProtocolProperties_var &);
    UnixDomainProtocolProperties_out (const UnixDomainProtocolProperties_out &);
    UnixDomainProtocolProperties_out &operator= (const UnixDomainProtocolProperties_out &);
    UnixDomainProtocolProperties_out &operator= (const UnixDomainProtocolProperties_var &);
    UnixDomainProtocolProperties_out &operator= (UnixDomainProtocolProperties_ptr);
    operator UnixDomainProtocolProperties_ptr &();
    UnixDomainProtocolProperties_ptr &ptr (void);
    UnixDomainProtocolProperties_ptr operator-> (void);

  private:
    UnixDomainProtocolProperties_ptr &ptr_;
  };


#endif /* end #if !defined */


#if !defined (_RTCORBA_UNIXDOMAINPROTOCOLPROPERTIES_CH_)
#define _RTCORBA_UNIXDOMAINPROTOCOLPROPERTIES_CH_

class TAO_Export UnixDomainProtocolProperties: public virtual ProtocolProperties
  {
  public:
  #if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
    typedef UnixDomainProtocolProperties_ptr _ptr_type;
    typedef UnixDomainProtocolProperties_var _var_type;
  #endif /* ! __GNUC__ || g++ >= 2.8 */

    // the static operations
    static UnixDomainProtocolProperties_ptr _duplicate (UnixDomainProtocolProperties_ptr obj);
    static UnixDomainProtocolProperties_ptr _narrow (
        CORBA::Object_ptr obj,
        CORBA::Environment &ACE_TRY_ENV =
          TAO_default_environment ()
      );
    static UnixDomainProtocolProperties_ptr _unchecked_narrow (
        CORBA::Object_ptr obj,
        CORBA::Environment &ACE_TRY_ENV =
          TAO_default_environment ()
      );
    static UnixDomainProtocolProperties_ptr _nil (void)
      {
        return (UnixDomainProtocolProperties_ptr)0;
      }

    virtual CORBA::Long send_buffer_size (
        CORBA::Environment &ACE_TRY_ENV =
          TAO_default_environment ()
      )
      ACE_THROW_SPEC ((
        CORBA::SystemException
      )) = 0;

    virtual void send_buffer_size (
        CORBA::Long send_buffer_size,
        CORBA::Environment &ACE_TRY_ENV =
          TAO_default_environment ()
      )
      ACE_THROW_SPEC ((
        CORBA::SystemException
      )) = 0;

    virtual CORBA::Long recv_buffer_size (
        CORBA::Environment &ACE_TRY_ENV =
          TAO_default_environment ()
      )
      ACE_THROW_SPEC ((
        CORBA::SystemException
      )) = 0;

    virtual void recv_buffer_size (
        CORBA::Long recv_buffer_size,
        CORBA::Environment &ACE_TRY_ENV =
          TAO_default_environment ()
      )
      ACE_THROW_SPEC ((
        CORBA::SystemException
      )) = 0;

    virtual void *_tao_QueryInterface (ptr_arith_t type);

    virtual const char* _interface_repository_id (void) const;

  protected:
    UnixDomainProtocolProperties (void);
    virtual ~UnixDomainProtocolProperties (void);
  private:
    UnixDomainProtocolProperties (const UnixDomainProtocolProperties &);
    void operator= (const UnixDomainProtocolProperties &);
  };


#endif /* end #if !defined */


#if !defined (_RTCORBA_SHAREDMEMORYPROTOCOLPROPERTIES___PTR_CH_)
#define _RTCORBA_SHAREDMEMORYPROTOCOLPROPERTIES___PTR_CH_

  class SharedMemoryProtocolProperties;
  typedef SharedMemoryProtocolProperties *SharedMemoryProtocolProperties_ptr;

#endif /* end #if !defined */


#if !defined (_RTCORBA_SHAREDMEMORYPROTOCOLPROPERTIES___VAR_CH_)
#define _RTCORBA_SHAREDMEMORYPROTOCOLPROPERTIES___VAR_CH_

  class TAO_Export SharedMemoryProtocolProperties_var : public TAO_Base_var
  {
  public:
    SharedMemoryProtocolProperties_var (void); // default constructor
    SharedMemoryProtocolProperties_var (SharedMemoryProtocolProperties_ptr p) : ptr_ (p) {}
    SharedMemoryProtocolProperties_var (const SharedMemoryProtocolProperties_var &); // copy constructor
    ~SharedMemoryProtocolProperties_var (void); // destructor

    SharedMemoryProtocolProperties_var &operator= (SharedMemoryProtocolProperties_ptr);
    SharedMemoryProtocolProperties_var &operator= (const SharedMemoryProtocolProperties_var &);
    SharedMemoryProtocolProperties_ptr operator-> (void) const;

    operator const SharedMemoryProtocolProperties_ptr &() const;
    operator SharedMemoryProtocolProperties_ptr &();
    // in, inout, out, _retn
    SharedMemoryProtocolProperties_ptr in (void) const;
    SharedMemoryProtocolProperties_ptr &inout (void);
    SharedMemoryProtocolProperties_ptr &out (void);
    SharedMemoryProtocolProperties_ptr _retn (void);
    SharedMemoryProtocolProperties_ptr ptr (void) const;

  private:
    SharedMemoryProtocolProperties_ptr ptr_;
    // Unimplemented - prevents widening assignment.
    SharedMemoryProtocolProperties_var (const TAO_Base_var &rhs);
    SharedMemoryProtocolProperties_var &operator= (const TAO_Base_var &rhs);
  };


#endif /* end #if !defined */


#if !defined (_RTCORBA_SHAREDMEMORYPROTOCOLPROPERTIES___OUT_CH_)
#define _RTCORBA_SHAREDMEMORYPROTOCOLPROPERTIES___OUT_CH_

  class TAO_Export SharedMemoryProtocolProperties_out
  {
  public:
    SharedMemoryProtocolProperties_out (SharedMemoryProtocolProperties_ptr &);
    SharedMemoryProtocolProperties_out (SharedMemoryProtocolProperties_var &);
    SharedMemoryProtocolProperties_out (const SharedMemoryProtocolProperties_out &);
    SharedMemoryProtocolProperties_out &operator= (const SharedMemoryProtocolProperties_out &);
    SharedMemoryProtocolProperties_out &operator= (const SharedMemoryProtocolProperties_var &);
    SharedMemoryProtocolProperties_out &operator= (SharedMemoryProtocolProperties_ptr);
    operator SharedMemoryProtocolProperties_ptr &();
    SharedMemoryProtocolProperties_ptr &ptr (void);
    SharedMemoryProtocolProperties_ptr operator-> (void);

  private:
    SharedMemoryProtocolProperties_ptr &ptr_;
  };


#endif /* end #if !defined */


#if !defined (_RTCORBA_SHAREDMEMORYPROTOCOLPROPERTIES_CH_)
#define _RTCORBA_SHAREDMEMORYPROTOCOLPROPERTIES_CH_

class TAO_Export SharedMemoryProtocolProperties: public virtual ProtocolProperties
  {
  public:
  #if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
    typedef SharedMemoryProtocolProperties_ptr _ptr_type;
    typedef SharedMemoryProtocolProperties_var _var_type;
  #endif /* ! __GNUC__ || g++ >= 2.8 */

    // the static operations
    static SharedMemoryProtocolProperties_ptr _duplicate (SharedMemoryProtocolProperties_ptr obj);
    static SharedMemoryProtocolProperties_ptr _narrow (
        CORBA::Object_ptr obj,
        CORBA::Environment &ACE_TRY_ENV =
          TAO_default_environment ()
      );
    static SharedMemoryProtocolProperties_ptr _unchecked_narrow (
        CORBA::Object_ptr obj,
        CORBA::Environment &ACE_TRY_ENV =
          TAO_default_environment ()
      );
    static SharedMemoryProtocolProperties_ptr _nil (void)
      {
        return (SharedMemoryProtocolProperties_ptr)0;
      }

    virtual CORBA::Long preallocate_buffer_size (
        CORBA::Environment &ACE_TRY_ENV =
          TAO_default_environment ()
      )
      ACE_THROW_SPEC ((
        CORBA::SystemException
      )) = 0;

    virtual void preallocate_buffer_size (
        CORBA::Long preallocate_buffer_size,
        CORBA::Environment &ACE_TRY_ENV =
          TAO_default_environment ()
      )
      ACE_THROW_SPEC ((
        CORBA::SystemException
      )) = 0;

    virtual char * mmap_filename (
        CORBA::Environment &ACE_TRY_ENV =
          TAO_default_environment ()
      )
      ACE_THROW_SPEC ((
        CORBA::SystemException
      )) = 0;

    virtual void mmap_filename (
        const char * mmap_filename,
        CORBA::Environment &ACE_TRY_ENV =
          TAO_default_environment ()
      )
      ACE_THROW_SPEC ((
        CORBA::SystemException
      )) = 0;

    virtual char * mmap_lockname (
        CORBA::Environment &ACE_TRY_ENV =
          TAO_default_environment ()
      )
      ACE_THROW_SPEC ((
        CORBA::SystemException
      )) = 0;

    virtual void mmap_lockname (
        const char * mmap_lockname,
        CORBA::Environment &ACE_TRY_ENV =
          TAO_default_environment ()
      )
      ACE_THROW_SPEC ((
        CORBA::SystemException
      )) = 0;

    virtual void *_tao_QueryInterface (ptr_arith_t type);

    virtual const char* _interface_repository_id (void) const;

  protected:
    SharedMemoryProtocolProperties (void);
    virtual ~SharedMemoryProtocolProperties (void);
  private:
    SharedMemoryProtocolProperties (const SharedMemoryProtocolProperties &);
    void operator= (const SharedMemoryProtocolProperties &);
  };


#endif /* end #if !defined */

  struct Protocol;
  class Protocol_var;

  struct TAO_Export Protocol
  {

#if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
    typedef Protocol_var _var_type;
#endif /* ! __GNUC__ || g++ >= 2.8 */

        IOP::ProfileId protocol_type;
    ACE_NESTED_CLASS (RTCORBA, ProtocolProperties_var) orb_protocol_properties;
    ACE_NESTED_CLASS (RTCORBA, ProtocolProperties_var) transport_protocol_properties;
  };

  class TAO_Export Protocol_var
  {
  public:
    Protocol_var (void); // default constructor
    Protocol_var (Protocol *);
    Protocol_var (const Protocol_var &); // copy constructor
    ~Protocol_var (void); // destructor

    Protocol_var &operator= (Protocol *);
    Protocol_var &operator= (const Protocol_var &);
    Protocol *operator-> (void);
    const Protocol *operator-> (void) const;

    operator const Protocol &() const;
    operator Protocol &();
    operator Protocol &() const;
    operator Protocol *&(); // variable-size types only

    // in, inout, out, _retn
    const Protocol &in (void) const;
    Protocol &inout (void);
    Protocol *&out (void);
    Protocol *_retn (void);
    Protocol *ptr (void) const;

  private:
    Protocol *ptr_;
  };

  class TAO_Export Protocol_out
  {
  public:
    Protocol_out (Protocol *&);
    Protocol_out (Protocol_var &);
    Protocol_out (const Protocol_out &);
    Protocol_out &operator= (const Protocol_out &);
    Protocol_out &operator= (Protocol *);
    operator Protocol *&();
    Protocol *&ptr (void);
    Protocol *operator-> (void);

  private:
    Protocol *&ptr_;
    // assignment from T_var not allowed
    void operator= (const Protocol_var &);
  };


#if !defined (TAO_USE_SEQUENCE_TEMPLATES)

#if !defined (__TAO_UNBOUNDED_SEQUENCE_RTCORBA_PROTOCOLLIST_CH_)
#define __TAO_UNBOUNDED_SEQUENCE_RTCORBA_PROTOCOLLIST_CH_

    class TAO_EXPORT_NESTED_MACRO _TAO_Unbounded_Sequence_RTCORBA_ProtocolList : public TAO_Unbounded_Base_Sequence
    {
    public:
      // = Initialization and termination methods.

      _TAO_Unbounded_Sequence_RTCORBA_ProtocolList (void); // Default constructor.
      _TAO_Unbounded_Sequence_RTCORBA_ProtocolList (CORBA::ULong maximum);
      _TAO_Unbounded_Sequence_RTCORBA_ProtocolList (CORBA::ULong maximum,
        CORBA::ULong length,
        Protocol *data,
        CORBA::Boolean release = 0);
      _TAO_Unbounded_Sequence_RTCORBA_ProtocolList (const _TAO_Unbounded_Sequence_RTCORBA_ProtocolList &rhs);
      _TAO_Unbounded_Sequence_RTCORBA_ProtocolList &operator= (const _TAO_Unbounded_Sequence_RTCORBA_ProtocolList &rhs);
      virtual ~_TAO_Unbounded_Sequence_RTCORBA_ProtocolList (void); // Dtor.
      // = Accessors.
      Protocol &operator[] (CORBA::ULong i);
      const Protocol &operator[] (CORBA::ULong i) const;
      // = Static operations.
      static Protocol *allocbuf (CORBA::ULong size);
      static void freebuf (Protocol *buffer);
      virtual void _allocate_buffer (CORBA::ULong length);
      virtual void _deallocate_buffer (void);
      // Implement the TAO_Base_Sequence methods (see Sequence.h)

      Protocol *get_buffer (CORBA::Boolean orphan = 0);
      const Protocol *get_buffer (void) const;
      void replace (CORBA::ULong max,
        CORBA::ULong length,
        Protocol *data,
        CORBA::Boolean release);
    };

#endif /* end #if !defined */


#endif /* !TAO_USE_SEQUENCE_TEMPLATES */

#if !defined (_RTCORBA_PROTOCOLLIST_CH_)
#define _RTCORBA_PROTOCOLLIST_CH_

  class ProtocolList;
  class ProtocolList_var;

  // *************************************************************
  // ProtocolList
  // *************************************************************

  class TAO_Export ProtocolList : public
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
    _TAO_Unbounded_Sequence_RTCORBA_ProtocolList
#else /* TAO_USE_SEQUENCE_TEMPLATES */
    TAO_Unbounded_Sequence<Protocol>
#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
  {
  public:
    ProtocolList (void); // default ctor
    ProtocolList (CORBA::ULong max); // uses max size
    ProtocolList (
      CORBA::ULong max,
      CORBA::ULong length,
      Protocol *buffer,
      CORBA::Boolean release=0
    );
    ProtocolList (const ProtocolList &); // copy ctor
    ~ProtocolList (void);
    static void _tao_any_destructor (void*);

#if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
    typedef ProtocolList_var _var_type;
#endif /* ! __GNUC__ || g++ >= 2.8 */

  };

#endif /* end #if !defined */


#if !defined (_RTCORBA_PROTOCOLLIST___VAR_CH_)
#define _RTCORBA_PROTOCOLLIST___VAR_CH_

  // *************************************************************
  // class RTCORBA::ProtocolList_var
  // *************************************************************

  class TAO_Export ProtocolList_var
  {
  public:
    ProtocolList_var (void); // default constructor
    ProtocolList_var (ProtocolList *);
    ProtocolList_var (const ProtocolList_var &); // copy constructor
    ~ProtocolList_var (void); // destructor

    ProtocolList_var &operator= (ProtocolList *);
    ProtocolList_var &operator= (const ProtocolList_var &);
    ProtocolList *operator-> (void);
    const ProtocolList *operator-> (void) const;

    operator const ProtocolList &() const;
    operator ProtocolList &();
    operator ProtocolList &() const;
    operator ProtocolList *&(); // variable-size base types only

    Protocol &operator[] (CORBA::ULong index);
    // in, inout, out, _retn
    const ProtocolList &in (void) const;
    ProtocolList &inout (void);
    ProtocolList *&out (void);
    ProtocolList *_retn (void);
    ProtocolList *ptr (void) const;

  private:
    ProtocolList *ptr_;
  };


#endif /* end #if !defined */


#if !defined (_RTCORBA_PROTOCOLLIST___OUT_CH_)
#define _RTCORBA_PROTOCOLLIST___OUT_CH_

  class TAO_Export ProtocolList_out
  {
  public:
    ProtocolList_out (ProtocolList *&);
    ProtocolList_out (ProtocolList_var &);
    ProtocolList_out (const ProtocolList_out &);
    ProtocolList_out &operator= (const ProtocolList_out &);
    ProtocolList_out &operator= (ProtocolList *);
    operator ProtocolList *&();
    ProtocolList *&ptr (void);
    ProtocolList *operator-> (void);
    Protocol &operator[] (CORBA::ULong index);

  private:
    ProtocolList *&ptr_;
    // assignment from T_var not allowed
    void operator= (const ProtocolList_var &);
  };


#endif /* end #if !defined */

  TAO_NAMESPACE_STORAGE_CLASS const CORBA::ULong SERVER_PROTOCOL_POLICY_TYPE;


#if !defined (_RTCORBA_SERVERPROTOCOLPOLICY___PTR_CH_)
#define _RTCORBA_SERVERPROTOCOLPOLICY___PTR_CH_

  class ServerProtocolPolicy;
  typedef ServerProtocolPolicy *ServerProtocolPolicy_ptr;

#endif /* end #if !defined */


#if !defined (_RTCORBA_SERVERPROTOCOLPOLICY___VAR_CH_)
#define _RTCORBA_SERVERPROTOCOLPOLICY___VAR_CH_

  class TAO_Export ServerProtocolPolicy_var : public TAO_Base_var
  {
  public:
    ServerProtocolPolicy_var (void); // default constructor
    ServerProtocolPolicy_var (ServerProtocolPolicy_ptr);
    ServerProtocolPolicy_var (const ServerProtocolPolicy_var &); // copy constructor
    ~ServerProtocolPolicy_var (void); // destructor

    ServerProtocolPolicy_var &operator= (ServerProtocolPolicy_ptr);
    ServerProtocolPolicy_var &operator= (const ServerProtocolPolicy_var &);
    ServerProtocolPolicy_ptr operator-> (void) const;

    operator const ServerProtocolPolicy_ptr &() const;
    operator ServerProtocolPolicy_ptr &();
    // in, inout, out, _retn
    ServerProtocolPolicy_ptr in (void) const;
    ServerProtocolPolicy_ptr &inout (void);
    ServerProtocolPolicy_ptr &out (void);
    ServerProtocolPolicy_ptr _retn (void);
    ServerProtocolPolicy_ptr ptr (void) const;

  private:
    ServerProtocolPolicy_ptr ptr_;
    // Unimplemented - prevents widening assignment.
    ServerProtocolPolicy_var (const TAO_Base_var &rhs);
    ServerProtocolPolicy_var &operator= (const TAO_Base_var &rhs);
  };


#endif /* end #if !defined */


#if !defined (_RTCORBA_SERVERPROTOCOLPOLICY___OUT_CH_)
#define _RTCORBA_SERVERPROTOCOLPOLICY___OUT_CH_

  class TAO_Export ServerProtocolPolicy_out
  {
  public:
    ServerProtocolPolicy_out (ServerProtocolPolicy_ptr &);
    ServerProtocolPolicy_out (ServerProtocolPolicy_var &);
    ServerProtocolPolicy_out (const ServerProtocolPolicy_out &);
    ServerProtocolPolicy_out &operator= (const ServerProtocolPolicy_out &);
    ServerProtocolPolicy_out &operator= (const ServerProtocolPolicy_var &);
    ServerProtocolPolicy_out &operator= (ServerProtocolPolicy_ptr);
    operator ServerProtocolPolicy_ptr &();
    ServerProtocolPolicy_ptr &ptr (void);
    ServerProtocolPolicy_ptr operator-> (void);

  private:
    ServerProtocolPolicy_ptr &ptr_;
  };


#endif /* end #if !defined */


#if !defined (_RTCORBA_SERVERPROTOCOLPOLICY_CH_)
#define _RTCORBA_SERVERPROTOCOLPOLICY_CH_

class TAO_Export ServerProtocolPolicy: public virtual CORBA::Policy
  {
  public:
  #if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
    typedef ServerProtocolPolicy_ptr _ptr_type;
    typedef ServerProtocolPolicy_var _var_type;
  #endif /* ! __GNUC__ || g++ >= 2.8 */

    // the static operations
    static ServerProtocolPolicy_ptr _duplicate (ServerProtocolPolicy_ptr obj);
    static ServerProtocolPolicy_ptr _narrow (
        CORBA::Object_ptr obj,
        CORBA::Environment &ACE_TRY_ENV =
          TAO_default_environment ()
      );
    static ServerProtocolPolicy_ptr _unchecked_narrow (
        CORBA::Object_ptr obj,
        CORBA::Environment &ACE_TRY_ENV =
          TAO_default_environment ()
      );
    static ServerProtocolPolicy_ptr _nil (void)
      {
        return (ServerProtocolPolicy_ptr)0;
      }

    virtual RTCORBA::ProtocolList * protocols (
        CORBA::Environment &ACE_TRY_ENV =
          TAO_default_environment ()
      )
      ACE_THROW_SPEC ((
        CORBA::SystemException
      )) = 0;

    virtual void *_tao_QueryInterface (ptr_arith_t type);

    virtual const char* _interface_repository_id (void) const;

  protected:
    ServerProtocolPolicy (void);
    virtual ~ServerProtocolPolicy (void);
  private:
    ServerProtocolPolicy (const ServerProtocolPolicy &);
    void operator= (const ServerProtocolPolicy &);
  };


#endif /* end #if !defined */

  TAO_NAMESPACE_STORAGE_CLASS const CORBA::ULong CLIENT_PROTOCOL_POLICY_TYPE;


#if !defined (_RTCORBA_CLIENTPROTOCOLPOLICY___PTR_CH_)
#define _RTCORBA_CLIENTPROTOCOLPOLICY___PTR_CH_

  class ClientProtocolPolicy;
  typedef ClientProtocolPolicy *ClientProtocolPolicy_ptr;

#endif /* end #if !defined */


#if !defined (_RTCORBA_CLIENTPROTOCOLPOLICY___VAR_CH_)
#define _RTCORBA_CLIENTPROTOCOLPOLICY___VAR_CH_

  class TAO_Export ClientProtocolPolicy_var : public TAO_Base_var
  {
  public:
    ClientProtocolPolicy_var (void); // default constructor
    ClientProtocolPolicy_var (ClientProtocolPolicy_ptr);
    ClientProtocolPolicy_var (const ClientProtocolPolicy_var &); // copy constructor
    ~ClientProtocolPolicy_var (void); // destructor

    ClientProtocolPolicy_var &operator= (ClientProtocolPolicy_ptr);
    ClientProtocolPolicy_var &operator= (const ClientProtocolPolicy_var &);
    ClientProtocolPolicy_ptr operator-> (void) const;

    operator const ClientProtocolPolicy_ptr &() const;
    operator ClientProtocolPolicy_ptr &();
    // in, inout, out, _retn
    ClientProtocolPolicy_ptr in (void) const;
    ClientProtocolPolicy_ptr &inout (void);
    ClientProtocolPolicy_ptr &out (void);
    ClientProtocolPolicy_ptr _retn (void);
    ClientProtocolPolicy_ptr ptr (void) const;

  private:
    ClientProtocolPolicy_ptr ptr_;
    // Unimplemented - prevents widening assignment.
    ClientProtocolPolicy_var (const TAO_Base_var &rhs);
    ClientProtocolPolicy_var &operator= (const TAO_Base_var &rhs);
  };


#endif /* end #if !defined */


#if !defined (_RTCORBA_CLIENTPROTOCOLPOLICY___OUT_CH_)
#define _RTCORBA_CLIENTPROTOCOLPOLICY___OUT_CH_

  class TAO_Export ClientProtocolPolicy_out
  {
  public:
    ClientProtocolPolicy_out (ClientProtocolPolicy_ptr &);
    ClientProtocolPolicy_out (ClientProtocolPolicy_var &);
    ClientProtocolPolicy_out (const ClientProtocolPolicy_out &);
    ClientProtocolPolicy_out &operator= (const ClientProtocolPolicy_out &);
    ClientProtocolPolicy_out &operator= (const ClientProtocolPolicy_var &);
    ClientProtocolPolicy_out &operator= (ClientProtocolPolicy_ptr);
    operator ClientProtocolPolicy_ptr &();
    ClientProtocolPolicy_ptr &ptr (void);
    ClientProtocolPolicy_ptr operator-> (void);

  private:
    ClientProtocolPolicy_ptr &ptr_;
  };


#endif /* end #if !defined */


#if !defined (_RTCORBA_CLIENTPROTOCOLPOLICY_CH_)
#define _RTCORBA_CLIENTPROTOCOLPOLICY_CH_

class TAO_Export ClientProtocolPolicy: public virtual CORBA::Policy
  {
  public:
  #if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
    typedef ClientProtocolPolicy_ptr _ptr_type;
    typedef ClientProtocolPolicy_var _var_type;
  #endif /* ! __GNUC__ || g++ >= 2.8 */

    // the static operations
    static ClientProtocolPolicy_ptr _duplicate (ClientProtocolPolicy_ptr obj);
    static ClientProtocolPolicy_ptr _narrow (
        CORBA::Object_ptr obj,
        CORBA::Environment &ACE_TRY_ENV =
          TAO_default_environment ()
      );
    static ClientProtocolPolicy_ptr _unchecked_narrow (
        CORBA::Object_ptr obj,
        CORBA::Environment &ACE_TRY_ENV =
          TAO_default_environment ()
      );
    static ClientProtocolPolicy_ptr _nil (void)
      {
        return (ClientProtocolPolicy_ptr)0;
      }

    virtual RTCORBA::ProtocolList * protocols (
        CORBA::Environment &ACE_TRY_ENV =
          TAO_default_environment ()
      )
      ACE_THROW_SPEC ((
        CORBA::SystemException
      )) = 0;

    virtual void *_tao_QueryInterface (ptr_arith_t type);

    virtual const char* _interface_repository_id (void) const;

  protected:
    ClientProtocolPolicy (void);
    virtual ~ClientProtocolPolicy (void);
  private:
    ClientProtocolPolicy (const ClientProtocolPolicy &);
    void operator= (const ClientProtocolPolicy &);
  };


#endif /* end #if !defined */


#if !defined (_RTCORBA_CURRENT___PTR_CH_)
#define _RTCORBA_CURRENT___PTR_CH_

  class Current;
  typedef Current *Current_ptr;

#endif /* end #if !defined */


#if !defined (_RTCORBA_CURRENT___VAR_CH_)
#define _RTCORBA_CURRENT___VAR_CH_

  class TAO_Export Current_var : public TAO_Base_var
  {
  public:
    Current_var (void); // default constructor
    Current_var (Current_ptr);
    Current_var (const Current_var &); // copy constructor
    ~Current_var (void); // destructor

    Current_var &operator= (Current_ptr);
    Current_var &operator= (const Current_var &);
    Current_ptr operator-> (void) const;

    operator const Current_ptr &() const;
    operator Current_ptr &();
    // in, inout, out, _retn
    Current_ptr in (void) const;
    Current_ptr &inout (void);
    Current_ptr &out (void);
    Current_ptr _retn (void);
    Current_ptr ptr (void) const;

  private:
    Current_ptr ptr_;
    // Unimplemented - prevents widening assignment.
    Current_var (const TAO_Base_var &rhs);
    Current_var &operator= (const TAO_Base_var &rhs);
  };


#endif /* end #if !defined */


#if !defined (_RTCORBA_CURRENT___OUT_CH_)
#define _RTCORBA_CURRENT___OUT_CH_

  class TAO_Export Current_out
  {
  public:
    Current_out (Current_ptr &);
    Current_out (Current_var &);
    Current_out (const Current_out &);
    Current_out &operator= (const Current_out &);
    Current_out &operator= (const Current_var &);
    Current_out &operator= (Current_ptr);
    operator Current_ptr &();
    Current_ptr &ptr (void);
    Current_ptr operator-> (void);

  private:
    Current_ptr &ptr_;
  };


#endif /* end #if !defined */


#if !defined (_RTCORBA_CURRENT_CH_)
#define _RTCORBA_CURRENT_CH_

class TAO_Export Current: public virtual CORBA::Current
  {
  public:
  #if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
    typedef Current_ptr _ptr_type;
    typedef Current_var _var_type;
  #endif /* ! __GNUC__ || g++ >= 2.8 */

    // the static operations
    static Current_ptr _duplicate (Current_ptr obj);
    static Current_ptr _narrow (
        CORBA::Object_ptr obj,
        CORBA::Environment &ACE_TRY_ENV =
          TAO_default_environment ()
      );
    static Current_ptr _unchecked_narrow (
        CORBA::Object_ptr obj,
        CORBA::Environment &ACE_TRY_ENV =
          TAO_default_environment ()
      );
    static Current_ptr _nil (void)
      {
        return (Current_ptr)0;
      }

    virtual RTCORBA::Priority the_priority (
        CORBA::Environment &ACE_TRY_ENV =
          TAO_default_environment ()
      )
      ACE_THROW_SPEC ((
        CORBA::SystemException
      )) = 0;

    virtual void the_priority (
        RTCORBA::Priority the_priority,
        CORBA::Environment &ACE_TRY_ENV =
          TAO_default_environment ()
      )
      ACE_THROW_SPEC ((
        CORBA::SystemException
      )) = 0;

    virtual void *_tao_QueryInterface (ptr_arith_t type);

    virtual const char* _interface_repository_id (void) const;

  protected:
    Current (void);
    virtual ~Current (void);
  private:
    Current (const Current &);
    void operator= (const Current &);
  };


#endif /* end #if !defined */


#if !defined (_RTCORBA_MUTEX___PTR_CH_)
#define _RTCORBA_MUTEX___PTR_CH_

  class Mutex;
  typedef Mutex *Mutex_ptr;

#endif /* end #if !defined */


#if !defined (_RTCORBA_MUTEX___VAR_CH_)
#define _RTCORBA_MUTEX___VAR_CH_

  class TAO_Export Mutex_var : public TAO_Base_var
  {
  public:
    Mutex_var (void); // default constructor
    Mutex_var (Mutex_ptr);
    Mutex_var (const Mutex_var &); // copy constructor
    ~Mutex_var (void); // destructor

    Mutex_var &operator= (Mutex_ptr);
    Mutex_var &operator= (const Mutex_var &);
    Mutex_ptr operator-> (void) const;

    operator const Mutex_ptr &() const;
    operator Mutex_ptr &();
    // in, inout, out, _retn
    Mutex_ptr in (void) const;
    Mutex_ptr &inout (void);
    Mutex_ptr &out (void);
    Mutex_ptr _retn (void);
    Mutex_ptr ptr (void) const;

  private:
    Mutex_ptr ptr_;
    // Unimplemented - prevents widening assignment.
    Mutex_var (const TAO_Base_var &rhs);
    Mutex_var &operator= (const TAO_Base_var &rhs);
  };


#endif /* end #if !defined */


#if !defined (_RTCORBA_MUTEX___OUT_CH_)
#define _RTCORBA_MUTEX___OUT_CH_

  class TAO_Export Mutex_out
  {
  public:
    Mutex_out (Mutex_ptr &);
    Mutex_out (Mutex_var &);
    Mutex_out (const Mutex_out &);
    Mutex_out &operator= (const Mutex_out &);
    Mutex_out &operator= (const Mutex_var &);
    Mutex_out &operator= (Mutex_ptr);
    operator Mutex_ptr &();
    Mutex_ptr &ptr (void);
    Mutex_ptr operator-> (void);

  private:
    Mutex_ptr &ptr_;
  };


#endif /* end #if !defined */


#if !defined (_RTCORBA_MUTEX_CH_)
#define _RTCORBA_MUTEX_CH_

class TAO_Export Mutex : public virtual CORBA_Object
  {
  public:
  #if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
    typedef Mutex_ptr _ptr_type;
    typedef Mutex_var _var_type;
  #endif /* ! __GNUC__ || g++ >= 2.8 */

    // the static operations
    static Mutex_ptr _duplicate (Mutex_ptr obj);
    static Mutex_ptr _narrow (
        CORBA::Object_ptr obj,
        CORBA::Environment &ACE_TRY_ENV =
          TAO_default_environment ()
      );
    static Mutex_ptr _unchecked_narrow (
        CORBA::Object_ptr obj,
        CORBA::Environment &ACE_TRY_ENV =
          TAO_default_environment ()
      );
    static Mutex_ptr _nil (void)
      {
        return (Mutex_ptr)0;
      }

    virtual void lock (
        CORBA::Environment &ACE_TRY_ENV =
          TAO_default_environment ()
      )
      ACE_THROW_SPEC ((
        CORBA::SystemException
      )) = 0;

    virtual void unlock (
        CORBA::Environment &ACE_TRY_ENV =
          TAO_default_environment ()
      )
      ACE_THROW_SPEC ((
        CORBA::SystemException
      )) = 0;

    virtual CORBA::Boolean try_lock (
        TimeBase::TimeT max_wait,
        CORBA::Environment &ACE_TRY_ENV =
          TAO_default_environment ()
      )
      ACE_THROW_SPEC ((
        CORBA::SystemException
      )) = 0;

    virtual void *_tao_QueryInterface (ptr_arith_t type);

    virtual const char* _interface_repository_id (void) const;

  protected:
    Mutex (void);
    virtual ~Mutex (void);
  private:
    Mutex (const Mutex &);
    void operator= (const Mutex &);
  };


#endif /* end #if !defined */

#if !defined (_RTCORBA_RTORB___PTR_CH_)
#define _RTCORBA_RTORB___PTR_CH_

  class RTORB;
  typedef RTORB *RTORB_ptr;

#endif /* end #if !defined */


#if !defined (_RTCORBA_RTORB___VAR_CH_)
#define _RTCORBA_RTORB___VAR_CH_

  class TAO_Export RTORB_var : public TAO_Base_var
  {
  public:
    RTORB_var (void); // default constructor
    RTORB_var (RTORB_ptr);
    RTORB_var (const RTORB_var &); // copy constructor
    ~RTORB_var (void); // destructor

    RTORB_var &operator= (RTORB_ptr);
    RTORB_var &operator= (const RTORB_var &);
    RTORB_ptr operator-> (void) const;

    operator const RTORB_ptr &() const;
    operator RTORB_ptr &();
    // in, inout, out, _retn
    RTORB_ptr in (void) const;
    RTORB_ptr &inout (void);
    RTORB_ptr &out (void);
    RTORB_ptr _retn (void);
    RTORB_ptr ptr (void) const;

  private:
    RTORB_ptr ptr_;
    // Unimplemented - prevents widening assignment.
    RTORB_var (const TAO_Base_var &rhs);
    RTORB_var &operator= (const TAO_Base_var &rhs);
  };


#endif /* end #if !defined */


#if !defined (_RTCORBA_RTORB___OUT_CH_)
#define _RTCORBA_RTORB___OUT_CH_

  class TAO_Export RTORB_out
  {
  public:
    RTORB_out (RTORB_ptr &);
    RTORB_out (RTORB_var &);
    RTORB_out (const RTORB_out &);
    RTORB_out &operator= (const RTORB_out &);
    RTORB_out &operator= (const RTORB_var &);
    RTORB_out &operator= (RTORB_ptr);
    operator RTORB_ptr &();
    RTORB_ptr &ptr (void);
    RTORB_ptr operator-> (void);

  private:
    RTORB_ptr &ptr_;
  };


#endif /* end #if !defined */


#if !defined (_RTCORBA_RTORB_CH_)
#define _RTCORBA_RTORB_CH_

class TAO_Export RTORB : public virtual CORBA_Object
  {
  public:
  #if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
    typedef RTORB_ptr _ptr_type;
    typedef RTORB_var _var_type;
  #endif /* ! __GNUC__ || g++ >= 2.8 */

    // the static operations
    static RTORB_ptr _duplicate (RTORB_ptr obj);
    static RTORB_ptr _narrow (
        CORBA::Object_ptr obj,
        CORBA::Environment &ACE_TRY_ENV =
          TAO_default_environment ()
      );
    static RTORB_ptr _unchecked_narrow (
        CORBA::Object_ptr obj,
        CORBA::Environment &ACE_TRY_ENV =
          TAO_default_environment ()
      );
    static RTORB_ptr _nil (void)
      {
        return (RTORB_ptr)0;
      }

    virtual RTCORBA::Mutex_ptr create_mutex (
        CORBA::Environment &ACE_TRY_ENV =
          TAO_default_environment ()
      )
      ACE_THROW_SPEC ((
        CORBA::SystemException
      )) = 0;

    virtual void destroy_mutex (
        RTCORBA::Mutex_ptr the_mutex,
        CORBA::Environment &ACE_TRY_ENV =
          TAO_default_environment ()
      )
      ACE_THROW_SPEC ((
        CORBA::SystemException
      )) = 0;


#if !defined (_RTCORBA_RTORB_INVALIDTHREADPOOL_CH_)
#define _RTCORBA_RTORB_INVALIDTHREADPOOL_CH_

    class TAO_Export InvalidThreadpool : public CORBA::UserException
    {
    public:


    InvalidThreadpool (void); // default ctor
    InvalidThreadpool (const InvalidThreadpool &); // copy ctor
    ~InvalidThreadpool (void);
    InvalidThreadpool &operator= (const InvalidThreadpool &);


    virtual void _raise (void);

    virtual void _tao_encode (
        TAO_OutputCDR &,
        CORBA::Environment &) const;
    virtual void _tao_decode (
        TAO_InputCDR &,
        CORBA::Environment &);

    static InvalidThreadpool *_narrow (CORBA::Exception *);


    // = TAO extension
    static CORBA::Exception *_alloc (void);

  }; // exception RTCORBA::RTORB::InvalidThreadpool


#endif /* end #if !defined */

  virtual RTCORBA::ThreadpoolId create_threadpool (
      CORBA::ULong stacksize,
      CORBA::ULong static_threads,
      CORBA::ULong dynamic_threads,
      RTCORBA::Priority default_priority,
      CORBA::Boolean allow_request_buffering,
      CORBA::ULong max_buffered_requests,
      CORBA::ULong max_request_buffer_size,
      CORBA::Environment &ACE_TRY_ENV =
        TAO_default_environment ()
    )
    ACE_THROW_SPEC ((
      CORBA::SystemException
    )) = 0;

  virtual RTCORBA::ThreadpoolId create_threadpool_with_lanes (
      CORBA::ULong stacksize,
      const RTCORBA::ThreadpoolLanes & lanes,
      CORBA::Boolean allow_borrowing,
      CORBA::Boolean allow_request_buffering,
      CORBA::ULong max_buffered_requests,
      CORBA::ULong max_request_buffer_size,
      CORBA::Environment &ACE_TRY_ENV =
        TAO_default_environment ()
    )
    ACE_THROW_SPEC ((
      CORBA::SystemException
    )) = 0;

  virtual void destroy_threadpool (
      RTCORBA::ThreadpoolId threadpool,
      CORBA::Environment &ACE_TRY_ENV =
        TAO_default_environment ()
    )
    ACE_THROW_SPEC ((
      CORBA::SystemException,
      RTCORBA::RTORB::InvalidThreadpool
    )) = 0;

  virtual RTCORBA::PriorityModelPolicy_ptr create_priority_model_policy (
      RTCORBA::PriorityModel priority_model,
      RTCORBA::Priority server_priority,
      CORBA::Environment &ACE_TRY_ENV =
        TAO_default_environment ()
    )
    ACE_THROW_SPEC ((
      CORBA::SystemException
    )) = 0;

  virtual RTCORBA::ThreadpoolPolicy_ptr create_threadpool_policy (
      RTCORBA::ThreadpoolId threadpool,
      CORBA::Environment &ACE_TRY_ENV =
        TAO_default_environment ()
    )
    ACE_THROW_SPEC ((
      CORBA::SystemException
    )) = 0;

  virtual RTCORBA::PriorityBandedConnectionPolicy_ptr create_priority_banded_connection_policy (
      const RTCORBA::PriorityBands & priority_bands,
      CORBA::Environment &ACE_TRY_ENV =
        TAO_default_environment ()
    )
    ACE_THROW_SPEC ((
      CORBA::SystemException
    )) = 0;

  virtual RTCORBA::PrivateConnectionPolicy_ptr create_private_connection_policy (
      CORBA::Environment &ACE_TRY_ENV =
        TAO_default_environment ()
    )
    ACE_THROW_SPEC ((
      CORBA::SystemException
    )) = 0;

  virtual RTCORBA::ServerProtocolPolicy_ptr create_server_protocol_policy (
      const RTCORBA::ProtocolList & protocols,
      CORBA::Environment &ACE_TRY_ENV =
        TAO_default_environment ()
    )
    ACE_THROW_SPEC ((
      CORBA::SystemException
    )) = 0;

  virtual RTCORBA::ClientProtocolPolicy_ptr create_client_protocol_policy (
      const RTCORBA::ProtocolList & protocols,
      CORBA::Environment &ACE_TRY_ENV =
        TAO_default_environment ()
    )
    ACE_THROW_SPEC ((
      CORBA::SystemException
    )) = 0;

  virtual void *_tao_QueryInterface (ptr_arith_t type);

  virtual const char* _interface_repository_id (void) const;

protected:
  RTORB (void);
  virtual ~RTORB (void);
private:
  RTORB (const RTORB &);
  void operator= (const RTORB &);
};


#endif /* end #if !defined */

}
TAO_NAMESPACE_CLOSE // module RTCORBA

TAO_Export void operator<<= (CORBA::Any &, const RTCORBA::ThreadpoolLane &); // copying version
TAO_Export void operator<<= (CORBA::Any &, RTCORBA::ThreadpoolLane*); // noncopying version
TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, RTCORBA::ThreadpoolLane *&); // deprecated
TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const RTCORBA::ThreadpoolLane *&);
TAO_Export void operator<<= (CORBA::Any &, const RTCORBA::ThreadpoolLanes &); // copying version
TAO_Export void operator<<= (CORBA::Any &, RTCORBA::ThreadpoolLanes*); // noncopying version
TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, RTCORBA::ThreadpoolLanes *&); // deprecated
TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const RTCORBA::ThreadpoolLanes *&);
TAO_Export void operator<<= (CORBA::Any &, RTCORBA::PriorityModel);
TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, RTCORBA::PriorityModel &);
TAO_Export void operator<<= (CORBA::Any &, const RTCORBA::PriorityBand &); // copying version
TAO_Export void operator<<= (CORBA::Any &, RTCORBA::PriorityBand*); // noncopying version
TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, RTCORBA::PriorityBand *&); // deprecated
TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const RTCORBA::PriorityBand *&);
TAO_Export void operator<<= (CORBA::Any &, const RTCORBA::PriorityBands &); // copying version
TAO_Export void operator<<= (CORBA::Any &, RTCORBA::PriorityBands*); // noncopying version
TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, RTCORBA::PriorityBands *&); // deprecated
TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const RTCORBA::PriorityBands *&);

#ifndef __ACE_INLINE__

TAO_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const RTCORBA::ThreadpoolLane &);
TAO_Export CORBA::Boolean operator>> (TAO_InputCDR &, RTCORBA::ThreadpoolLane &);

#if !defined _TAO_CDR_OP_RTCORBA_ThreadpoolLanes_H_
#define _TAO_CDR_OP_RTCORBA_ThreadpoolLanes_H_

TAO_Export CORBA::Boolean operator<< (
    TAO_OutputCDR &,
    const RTCORBA::ThreadpoolLanes &
  );
TAO_Export CORBA::Boolean operator>> (
    TAO_InputCDR &,
    RTCORBA::ThreadpoolLanes &
  );

#endif /* _TAO_CDR_OP_RTCORBA_ThreadpoolLanes_H_ */

TAO_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const RTCORBA::PriorityModel &); //
TAO_Export CORBA::Boolean operator>> (TAO_InputCDR &, RTCORBA::PriorityModel &);
TAO_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const RTCORBA::PriorityBand &);
TAO_Export CORBA::Boolean operator>> (TAO_InputCDR &, RTCORBA::PriorityBand &);

#if !defined _TAO_CDR_OP_RTCORBA_PriorityBands_H_
#define _TAO_CDR_OP_RTCORBA_PriorityBands_H_

TAO_Export CORBA::Boolean operator<< (
    TAO_OutputCDR &,
    const RTCORBA::PriorityBands &
  );
TAO_Export CORBA::Boolean operator>> (
    TAO_InputCDR &,
    RTCORBA::PriorityBands &
  );

#endif /* _TAO_CDR_OP_RTCORBA_PriorityBands_H_ */


#endif /* __ACE_INLINE__ */


#if defined (__ACE_INLINE__)
#include "RTCORBAC.i"
#endif /* defined INLINE */

#if defined(_MSC_VER) && (_MSC_VER >= 1200)
#pragma warning(pop)
#endif /* _MSC_VER */

#endif /* TAO_HAS_RT_CORBA */

#include "ace/post.h"
#endif /* ifndef */