summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/lib/RtecEventChannelAdminC.cpp
blob: 8bcbbac3cd1622566c964f61d03687157aa90c25 (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
// ******  Code generated by the The ACE ORB (TAO) IDL Compiler *******
// TAO ORB and the TAO IDL Compiler have been developed by Washington 
// University Computer Science's Distributed Object Computing Group.
//
// Information on TAO is available at
//                 http://www.cs.wustl.edu/~schmidt/TAO.html

#include "RtecEventChannelAdminC.h"

#if !defined (__ACE_INLINE__)
#include "RtecEventChannelAdminC.i"
#endif // !defined INLINE

static const CORBA::Long _oc_RtecEventChannelAdmin_AlreadyConnected[] =
{
  0, // byte order
  47, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436861, 0x6e6e656c, 0x41646d69, 0x6e2f416c, 0x72656164, 0x79436f6e, 0x6e656374, 0x65643a31, 0x2e300000,  // repository ID = IDL:RtecEventChannelAdmin/AlreadyConnected:1.0
  17, 0x416c7265, 0x61647943, 0x6f6e6e65, 0x63746564, 0x0,  // name = AlreadyConnected
  0, // member count
};
static CORBA::TypeCode _tc__tc_RtecEventChannelAdmin_AlreadyConnected (CORBA::tk_struct, sizeof (_oc_RtecEventChannelAdmin_AlreadyConnected), (unsigned char *) &_oc_RtecEventChannelAdmin_AlreadyConnected, CORBA::B_FALSE);
CORBA::TypeCode_ptr RtecEventChannelAdmin::_tc_AlreadyConnected = &_tc__tc_RtecEventChannelAdmin_AlreadyConnected;

static const CORBA::Long _oc_RtecEventChannelAdmin_TypeError[] =
{
  0, // byte order
  40, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436861, 0x6e6e656c, 0x41646d69, 0x6e2f5479, 0x70654572, 0x726f723a, 0x312e3000,  // repository ID = IDL:RtecEventChannelAdmin/TypeError:1.0
  10, 0x54797065, 0x4572726f, 0x72000000,  // name = TypeError
  0, // member count
};
static CORBA::TypeCode _tc__tc_RtecEventChannelAdmin_TypeError (CORBA::tk_struct, sizeof (_oc_RtecEventChannelAdmin_TypeError), (unsigned char *) &_oc_RtecEventChannelAdmin_TypeError, CORBA::B_FALSE);
CORBA::TypeCode_ptr RtecEventChannelAdmin::_tc_TypeError = &_tc__tc_RtecEventChannelAdmin_TypeError;

static const CORBA::Long _oc_RtecEventChannelAdmin_Dependency[] =
{
  TAO_ENCAP_BYTE_ORDER, // byte order
  41, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436861, 0x6e6e656c, 0x41646d69, 0x6e2f4465, 0x70656e64, 0x656e6379, 0x3a312e30, 0x0,  // repository ID = IDL:RtecEventChannelAdmin/Dependency:1.0
  11, 0x44657065, 0x6e64656e, 0x63790000,  // name = Dependency
  2, // member count
    7, 0x6576656e, 0x745f0000,  // name = event_
    CORBA::tk_struct, // typecode kind
    396, // encapsulation length
      TAO_ENCAP_BYTE_ORDER, // byte order
      28, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e743a, 0x312e3000,  // repository ID = IDL:RtecEventComm/Event:1.0
      6, 0x4576656e, 0x74000000,  // name = Event
      4, // member count
        8, 0x736f7572, 0x63655f00,  // name = source_
        CORBA::tk_alias, // typecode kind for typedefs
        68, // encapsulation length
          TAO_ENCAP_BYTE_ORDER, // byte order
          36, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7453, 0x6f757263, 0x6549443a, 0x312e3000,  // repository ID = IDL:RtecEventComm/EventSourceID:1.0
          14, 0x4576656e, 0x74536f75, 0x72636549, 0x44000000,  // name = EventSourceID
          CORBA::tk_long,

        6, 0x74797065, 0x5f000000,  // name = type_
        CORBA::tk_alias, // typecode kind for typedefs
        60, // encapsulation length
          TAO_ENCAP_BYTE_ORDER, // byte order
          32, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7454, 0x7970653a, 0x312e3000,  // repository ID = IDL:RtecEventComm/EventType:1.0
          10, 0x4576656e, 0x74547970, 0x65000000,  // name = EventType
          CORBA::tk_long,

        6, 0x74696d65, 0x5f000000,  // name = time_
        CORBA::tk_alias, // typecode kind for typedefs
        52, // encapsulation length
          TAO_ENCAP_BYTE_ORDER, // byte order
          27, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f5469, 0x6d653a31, 0x2e300000,  // repository ID = IDL:RtecEventComm/Time:1.0
          5, 0x54696d65, 0x0,  // name = Time
          CORBA::tk_long,

        6, 0x64617461, 0x5f000000,  // name = data_
        CORBA::tk_struct, // typecode kind
        84, // encapsulation length
          TAO_ENCAP_BYTE_ORDER, // byte order
          32, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7444, 0x6174613a, 0x312e3000,  // repository ID = IDL:RtecEventComm/EventData:1.0
          10, 0x4576656e, 0x74446174, 0x61000000,  // name = EventData
          2, // member count
            2, 0x78000000,  // name = x
            CORBA::tk_long,

            2, 0x79000000,  // name = y
            CORBA::tk_long,

                8, 0x72745f69, 0x6e666f00,  // name = rt_info
    CORBA::tk_alias, // typecode kind for typedefs
    60, // encapsulation length
      TAO_ENCAP_BYTE_ORDER, // byte order
      31, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f6861, 0x6e646c65, 0x5f743a31, 0x2e300000,  // repository ID = IDL:RtecScheduler/handle_t:1.0
      9, 0x68616e64, 0x6c655f74, 0x0,  // name = handle_t
      CORBA::tk_long,

};
static CORBA::TypeCode _tc__tc_RtecEventChannelAdmin_Dependency (CORBA::tk_struct, sizeof (_oc_RtecEventChannelAdmin_Dependency), (unsigned char *) &_oc_RtecEventChannelAdmin_Dependency, CORBA::B_FALSE);
CORBA::TypeCode_ptr RtecEventChannelAdmin::_tc_Dependency = &_tc__tc_RtecEventChannelAdmin_Dependency;

// *************************************************************
// class RtecEventChannelAdmin::_tao__seq_DependencySet
// *************************************************************

// copy constructor
RtecEventChannelAdmin::_tao__seq_DependencySet::_tao__seq_DependencySet (const RtecEventChannelAdmin::_tao__seq_DependencySet &seq)
	: maximum_ (seq.maximum_),
	  length_ (seq.length_),
	  buffer_ (RtecEventChannelAdmin::_tao__seq_DependencySet::allocbuf (seq.maximum_)),
	  release_ (1) // we always own it
{
  for (CORBA::ULong i=0; i < seq.length_; i++)
  	this->buffer_[i] = seq.buffer_[i];
}

// destructor
RtecEventChannelAdmin::_tao__seq_DependencySet::~_tao__seq_DependencySet (void)
{
  if (this->release_) // we own the buffer
  {
    RtecEventChannelAdmin::_tao__seq_DependencySet::freebuf (this->buffer_);
  }
}

// assignment operator
RtecEventChannelAdmin::_tao__seq_DependencySet& 
RtecEventChannelAdmin::_tao__seq_DependencySet::operator= (const RtecEventChannelAdmin::_tao__seq_DependencySet &seq)
{
  if (this == &seq) return *this;
  if (this->release_)
  {
    RtecEventChannelAdmin::_tao__seq_DependencySet::freebuf (this->buffer_);
  }
  this->length_ = seq.length_;
  this->maximum_ = seq.maximum_;
  this->buffer_ = RtecEventChannelAdmin::_tao__seq_DependencySet::allocbuf (seq.maximum_),
  this->release_ =1; // we always own it
  for (CORBA::ULong i=0; i < seq.length_; i++)
  	this->buffer_[i] = seq.buffer_[i];
  return *this;
}

void
RtecEventChannelAdmin::_tao__seq_DependencySet::length (CORBA::ULong length)
{
  if (length > this->maximum_)
  {
    RtecEventChannelAdmin::Dependency *tmp = RtecEventChannelAdmin::_tao__seq_DependencySet::allocbuf (length);
    if (tmp == 0)
      return;
    for (int i = 0; i < this->length_; ++i)
    {
      tmp[i] = this->buffer_[i];
    }
    if (this->release_)
      RtecEventChannelAdmin::_tao__seq_DependencySet::freebuf (this->buffer_);
    this->buffer_ = tmp;
    this->release_ = 1;
    this->maximum_ = length;
  }
this->length_ = length;
}

static const CORBA::Long _oc_RtecEventChannelAdmin__tao__seq_DependencySet[] =
{
  TAO_ENCAP_BYTE_ORDER, // byte order
    CORBA::tk_struct, // typecode kind
  568, // encapsulation length
    TAO_ENCAP_BYTE_ORDER, // byte order
    41, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436861, 0x6e6e656c, 0x41646d69, 0x6e2f4465, 0x70656e64, 0x656e6379, 0x3a312e30, 0x0,  // repository ID = IDL:RtecEventChannelAdmin/Dependency:1.0
    11, 0x44657065, 0x6e64656e, 0x63790000,  // name = Dependency
    2, // member count
      7, 0x6576656e, 0x745f0000,  // name = event_
      CORBA::tk_struct, // typecode kind
      396, // encapsulation length
        TAO_ENCAP_BYTE_ORDER, // byte order
        28, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e743a, 0x312e3000,  // repository ID = IDL:RtecEventComm/Event:1.0
        6, 0x4576656e, 0x74000000,  // name = Event
        4, // member count
          8, 0x736f7572, 0x63655f00,  // name = source_
          CORBA::tk_alias, // typecode kind for typedefs
          68, // encapsulation length
            TAO_ENCAP_BYTE_ORDER, // byte order
            36, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7453, 0x6f757263, 0x6549443a, 0x312e3000,  // repository ID = IDL:RtecEventComm/EventSourceID:1.0
            14, 0x4576656e, 0x74536f75, 0x72636549, 0x44000000,  // name = EventSourceID
            CORBA::tk_long,

          6, 0x74797065, 0x5f000000,  // name = type_
          CORBA::tk_alias, // typecode kind for typedefs
          60, // encapsulation length
            TAO_ENCAP_BYTE_ORDER, // byte order
            32, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7454, 0x7970653a, 0x312e3000,  // repository ID = IDL:RtecEventComm/EventType:1.0
            10, 0x4576656e, 0x74547970, 0x65000000,  // name = EventType
            CORBA::tk_long,

          6, 0x74696d65, 0x5f000000,  // name = time_
          CORBA::tk_alias, // typecode kind for typedefs
          52, // encapsulation length
            TAO_ENCAP_BYTE_ORDER, // byte order
            27, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f5469, 0x6d653a31, 0x2e300000,  // repository ID = IDL:RtecEventComm/Time:1.0
            5, 0x54696d65, 0x0,  // name = Time
            CORBA::tk_long,

          6, 0x64617461, 0x5f000000,  // name = data_
          CORBA::tk_struct, // typecode kind
          84, // encapsulation length
            TAO_ENCAP_BYTE_ORDER, // byte order
            32, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7444, 0x6174613a, 0x312e3000,  // repository ID = IDL:RtecEventComm/EventData:1.0
            10, 0x4576656e, 0x74446174, 0x61000000,  // name = EventData
            2, // member count
              2, 0x78000000,  // name = x
              CORBA::tk_long,

              2, 0x79000000,  // name = y
              CORBA::tk_long,

                      8, 0x72745f69, 0x6e666f00,  // name = rt_info
      CORBA::tk_alias, // typecode kind for typedefs
      60, // encapsulation length
        TAO_ENCAP_BYTE_ORDER, // byte order
        31, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f6861, 0x6e646c65, 0x5f743a31, 0x2e300000,  // repository ID = IDL:RtecScheduler/handle_t:1.0
        9, 0x68616e64, 0x6c655f74, 0x0,  // name = handle_t
        CORBA::tk_long,

    0,
};
static CORBA::TypeCode _tc__tc_RtecEventChannelAdmin__tao__seq_DependencySet (CORBA::tk_sequence, sizeof (_oc_RtecEventChannelAdmin__tao__seq_DependencySet), (unsigned char *) &_oc_RtecEventChannelAdmin__tao__seq_DependencySet, CORBA::B_FALSE);
CORBA::TypeCode_ptr RtecEventChannelAdmin::_tc__tao__seq_DependencySet = &_tc__tc_RtecEventChannelAdmin__tao__seq_DependencySet;

static const CORBA::Long _oc_RtecEventChannelAdmin_DependencySet[] =
{
  TAO_ENCAP_BYTE_ORDER, // byte order
  44, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436861, 0x6e6e656c, 0x41646d69, 0x6e2f4465, 0x70656e64, 0x656e6379, 0x5365743a, 0x312e3000,  // repository ID = IDL:RtecEventChannelAdmin/DependencySet:1.0
  14, 0x44657065, 0x6e64656e, 0x63795365, 0x74000000,  // name = DependencySet
  CORBA::tk_sequence, // typecode kind
  592, // encapsulation length
  TAO_ENCAP_BYTE_ORDER, // byte order
    CORBA::tk_struct, // typecode kind
  568, // encapsulation length
    TAO_ENCAP_BYTE_ORDER, // byte order
    41, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436861, 0x6e6e656c, 0x41646d69, 0x6e2f4465, 0x70656e64, 0x656e6379, 0x3a312e30, 0x0,  // repository ID = IDL:RtecEventChannelAdmin/Dependency:1.0
    11, 0x44657065, 0x6e64656e, 0x63790000,  // name = Dependency
    2, // member count
      7, 0x6576656e, 0x745f0000,  // name = event_
      CORBA::tk_struct, // typecode kind
      396, // encapsulation length
        TAO_ENCAP_BYTE_ORDER, // byte order
        28, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e743a, 0x312e3000,  // repository ID = IDL:RtecEventComm/Event:1.0
        6, 0x4576656e, 0x74000000,  // name = Event
        4, // member count
          8, 0x736f7572, 0x63655f00,  // name = source_
          CORBA::tk_alias, // typecode kind for typedefs
          68, // encapsulation length
            TAO_ENCAP_BYTE_ORDER, // byte order
            36, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7453, 0x6f757263, 0x6549443a, 0x312e3000,  // repository ID = IDL:RtecEventComm/EventSourceID:1.0
            14, 0x4576656e, 0x74536f75, 0x72636549, 0x44000000,  // name = EventSourceID
            CORBA::tk_long,

          6, 0x74797065, 0x5f000000,  // name = type_
          CORBA::tk_alias, // typecode kind for typedefs
          60, // encapsulation length
            TAO_ENCAP_BYTE_ORDER, // byte order
            32, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7454, 0x7970653a, 0x312e3000,  // repository ID = IDL:RtecEventComm/EventType:1.0
            10, 0x4576656e, 0x74547970, 0x65000000,  // name = EventType
            CORBA::tk_long,

          6, 0x74696d65, 0x5f000000,  // name = time_
          CORBA::tk_alias, // typecode kind for typedefs
          52, // encapsulation length
            TAO_ENCAP_BYTE_ORDER, // byte order
            27, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f5469, 0x6d653a31, 0x2e300000,  // repository ID = IDL:RtecEventComm/Time:1.0
            5, 0x54696d65, 0x0,  // name = Time
            CORBA::tk_long,

          6, 0x64617461, 0x5f000000,  // name = data_
          CORBA::tk_struct, // typecode kind
          84, // encapsulation length
            TAO_ENCAP_BYTE_ORDER, // byte order
            32, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7444, 0x6174613a, 0x312e3000,  // repository ID = IDL:RtecEventComm/EventData:1.0
            10, 0x4576656e, 0x74446174, 0x61000000,  // name = EventData
            2, // member count
              2, 0x78000000,  // name = x
              CORBA::tk_long,

              2, 0x79000000,  // name = y
              CORBA::tk_long,

                      8, 0x72745f69, 0x6e666f00,  // name = rt_info
      CORBA::tk_alias, // typecode kind for typedefs
      60, // encapsulation length
        TAO_ENCAP_BYTE_ORDER, // byte order
        31, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f6861, 0x6e646c65, 0x5f743a31, 0x2e300000,  // repository ID = IDL:RtecScheduler/handle_t:1.0
        9, 0x68616e64, 0x6c655f74, 0x0,  // name = handle_t
        CORBA::tk_long,

    0,
};
static CORBA::TypeCode _tc__tc_RtecEventChannelAdmin_DependencySet (CORBA::tk_alias, sizeof (_oc_RtecEventChannelAdmin_DependencySet), (unsigned char *) &_oc_RtecEventChannelAdmin_DependencySet, CORBA::B_FALSE);
CORBA::TypeCode_ptr RtecEventChannelAdmin::_tc_DependencySet = &_tc__tc_RtecEventChannelAdmin_DependencySet;

static const CORBA::Long _oc_RtecEventChannelAdmin_ConsumerQOS[] =
{
  TAO_ENCAP_BYTE_ORDER, // byte order
  42, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436861, 0x6e6e656c, 0x41646d69, 0x6e2f436f, 0x6e73756d, 0x6572514f, 0x533a312e, 0x30000000,  // repository ID = IDL:RtecEventChannelAdmin/ConsumerQOS:1.0
  12, 0x436f6e73, 0x756d6572, 0x514f5300,  // name = ConsumerQOS
  2, // member count
    13, 0x64657065, 0x6e64656e, 0x63696573, 0x0,  // name = dependencies
    CORBA::tk_alias, // typecode kind for typedefs
    664, // encapsulation length
      TAO_ENCAP_BYTE_ORDER, // byte order
      44, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436861, 0x6e6e656c, 0x41646d69, 0x6e2f4465, 0x70656e64, 0x656e6379, 0x5365743a, 0x312e3000,  // repository ID = IDL:RtecEventChannelAdmin/DependencySet:1.0
      14, 0x44657065, 0x6e64656e, 0x63795365, 0x74000000,  // name = DependencySet
      CORBA::tk_sequence, // typecode kind
      592, // encapsulation length
      TAO_ENCAP_BYTE_ORDER, // byte order
            CORBA::tk_struct, // typecode kind
      568, // encapsulation length
        TAO_ENCAP_BYTE_ORDER, // byte order
        41, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436861, 0x6e6e656c, 0x41646d69, 0x6e2f4465, 0x70656e64, 0x656e6379, 0x3a312e30, 0x0,  // repository ID = IDL:RtecEventChannelAdmin/Dependency:1.0
        11, 0x44657065, 0x6e64656e, 0x63790000,  // name = Dependency
        2, // member count
          7, 0x6576656e, 0x745f0000,  // name = event_
          CORBA::tk_struct, // typecode kind
          396, // encapsulation length
            TAO_ENCAP_BYTE_ORDER, // byte order
            28, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e743a, 0x312e3000,  // repository ID = IDL:RtecEventComm/Event:1.0
            6, 0x4576656e, 0x74000000,  // name = Event
            4, // member count
              8, 0x736f7572, 0x63655f00,  // name = source_
              CORBA::tk_alias, // typecode kind for typedefs
              68, // encapsulation length
                TAO_ENCAP_BYTE_ORDER, // byte order
                36, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7453, 0x6f757263, 0x6549443a, 0x312e3000,  // repository ID = IDL:RtecEventComm/EventSourceID:1.0
                14, 0x4576656e, 0x74536f75, 0x72636549, 0x44000000,  // name = EventSourceID
                CORBA::tk_long,

              6, 0x74797065, 0x5f000000,  // name = type_
              CORBA::tk_alias, // typecode kind for typedefs
              60, // encapsulation length
                TAO_ENCAP_BYTE_ORDER, // byte order
                32, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7454, 0x7970653a, 0x312e3000,  // repository ID = IDL:RtecEventComm/EventType:1.0
                10, 0x4576656e, 0x74547970, 0x65000000,  // name = EventType
                CORBA::tk_long,

              6, 0x74696d65, 0x5f000000,  // name = time_
              CORBA::tk_alias, // typecode kind for typedefs
              52, // encapsulation length
                TAO_ENCAP_BYTE_ORDER, // byte order
                27, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f5469, 0x6d653a31, 0x2e300000,  // repository ID = IDL:RtecEventComm/Time:1.0
                5, 0x54696d65, 0x0,  // name = Time
                CORBA::tk_long,

              6, 0x64617461, 0x5f000000,  // name = data_
              CORBA::tk_struct, // typecode kind
              84, // encapsulation length
                TAO_ENCAP_BYTE_ORDER, // byte order
                32, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7444, 0x6174613a, 0x312e3000,  // repository ID = IDL:RtecEventComm/EventData:1.0
                10, 0x4576656e, 0x74446174, 0x61000000,  // name = EventData
                2, // member count
                  2, 0x78000000,  // name = x
                  CORBA::tk_long,

                  2, 0x79000000,  // name = y
                  CORBA::tk_long,

                                  8, 0x72745f69, 0x6e666f00,  // name = rt_info
          CORBA::tk_alias, // typecode kind for typedefs
          60, // encapsulation length
            TAO_ENCAP_BYTE_ORDER, // byte order
            31, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f6861, 0x6e646c65, 0x5f743a31, 0x2e300000,  // repository ID = IDL:RtecScheduler/handle_t:1.0
            9, 0x68616e64, 0x6c655f74, 0x0,  // name = handle_t
            CORBA::tk_long,

            0,
    14, 0x666f7277, 0x6172645f, 0x6576656e, 0x74000000,  // name = forward_event
    CORBA::tk_struct, // typecode kind
    396, // encapsulation length
      TAO_ENCAP_BYTE_ORDER, // byte order
      28, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e743a, 0x312e3000,  // repository ID = IDL:RtecEventComm/Event:1.0
      6, 0x4576656e, 0x74000000,  // name = Event
      4, // member count
        8, 0x736f7572, 0x63655f00,  // name = source_
        CORBA::tk_alias, // typecode kind for typedefs
        68, // encapsulation length
          TAO_ENCAP_BYTE_ORDER, // byte order
          36, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7453, 0x6f757263, 0x6549443a, 0x312e3000,  // repository ID = IDL:RtecEventComm/EventSourceID:1.0
          14, 0x4576656e, 0x74536f75, 0x72636549, 0x44000000,  // name = EventSourceID
          CORBA::tk_long,

        6, 0x74797065, 0x5f000000,  // name = type_
        CORBA::tk_alias, // typecode kind for typedefs
        60, // encapsulation length
          TAO_ENCAP_BYTE_ORDER, // byte order
          32, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7454, 0x7970653a, 0x312e3000,  // repository ID = IDL:RtecEventComm/EventType:1.0
          10, 0x4576656e, 0x74547970, 0x65000000,  // name = EventType
          CORBA::tk_long,

        6, 0x74696d65, 0x5f000000,  // name = time_
        CORBA::tk_alias, // typecode kind for typedefs
        52, // encapsulation length
          TAO_ENCAP_BYTE_ORDER, // byte order
          27, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f5469, 0x6d653a31, 0x2e300000,  // repository ID = IDL:RtecEventComm/Time:1.0
          5, 0x54696d65, 0x0,  // name = Time
          CORBA::tk_long,

        6, 0x64617461, 0x5f000000,  // name = data_
        CORBA::tk_struct, // typecode kind
        84, // encapsulation length
          TAO_ENCAP_BYTE_ORDER, // byte order
          32, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7444, 0x6174613a, 0x312e3000,  // repository ID = IDL:RtecEventComm/EventData:1.0
          10, 0x4576656e, 0x74446174, 0x61000000,  // name = EventData
          2, // member count
            2, 0x78000000,  // name = x
            CORBA::tk_long,

            2, 0x79000000,  // name = y
            CORBA::tk_long,

            };
static CORBA::TypeCode _tc__tc_RtecEventChannelAdmin_ConsumerQOS (CORBA::tk_struct, sizeof (_oc_RtecEventChannelAdmin_ConsumerQOS), (unsigned char *) &_oc_RtecEventChannelAdmin_ConsumerQOS, CORBA::B_FALSE);
CORBA::TypeCode_ptr RtecEventChannelAdmin::_tc_ConsumerQOS = &_tc__tc_RtecEventChannelAdmin_ConsumerQOS;

static const CORBA::Long _oc_RtecEventChannelAdmin_Publication[] =
{
  TAO_ENCAP_BYTE_ORDER, // byte order
  42, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436861, 0x6e6e656c, 0x41646d69, 0x6e2f5075, 0x626c6963, 0x6174696f, 0x6e3a312e, 0x30000000,  // repository ID = IDL:RtecEventChannelAdmin/Publication:1.0
  12, 0x5075626c, 0x69636174, 0x696f6e00,  // name = Publication
  2, // member count
    7, 0x6576656e, 0x745f0000,  // name = event_
    CORBA::tk_struct, // typecode kind
    396, // encapsulation length
      TAO_ENCAP_BYTE_ORDER, // byte order
      28, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e743a, 0x312e3000,  // repository ID = IDL:RtecEventComm/Event:1.0
      6, 0x4576656e, 0x74000000,  // name = Event
      4, // member count
        8, 0x736f7572, 0x63655f00,  // name = source_
        CORBA::tk_alias, // typecode kind for typedefs
        68, // encapsulation length
          TAO_ENCAP_BYTE_ORDER, // byte order
          36, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7453, 0x6f757263, 0x6549443a, 0x312e3000,  // repository ID = IDL:RtecEventComm/EventSourceID:1.0
          14, 0x4576656e, 0x74536f75, 0x72636549, 0x44000000,  // name = EventSourceID
          CORBA::tk_long,

        6, 0x74797065, 0x5f000000,  // name = type_
        CORBA::tk_alias, // typecode kind for typedefs
        60, // encapsulation length
          TAO_ENCAP_BYTE_ORDER, // byte order
          32, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7454, 0x7970653a, 0x312e3000,  // repository ID = IDL:RtecEventComm/EventType:1.0
          10, 0x4576656e, 0x74547970, 0x65000000,  // name = EventType
          CORBA::tk_long,

        6, 0x74696d65, 0x5f000000,  // name = time_
        CORBA::tk_alias, // typecode kind for typedefs
        52, // encapsulation length
          TAO_ENCAP_BYTE_ORDER, // byte order
          27, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f5469, 0x6d653a31, 0x2e300000,  // repository ID = IDL:RtecEventComm/Time:1.0
          5, 0x54696d65, 0x0,  // name = Time
          CORBA::tk_long,

        6, 0x64617461, 0x5f000000,  // name = data_
        CORBA::tk_struct, // typecode kind
        84, // encapsulation length
          TAO_ENCAP_BYTE_ORDER, // byte order
          32, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7444, 0x6174613a, 0x312e3000,  // repository ID = IDL:RtecEventComm/EventData:1.0
          10, 0x4576656e, 0x74446174, 0x61000000,  // name = EventData
          2, // member count
            2, 0x78000000,  // name = x
            CORBA::tk_long,

            2, 0x79000000,  // name = y
            CORBA::tk_long,

                17, 0x64657065, 0x6e64656e, 0x63795f69, 0x6e666f5f, 0x0,  // name = dependency_info_
    CORBA::tk_struct, // typecode kind
    176, // encapsulation length
      TAO_ENCAP_BYTE_ORDER, // byte order
      38, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f4465, 0x70656e64, 0x656e6379, 0x5f496e66, 0x6f3a312e, 0x30000000,  // repository ID = IDL:RtecScheduler/Dependency_Info:1.0
      16, 0x44657065, 0x6e64656e, 0x63795f49, 0x6e666f00,  // name = Dependency_Info
      2, // member count
        16, 0x6e756d62, 0x65725f6f, 0x665f6361, 0x6c6c7300,  // name = number_of_calls
        CORBA::tk_long,

        8, 0x72745f69, 0x6e666f00,  // name = rt_info
        CORBA::tk_alias, // typecode kind for typedefs
        60, // encapsulation length
          TAO_ENCAP_BYTE_ORDER, // byte order
          31, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f6861, 0x6e646c65, 0x5f743a31, 0x2e300000,  // repository ID = IDL:RtecScheduler/handle_t:1.0
          9, 0x68616e64, 0x6c655f74, 0x0,  // name = handle_t
          CORBA::tk_long,

    };
static CORBA::TypeCode _tc__tc_RtecEventChannelAdmin_Publication (CORBA::tk_struct, sizeof (_oc_RtecEventChannelAdmin_Publication), (unsigned char *) &_oc_RtecEventChannelAdmin_Publication, CORBA::B_FALSE);
CORBA::TypeCode_ptr RtecEventChannelAdmin::_tc_Publication = &_tc__tc_RtecEventChannelAdmin_Publication;

// *************************************************************
// class RtecEventChannelAdmin::_tao__seq_PublicationSet
// *************************************************************

// copy constructor
RtecEventChannelAdmin::_tao__seq_PublicationSet::_tao__seq_PublicationSet (const RtecEventChannelAdmin::_tao__seq_PublicationSet &seq)
	: maximum_ (seq.maximum_),
	  length_ (seq.length_),
	  buffer_ (RtecEventChannelAdmin::_tao__seq_PublicationSet::allocbuf (seq.maximum_)),
	  release_ (1) // we always own it
{
  for (CORBA::ULong i=0; i < seq.length_; i++)
  	this->buffer_[i] = seq.buffer_[i];
}

// destructor
RtecEventChannelAdmin::_tao__seq_PublicationSet::~_tao__seq_PublicationSet (void)
{
  if (this->release_) // we own the buffer
  {
    RtecEventChannelAdmin::_tao__seq_PublicationSet::freebuf (this->buffer_);
  }
}

// assignment operator
RtecEventChannelAdmin::_tao__seq_PublicationSet& 
RtecEventChannelAdmin::_tao__seq_PublicationSet::operator= (const RtecEventChannelAdmin::_tao__seq_PublicationSet &seq)
{
  if (this == &seq) return *this;
  if (this->release_)
  {
    RtecEventChannelAdmin::_tao__seq_PublicationSet::freebuf (this->buffer_);
  }
  this->length_ = seq.length_;
  this->maximum_ = seq.maximum_;
  this->buffer_ = RtecEventChannelAdmin::_tao__seq_PublicationSet::allocbuf (seq.maximum_),
  this->release_ =1; // we always own it
  for (CORBA::ULong i=0; i < seq.length_; i++)
  	this->buffer_[i] = seq.buffer_[i];
  return *this;
}

void
RtecEventChannelAdmin::_tao__seq_PublicationSet::length (CORBA::ULong length)
{
  if (length > this->maximum_)
  {
    RtecEventChannelAdmin::Publication *tmp = RtecEventChannelAdmin::_tao__seq_PublicationSet::allocbuf (length);
    if (tmp == 0)
      return;
    for (int i = 0; i < this->length_; ++i)
    {
      tmp[i] = this->buffer_[i];
    }
    if (this->release_)
      RtecEventChannelAdmin::_tao__seq_PublicationSet::freebuf (this->buffer_);
    this->buffer_ = tmp;
    this->release_ = 1;
    this->maximum_ = length;
  }
this->length_ = length;
}

static const CORBA::Long _oc_RtecEventChannelAdmin__tao__seq_PublicationSet[] =
{
  TAO_ENCAP_BYTE_ORDER, // byte order
    CORBA::tk_struct, // typecode kind
  696, // encapsulation length
    TAO_ENCAP_BYTE_ORDER, // byte order
    42, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436861, 0x6e6e656c, 0x41646d69, 0x6e2f5075, 0x626c6963, 0x6174696f, 0x6e3a312e, 0x30000000,  // repository ID = IDL:RtecEventChannelAdmin/Publication:1.0
    12, 0x5075626c, 0x69636174, 0x696f6e00,  // name = Publication
    2, // member count
      7, 0x6576656e, 0x745f0000,  // name = event_
      CORBA::tk_struct, // typecode kind
      396, // encapsulation length
        TAO_ENCAP_BYTE_ORDER, // byte order
        28, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e743a, 0x312e3000,  // repository ID = IDL:RtecEventComm/Event:1.0
        6, 0x4576656e, 0x74000000,  // name = Event
        4, // member count
          8, 0x736f7572, 0x63655f00,  // name = source_
          CORBA::tk_alias, // typecode kind for typedefs
          68, // encapsulation length
            TAO_ENCAP_BYTE_ORDER, // byte order
            36, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7453, 0x6f757263, 0x6549443a, 0x312e3000,  // repository ID = IDL:RtecEventComm/EventSourceID:1.0
            14, 0x4576656e, 0x74536f75, 0x72636549, 0x44000000,  // name = EventSourceID
            CORBA::tk_long,

          6, 0x74797065, 0x5f000000,  // name = type_
          CORBA::tk_alias, // typecode kind for typedefs
          60, // encapsulation length
            TAO_ENCAP_BYTE_ORDER, // byte order
            32, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7454, 0x7970653a, 0x312e3000,  // repository ID = IDL:RtecEventComm/EventType:1.0
            10, 0x4576656e, 0x74547970, 0x65000000,  // name = EventType
            CORBA::tk_long,

          6, 0x74696d65, 0x5f000000,  // name = time_
          CORBA::tk_alias, // typecode kind for typedefs
          52, // encapsulation length
            TAO_ENCAP_BYTE_ORDER, // byte order
            27, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f5469, 0x6d653a31, 0x2e300000,  // repository ID = IDL:RtecEventComm/Time:1.0
            5, 0x54696d65, 0x0,  // name = Time
            CORBA::tk_long,

          6, 0x64617461, 0x5f000000,  // name = data_
          CORBA::tk_struct, // typecode kind
          84, // encapsulation length
            TAO_ENCAP_BYTE_ORDER, // byte order
            32, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7444, 0x6174613a, 0x312e3000,  // repository ID = IDL:RtecEventComm/EventData:1.0
            10, 0x4576656e, 0x74446174, 0x61000000,  // name = EventData
            2, // member count
              2, 0x78000000,  // name = x
              CORBA::tk_long,

              2, 0x79000000,  // name = y
              CORBA::tk_long,

                      17, 0x64657065, 0x6e64656e, 0x63795f69, 0x6e666f5f, 0x0,  // name = dependency_info_
      CORBA::tk_struct, // typecode kind
      176, // encapsulation length
        TAO_ENCAP_BYTE_ORDER, // byte order
        38, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f4465, 0x70656e64, 0x656e6379, 0x5f496e66, 0x6f3a312e, 0x30000000,  // repository ID = IDL:RtecScheduler/Dependency_Info:1.0
        16, 0x44657065, 0x6e64656e, 0x63795f49, 0x6e666f00,  // name = Dependency_Info
        2, // member count
          16, 0x6e756d62, 0x65725f6f, 0x665f6361, 0x6c6c7300,  // name = number_of_calls
          CORBA::tk_long,

          8, 0x72745f69, 0x6e666f00,  // name = rt_info
          CORBA::tk_alias, // typecode kind for typedefs
          60, // encapsulation length
            TAO_ENCAP_BYTE_ORDER, // byte order
            31, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f6861, 0x6e646c65, 0x5f743a31, 0x2e300000,  // repository ID = IDL:RtecScheduler/handle_t:1.0
            9, 0x68616e64, 0x6c655f74, 0x0,  // name = handle_t
            CORBA::tk_long,

          0,
};
static CORBA::TypeCode _tc__tc_RtecEventChannelAdmin__tao__seq_PublicationSet (CORBA::tk_sequence, sizeof (_oc_RtecEventChannelAdmin__tao__seq_PublicationSet), (unsigned char *) &_oc_RtecEventChannelAdmin__tao__seq_PublicationSet, CORBA::B_FALSE);
CORBA::TypeCode_ptr RtecEventChannelAdmin::_tc__tao__seq_PublicationSet = &_tc__tc_RtecEventChannelAdmin__tao__seq_PublicationSet;

static const CORBA::Long _oc_RtecEventChannelAdmin_PublicationSet[] =
{
  TAO_ENCAP_BYTE_ORDER, // byte order
  45, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436861, 0x6e6e656c, 0x41646d69, 0x6e2f5075, 0x626c6963, 0x6174696f, 0x6e536574, 0x3a312e30, 0x0,  // repository ID = IDL:RtecEventChannelAdmin/PublicationSet:1.0
  15, 0x5075626c, 0x69636174, 0x696f6e53, 0x65740000,  // name = PublicationSet
  CORBA::tk_sequence, // typecode kind
  720, // encapsulation length
  TAO_ENCAP_BYTE_ORDER, // byte order
    CORBA::tk_struct, // typecode kind
  696, // encapsulation length
    TAO_ENCAP_BYTE_ORDER, // byte order
    42, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436861, 0x6e6e656c, 0x41646d69, 0x6e2f5075, 0x626c6963, 0x6174696f, 0x6e3a312e, 0x30000000,  // repository ID = IDL:RtecEventChannelAdmin/Publication:1.0
    12, 0x5075626c, 0x69636174, 0x696f6e00,  // name = Publication
    2, // member count
      7, 0x6576656e, 0x745f0000,  // name = event_
      CORBA::tk_struct, // typecode kind
      396, // encapsulation length
        TAO_ENCAP_BYTE_ORDER, // byte order
        28, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e743a, 0x312e3000,  // repository ID = IDL:RtecEventComm/Event:1.0
        6, 0x4576656e, 0x74000000,  // name = Event
        4, // member count
          8, 0x736f7572, 0x63655f00,  // name = source_
          CORBA::tk_alias, // typecode kind for typedefs
          68, // encapsulation length
            TAO_ENCAP_BYTE_ORDER, // byte order
            36, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7453, 0x6f757263, 0x6549443a, 0x312e3000,  // repository ID = IDL:RtecEventComm/EventSourceID:1.0
            14, 0x4576656e, 0x74536f75, 0x72636549, 0x44000000,  // name = EventSourceID
            CORBA::tk_long,

          6, 0x74797065, 0x5f000000,  // name = type_
          CORBA::tk_alias, // typecode kind for typedefs
          60, // encapsulation length
            TAO_ENCAP_BYTE_ORDER, // byte order
            32, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7454, 0x7970653a, 0x312e3000,  // repository ID = IDL:RtecEventComm/EventType:1.0
            10, 0x4576656e, 0x74547970, 0x65000000,  // name = EventType
            CORBA::tk_long,

          6, 0x74696d65, 0x5f000000,  // name = time_
          CORBA::tk_alias, // typecode kind for typedefs
          52, // encapsulation length
            TAO_ENCAP_BYTE_ORDER, // byte order
            27, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f5469, 0x6d653a31, 0x2e300000,  // repository ID = IDL:RtecEventComm/Time:1.0
            5, 0x54696d65, 0x0,  // name = Time
            CORBA::tk_long,

          6, 0x64617461, 0x5f000000,  // name = data_
          CORBA::tk_struct, // typecode kind
          84, // encapsulation length
            TAO_ENCAP_BYTE_ORDER, // byte order
            32, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7444, 0x6174613a, 0x312e3000,  // repository ID = IDL:RtecEventComm/EventData:1.0
            10, 0x4576656e, 0x74446174, 0x61000000,  // name = EventData
            2, // member count
              2, 0x78000000,  // name = x
              CORBA::tk_long,

              2, 0x79000000,  // name = y
              CORBA::tk_long,

                      17, 0x64657065, 0x6e64656e, 0x63795f69, 0x6e666f5f, 0x0,  // name = dependency_info_
      CORBA::tk_struct, // typecode kind
      176, // encapsulation length
        TAO_ENCAP_BYTE_ORDER, // byte order
        38, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f4465, 0x70656e64, 0x656e6379, 0x5f496e66, 0x6f3a312e, 0x30000000,  // repository ID = IDL:RtecScheduler/Dependency_Info:1.0
        16, 0x44657065, 0x6e64656e, 0x63795f49, 0x6e666f00,  // name = Dependency_Info
        2, // member count
          16, 0x6e756d62, 0x65725f6f, 0x665f6361, 0x6c6c7300,  // name = number_of_calls
          CORBA::tk_long,

          8, 0x72745f69, 0x6e666f00,  // name = rt_info
          CORBA::tk_alias, // typecode kind for typedefs
          60, // encapsulation length
            TAO_ENCAP_BYTE_ORDER, // byte order
            31, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f6861, 0x6e646c65, 0x5f743a31, 0x2e300000,  // repository ID = IDL:RtecScheduler/handle_t:1.0
            9, 0x68616e64, 0x6c655f74, 0x0,  // name = handle_t
            CORBA::tk_long,

          0,
};
static CORBA::TypeCode _tc__tc_RtecEventChannelAdmin_PublicationSet (CORBA::tk_alias, sizeof (_oc_RtecEventChannelAdmin_PublicationSet), (unsigned char *) &_oc_RtecEventChannelAdmin_PublicationSet, CORBA::B_FALSE);
CORBA::TypeCode_ptr RtecEventChannelAdmin::_tc_PublicationSet = &_tc__tc_RtecEventChannelAdmin_PublicationSet;

static const CORBA::Long _oc_RtecEventChannelAdmin_SupplierQOS[] =
{
  TAO_ENCAP_BYTE_ORDER, // byte order
  42, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436861, 0x6e6e656c, 0x41646d69, 0x6e2f5375, 0x70706c69, 0x6572514f, 0x533a312e, 0x30000000,  // repository ID = IDL:RtecEventChannelAdmin/SupplierQOS:1.0
  12, 0x53757070, 0x6c696572, 0x514f5300,  // name = SupplierQOS
  1, // member count
    14, 0x7075626c, 0x69636174, 0x696f6e73, 0x5f000000,  // name = publications_
    CORBA::tk_alias, // typecode kind for typedefs
    796, // encapsulation length
      TAO_ENCAP_BYTE_ORDER, // byte order
      45, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436861, 0x6e6e656c, 0x41646d69, 0x6e2f5075, 0x626c6963, 0x6174696f, 0x6e536574, 0x3a312e30, 0x0,  // repository ID = IDL:RtecEventChannelAdmin/PublicationSet:1.0
      15, 0x5075626c, 0x69636174, 0x696f6e53, 0x65740000,  // name = PublicationSet
      CORBA::tk_sequence, // typecode kind
      720, // encapsulation length
      TAO_ENCAP_BYTE_ORDER, // byte order
            CORBA::tk_struct, // typecode kind
      696, // encapsulation length
        TAO_ENCAP_BYTE_ORDER, // byte order
        42, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436861, 0x6e6e656c, 0x41646d69, 0x6e2f5075, 0x626c6963, 0x6174696f, 0x6e3a312e, 0x30000000,  // repository ID = IDL:RtecEventChannelAdmin/Publication:1.0
        12, 0x5075626c, 0x69636174, 0x696f6e00,  // name = Publication
        2, // member count
          7, 0x6576656e, 0x745f0000,  // name = event_
          CORBA::tk_struct, // typecode kind
          396, // encapsulation length
            TAO_ENCAP_BYTE_ORDER, // byte order
            28, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e743a, 0x312e3000,  // repository ID = IDL:RtecEventComm/Event:1.0
            6, 0x4576656e, 0x74000000,  // name = Event
            4, // member count
              8, 0x736f7572, 0x63655f00,  // name = source_
              CORBA::tk_alias, // typecode kind for typedefs
              68, // encapsulation length
                TAO_ENCAP_BYTE_ORDER, // byte order
                36, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7453, 0x6f757263, 0x6549443a, 0x312e3000,  // repository ID = IDL:RtecEventComm/EventSourceID:1.0
                14, 0x4576656e, 0x74536f75, 0x72636549, 0x44000000,  // name = EventSourceID
                CORBA::tk_long,

              6, 0x74797065, 0x5f000000,  // name = type_
              CORBA::tk_alias, // typecode kind for typedefs
              60, // encapsulation length
                TAO_ENCAP_BYTE_ORDER, // byte order
                32, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7454, 0x7970653a, 0x312e3000,  // repository ID = IDL:RtecEventComm/EventType:1.0
                10, 0x4576656e, 0x74547970, 0x65000000,  // name = EventType
                CORBA::tk_long,

              6, 0x74696d65, 0x5f000000,  // name = time_
              CORBA::tk_alias, // typecode kind for typedefs
              52, // encapsulation length
                TAO_ENCAP_BYTE_ORDER, // byte order
                27, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f5469, 0x6d653a31, 0x2e300000,  // repository ID = IDL:RtecEventComm/Time:1.0
                5, 0x54696d65, 0x0,  // name = Time
                CORBA::tk_long,

              6, 0x64617461, 0x5f000000,  // name = data_
              CORBA::tk_struct, // typecode kind
              84, // encapsulation length
                TAO_ENCAP_BYTE_ORDER, // byte order
                32, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7444, 0x6174613a, 0x312e3000,  // repository ID = IDL:RtecEventComm/EventData:1.0
                10, 0x4576656e, 0x74446174, 0x61000000,  // name = EventData
                2, // member count
                  2, 0x78000000,  // name = x
                  CORBA::tk_long,

                  2, 0x79000000,  // name = y
                  CORBA::tk_long,

                                  17, 0x64657065, 0x6e64656e, 0x63795f69, 0x6e666f5f, 0x0,  // name = dependency_info_
          CORBA::tk_struct, // typecode kind
          176, // encapsulation length
            TAO_ENCAP_BYTE_ORDER, // byte order
            38, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f4465, 0x70656e64, 0x656e6379, 0x5f496e66, 0x6f3a312e, 0x30000000,  // repository ID = IDL:RtecScheduler/Dependency_Info:1.0
            16, 0x44657065, 0x6e64656e, 0x63795f49, 0x6e666f00,  // name = Dependency_Info
            2, // member count
              16, 0x6e756d62, 0x65725f6f, 0x665f6361, 0x6c6c7300,  // name = number_of_calls
              CORBA::tk_long,

              8, 0x72745f69, 0x6e666f00,  // name = rt_info
              CORBA::tk_alias, // typecode kind for typedefs
              60, // encapsulation length
                TAO_ENCAP_BYTE_ORDER, // byte order
                31, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f6861, 0x6e646c65, 0x5f743a31, 0x2e300000,  // repository ID = IDL:RtecScheduler/handle_t:1.0
                9, 0x68616e64, 0x6c655f74, 0x0,  // name = handle_t
                CORBA::tk_long,

                      0,
};
static CORBA::TypeCode _tc__tc_RtecEventChannelAdmin_SupplierQOS (CORBA::tk_struct, sizeof (_oc_RtecEventChannelAdmin_SupplierQOS), (unsigned char *) &_oc_RtecEventChannelAdmin_SupplierQOS, CORBA::B_FALSE);
CORBA::TypeCode_ptr RtecEventChannelAdmin::_tc_SupplierQOS = &_tc__tc_RtecEventChannelAdmin_SupplierQOS;

RtecEventChannelAdmin::ProxyPushConsumer_ptr RtecEventChannelAdmin::ProxyPushConsumer::_duplicate (RtecEventChannelAdmin::ProxyPushConsumer_ptr obj)
{
  if (!CORBA::is_nil (obj))
    obj->AddRef ();
  
  return obj;
} // end of _duplicate

RtecEventChannelAdmin::ProxyPushConsumer_ptr RtecEventChannelAdmin::ProxyPushConsumer::_narrow (CORBA::Object_ptr obj, CORBA::Environment &env)
{
  if (CORBA::is_nil (obj)) return RtecEventChannelAdmin::ProxyPushConsumer::_nil ();
  if (obj->_is_a ("IDL:RtecEventChannelAdmin/ProxyPushConsumer:1.0", env))
  {
    STUB_Object *istub;
    RtecEventChannelAdmin::ProxyPushConsumer_ptr new_obj; // to be returned 
    if (obj->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
      return RtecEventChannelAdmin::ProxyPushConsumer::_nil ();
    
    obj->Release (); // need this since QueryIntf bumped our refcount
    new_obj = new RtecEventChannelAdmin::ProxyPushConsumer (istub); // construct obj ref using the stub object
    return new_obj;
  } // end of if
  return RtecEventChannelAdmin::ProxyPushConsumer::_nil (); // _narrow failed
} // end of _narrow

RtecEventChannelAdmin::ProxyPushConsumer_ptr RtecEventChannelAdmin::ProxyPushConsumer::_nil (void)
{
  return (RtecEventChannelAdmin::ProxyPushConsumer_ptr)NULL;
} // end of _nil

RtecEventChannelAdmin::ProxyPushConsumer_ptr RtecEventChannelAdmin::ProxyPushConsumer::_bind (const char *host, CORBA::UShort port, const char *key, CORBA::Environment &env)
{
  CORBA::Object_ptr objref = CORBA::Object::_nil ();
  IIOP_Object *data = new IIOP_Object (host, port, key);
  if (!data) return RtecEventChannelAdmin::ProxyPushConsumer::_nil ();
  // get the object_ptr using Query Interface
  if (data->QueryInterface (IID_CORBA_Object, (void **)&objref) != NOERROR)
  {
  	env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
  	return RtecEventChannelAdmin::ProxyPushConsumer::_nil ();
  }
  data->Release (); // QueryInterface had bumped up our count
  if (CORBA::is_nil (objref))
  	return RtecEventChannelAdmin::ProxyPushConsumer::_nil ();
  else // narrow it
  	return RtecEventChannelAdmin::ProxyPushConsumer::_narrow (objref, env);
}

static const TAO_Param_Data RtecEventChannelAdmin_ProxyPushConsumer_connect_push_supplier_paramdata [] = 
{
  {CORBA::_tc_void, PARAM_RETURN, 0},
  {RtecEventComm::_tc_PushSupplier, PARAM_IN, 0},
  {RtecEventChannelAdmin::_tc_SupplierQOS, PARAM_IN, 0}
};

static const TAO_Call_Data RtecEventChannelAdmin_ProxyPushConsumer_connect_push_supplier_calldata = 
{"connect_push_supplier", 0, 3, RtecEventChannelAdmin_ProxyPushConsumer_connect_push_supplier_paramdata, 0, 0};

void  RtecEventChannelAdmin::ProxyPushConsumer::connect_push_supplier (RtecEventComm::PushSupplier_ptr push_supplier, const RtecEventChannelAdmin::SupplierQOS &qos, CORBA::Environment &env)
{
  STUB_Object *istub;

  if (this->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
  {
    env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
    return;
  }
  this->Release (); // QueryInterface has bumped up our refcount
  CORBA::Object_ptr _tao_base_push_supplier = push_supplier; // cast it
  istub->do_call (env, &RtecEventChannelAdmin_ProxyPushConsumer_connect_push_supplier_calldata, 0, &_tao_base_push_supplier, &qos);
  return; // no value
  
}

static const CORBA::Long _oc_RtecEventChannelAdmin_ProxyPushConsumer[] =
{
  TAO_ENCAP_BYTE_ORDER, // byte order
  48, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436861, 0x6e6e656c, 0x41646d69, 0x6e2f5072, 0x6f787950, 0x75736843, 0x6f6e7375, 0x6d65723a, 0x312e3000,  // repository ID = IDL:RtecEventChannelAdmin/ProxyPushConsumer:1.0
  18, 0x50726f78, 0x79507573, 0x68436f6e, 0x73756d65, 0x72000000,  // name = ProxyPushConsumer,
};
static CORBA::TypeCode _tc__tc_RtecEventChannelAdmin_ProxyPushConsumer (CORBA::tk_objref, sizeof (_oc_RtecEventChannelAdmin_ProxyPushConsumer), (unsigned char *) &_oc_RtecEventChannelAdmin_ProxyPushConsumer, CORBA::B_FALSE);
CORBA::TypeCode_ptr RtecEventChannelAdmin::_tc_ProxyPushConsumer = &_tc__tc_RtecEventChannelAdmin_ProxyPushConsumer;

RtecEventChannelAdmin::ProxyPushSupplier_ptr RtecEventChannelAdmin::ProxyPushSupplier::_duplicate (RtecEventChannelAdmin::ProxyPushSupplier_ptr obj)
{
  if (!CORBA::is_nil (obj))
    obj->AddRef ();
  
  return obj;
} // end of _duplicate

RtecEventChannelAdmin::ProxyPushSupplier_ptr RtecEventChannelAdmin::ProxyPushSupplier::_narrow (CORBA::Object_ptr obj, CORBA::Environment &env)
{
  if (CORBA::is_nil (obj)) return RtecEventChannelAdmin::ProxyPushSupplier::_nil ();
  if (obj->_is_a ("IDL:RtecEventChannelAdmin/ProxyPushSupplier:1.0", env))
  {
    STUB_Object *istub;
    RtecEventChannelAdmin::ProxyPushSupplier_ptr new_obj; // to be returned 
    if (obj->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
      return RtecEventChannelAdmin::ProxyPushSupplier::_nil ();
    
    obj->Release (); // need this since QueryIntf bumped our refcount
    new_obj = new RtecEventChannelAdmin::ProxyPushSupplier (istub); // construct obj ref using the stub object
    return new_obj;
  } // end of if
  return RtecEventChannelAdmin::ProxyPushSupplier::_nil (); // _narrow failed
} // end of _narrow

RtecEventChannelAdmin::ProxyPushSupplier_ptr RtecEventChannelAdmin::ProxyPushSupplier::_nil (void)
{
  return (RtecEventChannelAdmin::ProxyPushSupplier_ptr)NULL;
} // end of _nil

RtecEventChannelAdmin::ProxyPushSupplier_ptr RtecEventChannelAdmin::ProxyPushSupplier::_bind (const char *host, CORBA::UShort port, const char *key, CORBA::Environment &env)
{
  CORBA::Object_ptr objref = CORBA::Object::_nil ();
  IIOP_Object *data = new IIOP_Object (host, port, key);
  if (!data) return RtecEventChannelAdmin::ProxyPushSupplier::_nil ();
  // get the object_ptr using Query Interface
  if (data->QueryInterface (IID_CORBA_Object, (void **)&objref) != NOERROR)
  {
  	env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
  	return RtecEventChannelAdmin::ProxyPushSupplier::_nil ();
  }
  data->Release (); // QueryInterface had bumped up our count
  if (CORBA::is_nil (objref))
  	return RtecEventChannelAdmin::ProxyPushSupplier::_nil ();
  else // narrow it
  	return RtecEventChannelAdmin::ProxyPushSupplier::_narrow (objref, env);
}

static const TAO_Param_Data RtecEventChannelAdmin_ProxyPushSupplier_connect_push_consumer_paramdata [] = 
{
  {CORBA::_tc_void, PARAM_RETURN, 0},
  {RtecEventComm::_tc_PushConsumer, PARAM_IN, 0},
  {RtecEventChannelAdmin::_tc_ConsumerQOS, PARAM_IN, 0}
};

static const TAO_Call_Data RtecEventChannelAdmin_ProxyPushSupplier_connect_push_consumer_calldata = 
{"connect_push_consumer", 0, 3, RtecEventChannelAdmin_ProxyPushSupplier_connect_push_consumer_paramdata, 0, 0};

void  RtecEventChannelAdmin::ProxyPushSupplier::connect_push_consumer (RtecEventComm::PushConsumer_ptr push_consumer, const RtecEventChannelAdmin::ConsumerQOS &qos, CORBA::Environment &env)
{
  STUB_Object *istub;

  if (this->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
  {
    env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
    return;
  }
  this->Release (); // QueryInterface has bumped up our refcount
  CORBA::Object_ptr _tao_base_push_consumer = push_consumer; // cast it
  istub->do_call (env, &RtecEventChannelAdmin_ProxyPushSupplier_connect_push_consumer_calldata, 0, &_tao_base_push_consumer, &qos);
  return; // no value
  
}

static const CORBA::Long _oc_RtecEventChannelAdmin_ProxyPushSupplier[] =
{
  TAO_ENCAP_BYTE_ORDER, // byte order
  48, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436861, 0x6e6e656c, 0x41646d69, 0x6e2f5072, 0x6f787950, 0x75736853, 0x7570706c, 0x6965723a, 0x312e3000,  // repository ID = IDL:RtecEventChannelAdmin/ProxyPushSupplier:1.0
  18, 0x50726f78, 0x79507573, 0x68537570, 0x706c6965, 0x72000000,  // name = ProxyPushSupplier,
};
static CORBA::TypeCode _tc__tc_RtecEventChannelAdmin_ProxyPushSupplier (CORBA::tk_objref, sizeof (_oc_RtecEventChannelAdmin_ProxyPushSupplier), (unsigned char *) &_oc_RtecEventChannelAdmin_ProxyPushSupplier, CORBA::B_FALSE);
CORBA::TypeCode_ptr RtecEventChannelAdmin::_tc_ProxyPushSupplier = &_tc__tc_RtecEventChannelAdmin_ProxyPushSupplier;

RtecEventChannelAdmin::ConsumerAdmin_ptr RtecEventChannelAdmin::ConsumerAdmin::_duplicate (RtecEventChannelAdmin::ConsumerAdmin_ptr obj)
{
  if (!CORBA::is_nil (obj))
    obj->AddRef ();
  
  return obj;
} // end of _duplicate

RtecEventChannelAdmin::ConsumerAdmin_ptr RtecEventChannelAdmin::ConsumerAdmin::_narrow (CORBA::Object_ptr obj, CORBA::Environment &env)
{
  if (CORBA::is_nil (obj)) return RtecEventChannelAdmin::ConsumerAdmin::_nil ();
  if (obj->_is_a ("IDL:RtecEventChannelAdmin/ConsumerAdmin:1.0", env))
  {
    STUB_Object *istub;
    RtecEventChannelAdmin::ConsumerAdmin_ptr new_obj; // to be returned 
    if (obj->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
      return RtecEventChannelAdmin::ConsumerAdmin::_nil ();
    
    obj->Release (); // need this since QueryIntf bumped our refcount
    new_obj = new RtecEventChannelAdmin::ConsumerAdmin (istub); // construct obj ref using the stub object
    return new_obj;
  } // end of if
  return RtecEventChannelAdmin::ConsumerAdmin::_nil (); // _narrow failed
} // end of _narrow

RtecEventChannelAdmin::ConsumerAdmin_ptr RtecEventChannelAdmin::ConsumerAdmin::_nil (void)
{
  return (RtecEventChannelAdmin::ConsumerAdmin_ptr)NULL;
} // end of _nil

RtecEventChannelAdmin::ConsumerAdmin_ptr RtecEventChannelAdmin::ConsumerAdmin::_bind (const char *host, CORBA::UShort port, const char *key, CORBA::Environment &env)
{
  CORBA::Object_ptr objref = CORBA::Object::_nil ();
  IIOP_Object *data = new IIOP_Object (host, port, key);
  if (!data) return RtecEventChannelAdmin::ConsumerAdmin::_nil ();
  // get the object_ptr using Query Interface
  if (data->QueryInterface (IID_CORBA_Object, (void **)&objref) != NOERROR)
  {
  	env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
  	return RtecEventChannelAdmin::ConsumerAdmin::_nil ();
  }
  data->Release (); // QueryInterface had bumped up our count
  if (CORBA::is_nil (objref))
  	return RtecEventChannelAdmin::ConsumerAdmin::_nil ();
  else // narrow it
  	return RtecEventChannelAdmin::ConsumerAdmin::_narrow (objref, env);
}

static const TAO_Param_Data RtecEventChannelAdmin_ConsumerAdmin_obtain_push_supplier_paramdata [] = 
{
  {RtecEventChannelAdmin::_tc_ProxyPushSupplier, PARAM_RETURN, 0}
};

static const TAO_Call_Data RtecEventChannelAdmin_ConsumerAdmin_obtain_push_supplier_calldata = 
{"obtain_push_supplier", 1, 1, RtecEventChannelAdmin_ConsumerAdmin_obtain_push_supplier_paramdata, 0, 0};

RtecEventChannelAdmin::ProxyPushSupplier_ptr  RtecEventChannelAdmin::ConsumerAdmin::obtain_push_supplier (CORBA::Environment &env)
{
  CORBA::Object_ptr retval = CORBA::Object::_nil ();
  STUB_Object *istub;

  if (this->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
  {
    env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
    return RtecEventChannelAdmin::ProxyPushSupplier::_nil ();
  }
  this->Release (); // QueryInterface has bumped up our refcount
  istub->do_call (env, &RtecEventChannelAdmin_ConsumerAdmin_obtain_push_supplier_calldata, &retval);
  return RtecEventChannelAdmin::ProxyPushSupplier::_narrow (retval, env);
  
}

static const CORBA::Long _oc_RtecEventChannelAdmin_ConsumerAdmin[] =
{
  TAO_ENCAP_BYTE_ORDER, // byte order
  44, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436861, 0x6e6e656c, 0x41646d69, 0x6e2f436f, 0x6e73756d, 0x65724164, 0x6d696e3a, 0x312e3000,  // repository ID = IDL:RtecEventChannelAdmin/ConsumerAdmin:1.0
  14, 0x436f6e73, 0x756d6572, 0x41646d69, 0x6e000000,  // name = ConsumerAdmin,
};
static CORBA::TypeCode _tc__tc_RtecEventChannelAdmin_ConsumerAdmin (CORBA::tk_objref, sizeof (_oc_RtecEventChannelAdmin_ConsumerAdmin), (unsigned char *) &_oc_RtecEventChannelAdmin_ConsumerAdmin, CORBA::B_FALSE);
CORBA::TypeCode_ptr RtecEventChannelAdmin::_tc_ConsumerAdmin = &_tc__tc_RtecEventChannelAdmin_ConsumerAdmin;

RtecEventChannelAdmin::SupplierAdmin_ptr RtecEventChannelAdmin::SupplierAdmin::_duplicate (RtecEventChannelAdmin::SupplierAdmin_ptr obj)
{
  if (!CORBA::is_nil (obj))
    obj->AddRef ();
  
  return obj;
} // end of _duplicate

RtecEventChannelAdmin::SupplierAdmin_ptr RtecEventChannelAdmin::SupplierAdmin::_narrow (CORBA::Object_ptr obj, CORBA::Environment &env)
{
  if (CORBA::is_nil (obj)) return RtecEventChannelAdmin::SupplierAdmin::_nil ();
  if (obj->_is_a ("IDL:RtecEventChannelAdmin/SupplierAdmin:1.0", env))
  {
    STUB_Object *istub;
    RtecEventChannelAdmin::SupplierAdmin_ptr new_obj; // to be returned 
    if (obj->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
      return RtecEventChannelAdmin::SupplierAdmin::_nil ();
    
    obj->Release (); // need this since QueryIntf bumped our refcount
    new_obj = new RtecEventChannelAdmin::SupplierAdmin (istub); // construct obj ref using the stub object
    return new_obj;
  } // end of if
  return RtecEventChannelAdmin::SupplierAdmin::_nil (); // _narrow failed
} // end of _narrow

RtecEventChannelAdmin::SupplierAdmin_ptr RtecEventChannelAdmin::SupplierAdmin::_nil (void)
{
  return (RtecEventChannelAdmin::SupplierAdmin_ptr)NULL;
} // end of _nil

RtecEventChannelAdmin::SupplierAdmin_ptr RtecEventChannelAdmin::SupplierAdmin::_bind (const char *host, CORBA::UShort port, const char *key, CORBA::Environment &env)
{
  CORBA::Object_ptr objref = CORBA::Object::_nil ();
  IIOP_Object *data = new IIOP_Object (host, port, key);
  if (!data) return RtecEventChannelAdmin::SupplierAdmin::_nil ();
  // get the object_ptr using Query Interface
  if (data->QueryInterface (IID_CORBA_Object, (void **)&objref) != NOERROR)
  {
  	env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
  	return RtecEventChannelAdmin::SupplierAdmin::_nil ();
  }
  data->Release (); // QueryInterface had bumped up our count
  if (CORBA::is_nil (objref))
  	return RtecEventChannelAdmin::SupplierAdmin::_nil ();
  else // narrow it
  	return RtecEventChannelAdmin::SupplierAdmin::_narrow (objref, env);
}

static const TAO_Param_Data RtecEventChannelAdmin_SupplierAdmin_obtain_push_consumer_paramdata [] = 
{
  {RtecEventChannelAdmin::_tc_ProxyPushConsumer, PARAM_RETURN, 0}
};

static const TAO_Call_Data RtecEventChannelAdmin_SupplierAdmin_obtain_push_consumer_calldata = 
{"obtain_push_consumer", 1, 1, RtecEventChannelAdmin_SupplierAdmin_obtain_push_consumer_paramdata, 0, 0};

RtecEventChannelAdmin::ProxyPushConsumer_ptr  RtecEventChannelAdmin::SupplierAdmin::obtain_push_consumer (CORBA::Environment &env)
{
  CORBA::Object_ptr retval = CORBA::Object::_nil ();
  STUB_Object *istub;

  if (this->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
  {
    env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
    return RtecEventChannelAdmin::ProxyPushConsumer::_nil ();
  }
  this->Release (); // QueryInterface has bumped up our refcount
  istub->do_call (env, &RtecEventChannelAdmin_SupplierAdmin_obtain_push_consumer_calldata, &retval);
  return RtecEventChannelAdmin::ProxyPushConsumer::_narrow (retval, env);
  
}

static const CORBA::Long _oc_RtecEventChannelAdmin_SupplierAdmin[] =
{
  TAO_ENCAP_BYTE_ORDER, // byte order
  44, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436861, 0x6e6e656c, 0x41646d69, 0x6e2f5375, 0x70706c69, 0x65724164, 0x6d696e3a, 0x312e3000,  // repository ID = IDL:RtecEventChannelAdmin/SupplierAdmin:1.0
  14, 0x53757070, 0x6c696572, 0x41646d69, 0x6e000000,  // name = SupplierAdmin,
};
static CORBA::TypeCode _tc__tc_RtecEventChannelAdmin_SupplierAdmin (CORBA::tk_objref, sizeof (_oc_RtecEventChannelAdmin_SupplierAdmin), (unsigned char *) &_oc_RtecEventChannelAdmin_SupplierAdmin, CORBA::B_FALSE);
CORBA::TypeCode_ptr RtecEventChannelAdmin::_tc_SupplierAdmin = &_tc__tc_RtecEventChannelAdmin_SupplierAdmin;

RtecEventChannelAdmin::EventChannel_ptr RtecEventChannelAdmin::EventChannel::_duplicate (RtecEventChannelAdmin::EventChannel_ptr obj)
{
  if (!CORBA::is_nil (obj))
    obj->AddRef ();
  
  return obj;
} // end of _duplicate

RtecEventChannelAdmin::EventChannel_ptr RtecEventChannelAdmin::EventChannel::_narrow (CORBA::Object_ptr obj, CORBA::Environment &env)
{
  if (CORBA::is_nil (obj)) return RtecEventChannelAdmin::EventChannel::_nil ();
  if (obj->_is_a ("IDL:RtecEventChannelAdmin/EventChannel:1.0", env))
  {
    STUB_Object *istub;
    RtecEventChannelAdmin::EventChannel_ptr new_obj; // to be returned 
    if (obj->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
      return RtecEventChannelAdmin::EventChannel::_nil ();
    
    obj->Release (); // need this since QueryIntf bumped our refcount
    new_obj = new RtecEventChannelAdmin::EventChannel (istub); // construct obj ref using the stub object
    return new_obj;
  } // end of if
  return RtecEventChannelAdmin::EventChannel::_nil (); // _narrow failed
} // end of _narrow

RtecEventChannelAdmin::EventChannel_ptr RtecEventChannelAdmin::EventChannel::_nil (void)
{
  return (RtecEventChannelAdmin::EventChannel_ptr)NULL;
} // end of _nil

RtecEventChannelAdmin::EventChannel_ptr RtecEventChannelAdmin::EventChannel::_bind (const char *host, CORBA::UShort port, const char *key, CORBA::Environment &env)
{
  CORBA::Object_ptr objref = CORBA::Object::_nil ();
  IIOP_Object *data = new IIOP_Object (host, port, key);
  if (!data) return RtecEventChannelAdmin::EventChannel::_nil ();
  // get the object_ptr using Query Interface
  if (data->QueryInterface (IID_CORBA_Object, (void **)&objref) != NOERROR)
  {
  	env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
  	return RtecEventChannelAdmin::EventChannel::_nil ();
  }
  data->Release (); // QueryInterface had bumped up our count
  if (CORBA::is_nil (objref))
  	return RtecEventChannelAdmin::EventChannel::_nil ();
  else // narrow it
  	return RtecEventChannelAdmin::EventChannel::_narrow (objref, env);
}

static const CORBA::Long _oc_RtecEventChannelAdmin_EventChannel_SYNCHRONIZATION_ERROR[] =
{
  0, // byte order
  65, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436861, 0x6e6e656c, 0x41646d69, 0x6e2f4576, 0x656e7443, 0x68616e6e, 0x656c2f53, 0x594e4348, 0x524f4e49, 0x5a415449, 0x4f4e5f45, 0x52524f52, 0x3a312e30, 0x0,  // repository ID = IDL:RtecEventChannelAdmin/EventChannel/SYNCHRONIZATION_ERROR:1.0
  22, 0x53594e43, 0x48524f4e, 0x495a4154, 0x494f4e5f, 0x4552524f, 0x52000000,  // name = SYNCHRONIZATION_ERROR
  3, // member count
    6, 0x6d696e6f, 0x72000000,  // name = minor
    CORBA::tk_long,

    7, 0x73746174, 0x75730000,  // name = status
    CORBA::tk_long,

    5, 0x6e616d65, 0x0,  // name = name
    CORBA::tk_string, 
    0, // string length
    };
static CORBA::TypeCode _tc__tc_RtecEventChannelAdmin_EventChannel_SYNCHRONIZATION_ERROR (CORBA::tk_struct, sizeof (_oc_RtecEventChannelAdmin_EventChannel_SYNCHRONIZATION_ERROR), (unsigned char *) &_oc_RtecEventChannelAdmin_EventChannel_SYNCHRONIZATION_ERROR, CORBA::B_FALSE);
CORBA::TypeCode_ptr RtecEventChannelAdmin::EventChannel::_tc_SYNCHRONIZATION_ERROR = &_tc__tc_RtecEventChannelAdmin_EventChannel_SYNCHRONIZATION_ERROR;

static const CORBA::Long _oc_RtecEventChannelAdmin_EventChannel_QOS_ERROR[] =
{
  0, // byte order
  53, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436861, 0x6e6e656c, 0x41646d69, 0x6e2f4576, 0x656e7443, 0x68616e6e, 0x656c2f51, 0x4f535f45, 0x52524f52, 0x3a312e30, 0x0,  // repository ID = IDL:RtecEventChannelAdmin/EventChannel/QOS_ERROR:1.0
  10, 0x514f535f, 0x4552524f, 0x52000000,  // name = QOS_ERROR
  3, // member count
    6, 0x6d696e6f, 0x72000000,  // name = minor
    CORBA::tk_long,

    7, 0x73746174, 0x75730000,  // name = status
    CORBA::tk_long,

    5, 0x6e616d65, 0x0,  // name = name
    CORBA::tk_string, 
    0, // string length
    };
static CORBA::TypeCode _tc__tc_RtecEventChannelAdmin_EventChannel_QOS_ERROR (CORBA::tk_struct, sizeof (_oc_RtecEventChannelAdmin_EventChannel_QOS_ERROR), (unsigned char *) &_oc_RtecEventChannelAdmin_EventChannel_QOS_ERROR, CORBA::B_FALSE);
CORBA::TypeCode_ptr RtecEventChannelAdmin::EventChannel::_tc_QOS_ERROR = &_tc__tc_RtecEventChannelAdmin_EventChannel_QOS_ERROR;

static const CORBA::Long _oc_RtecEventChannelAdmin_EventChannel_SUBSCRIPTION_ERROR[] =
{
  0, // byte order
  62, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436861, 0x6e6e656c, 0x41646d69, 0x6e2f4576, 0x656e7443, 0x68616e6e, 0x656c2f53, 0x55425343, 0x52495054, 0x494f4e5f, 0x4552524f, 0x523a312e, 0x30000000,  // repository ID = IDL:RtecEventChannelAdmin/EventChannel/SUBSCRIPTION_ERROR:1.0
  19, 0x53554253, 0x43524950, 0x54494f4e, 0x5f455252, 0x4f520000,  // name = SUBSCRIPTION_ERROR
  3, // member count
    6, 0x6d696e6f, 0x72000000,  // name = minor
    CORBA::tk_long,

    7, 0x73746174, 0x75730000,  // name = status
    CORBA::tk_long,

    5, 0x6e616d65, 0x0,  // name = name
    CORBA::tk_string, 
    0, // string length
    };
static CORBA::TypeCode _tc__tc_RtecEventChannelAdmin_EventChannel_SUBSCRIPTION_ERROR (CORBA::tk_struct, sizeof (_oc_RtecEventChannelAdmin_EventChannel_SUBSCRIPTION_ERROR), (unsigned char *) &_oc_RtecEventChannelAdmin_EventChannel_SUBSCRIPTION_ERROR, CORBA::B_FALSE);
CORBA::TypeCode_ptr RtecEventChannelAdmin::EventChannel::_tc_SUBSCRIPTION_ERROR = &_tc__tc_RtecEventChannelAdmin_EventChannel_SUBSCRIPTION_ERROR;

static const CORBA::Long _oc_RtecEventChannelAdmin_EventChannel_CORRELATION_ERROR[] =
{
  0, // byte order
  61, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436861, 0x6e6e656c, 0x41646d69, 0x6e2f4576, 0x656e7443, 0x68616e6e, 0x656c2f43, 0x4f525245, 0x4c415449, 0x4f4e5f45, 0x52524f52, 0x3a312e30, 0x0,  // repository ID = IDL:RtecEventChannelAdmin/EventChannel/CORRELATION_ERROR:1.0
  18, 0x434f5252, 0x454c4154, 0x494f4e5f, 0x4552524f, 0x52000000,  // name = CORRELATION_ERROR
  3, // member count
    6, 0x6d696e6f, 0x72000000,  // name = minor
    CORBA::tk_long,

    7, 0x73746174, 0x75730000,  // name = status
    CORBA::tk_long,

    5, 0x6e616d65, 0x0,  // name = name
    CORBA::tk_string, 
    0, // string length
    };
static CORBA::TypeCode _tc__tc_RtecEventChannelAdmin_EventChannel_CORRELATION_ERROR (CORBA::tk_struct, sizeof (_oc_RtecEventChannelAdmin_EventChannel_CORRELATION_ERROR), (unsigned char *) &_oc_RtecEventChannelAdmin_EventChannel_CORRELATION_ERROR, CORBA::B_FALSE);
CORBA::TypeCode_ptr RtecEventChannelAdmin::EventChannel::_tc_CORRELATION_ERROR = &_tc__tc_RtecEventChannelAdmin_EventChannel_CORRELATION_ERROR;

static const CORBA::Long _oc_RtecEventChannelAdmin_EventChannel_DISPATCH_ERROR[] =
{
  0, // byte order
  58, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436861, 0x6e6e656c, 0x41646d69, 0x6e2f4576, 0x656e7443, 0x68616e6e, 0x656c2f44, 0x49535041, 0x5443485f, 0x4552524f, 0x523a312e, 0x30000000,  // repository ID = IDL:RtecEventChannelAdmin/EventChannel/DISPATCH_ERROR:1.0
  15, 0x44495350, 0x41544348, 0x5f455252, 0x4f520000,  // name = DISPATCH_ERROR
  3, // member count
    6, 0x6d696e6f, 0x72000000,  // name = minor
    CORBA::tk_long,

    7, 0x73746174, 0x75730000,  // name = status
    CORBA::tk_long,

    5, 0x6e616d65, 0x0,  // name = name
    CORBA::tk_string, 
    0, // string length
    };
static CORBA::TypeCode _tc__tc_RtecEventChannelAdmin_EventChannel_DISPATCH_ERROR (CORBA::tk_struct, sizeof (_oc_RtecEventChannelAdmin_EventChannel_DISPATCH_ERROR), (unsigned char *) &_oc_RtecEventChannelAdmin_EventChannel_DISPATCH_ERROR, CORBA::B_FALSE);
CORBA::TypeCode_ptr RtecEventChannelAdmin::EventChannel::_tc_DISPATCH_ERROR = &_tc__tc_RtecEventChannelAdmin_EventChannel_DISPATCH_ERROR;

static const TAO_Param_Data RtecEventChannelAdmin_EventChannel_for_consumers_paramdata [] = 
{
  {RtecEventChannelAdmin::_tc_ConsumerAdmin, PARAM_RETURN, 0}
};

static const TAO_Call_Data RtecEventChannelAdmin_EventChannel_for_consumers_calldata = 
{"for_consumers", 1, 1, RtecEventChannelAdmin_EventChannel_for_consumers_paramdata, 0, 0};

RtecEventChannelAdmin::ConsumerAdmin_ptr  RtecEventChannelAdmin::EventChannel::for_consumers (CORBA::Environment &env)
{
  CORBA::Object_ptr retval = CORBA::Object::_nil ();
  STUB_Object *istub;

  if (this->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
  {
    env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
    return RtecEventChannelAdmin::ConsumerAdmin::_nil ();
  }
  this->Release (); // QueryInterface has bumped up our refcount
  istub->do_call (env, &RtecEventChannelAdmin_EventChannel_for_consumers_calldata, &retval);
  return RtecEventChannelAdmin::ConsumerAdmin::_narrow (retval, env);
  
}

static const TAO_Param_Data RtecEventChannelAdmin_EventChannel_for_suppliers_paramdata [] = 
{
  {RtecEventChannelAdmin::_tc_SupplierAdmin, PARAM_RETURN, 0}
};

static const TAO_Call_Data RtecEventChannelAdmin_EventChannel_for_suppliers_calldata = 
{"for_suppliers", 1, 1, RtecEventChannelAdmin_EventChannel_for_suppliers_paramdata, 0, 0};

RtecEventChannelAdmin::SupplierAdmin_ptr  RtecEventChannelAdmin::EventChannel::for_suppliers (CORBA::Environment &env)
{
  CORBA::Object_ptr retval = CORBA::Object::_nil ();
  STUB_Object *istub;

  if (this->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
  {
    env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
    return RtecEventChannelAdmin::SupplierAdmin::_nil ();
  }
  this->Release (); // QueryInterface has bumped up our refcount
  istub->do_call (env, &RtecEventChannelAdmin_EventChannel_for_suppliers_calldata, &retval);
  return RtecEventChannelAdmin::SupplierAdmin::_narrow (retval, env);
  
}

static const TAO_Param_Data RtecEventChannelAdmin_EventChannel_destroy_paramdata [] = 
{
  {CORBA::_tc_void, PARAM_RETURN, 0}
};

static const TAO_Call_Data RtecEventChannelAdmin_EventChannel_destroy_calldata = 
{"destroy", 1, 1, RtecEventChannelAdmin_EventChannel_destroy_paramdata, 0, 0};

void  RtecEventChannelAdmin::EventChannel::destroy (CORBA::Environment &env)
{
  STUB_Object *istub;

  if (this->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
  {
    env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
    return;
  }
  this->Release (); // QueryInterface has bumped up our refcount
  istub->do_call (env, &RtecEventChannelAdmin_EventChannel_destroy_calldata, 0);
  return; // no value
  
}

static const CORBA::Long _oc_RtecEventChannelAdmin_EventChannel[] =
{
  TAO_ENCAP_BYTE_ORDER, // byte order
  43, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436861, 0x6e6e656c, 0x41646d69, 0x6e2f4576, 0x656e7443, 0x68616e6e, 0x656c3a31, 0x2e300000,  // repository ID = IDL:RtecEventChannelAdmin/EventChannel:1.0
  13, 0x4576656e, 0x74436861, 0x6e6e656c, 0x0,  // name = EventChannel,
};
static CORBA::TypeCode _tc__tc_RtecEventChannelAdmin_EventChannel (CORBA::tk_objref, sizeof (_oc_RtecEventChannelAdmin_EventChannel), (unsigned char *) &_oc_RtecEventChannelAdmin_EventChannel, CORBA::B_FALSE);
CORBA::TypeCode_ptr RtecEventChannelAdmin::_tc_EventChannel = &_tc__tc_RtecEventChannelAdmin_EventChannel;