00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef ___HxCorbaImageSeq_skel_h__
00016 #define ___HxCorbaImageSeq_skel_h__
00017
00018 #include <HxCorbaImageSeq.h>
00019
00020 #include <HxCorbaImageRep_skel.h>
00021 #include <HxCorbaVxSegmentation_skel.h>
00022
00023 #ifndef OB_INTEGER_VERSION
00024 # error No ORBacus version defined! Is <OB/CORBA.h> included?
00025 #endif
00026
00027 #ifndef OB_NO_VERSION_CHECK
00028 # if (OB_INTEGER_VERSION != 4010000L)
00029 # error ORBacus version mismatch!
00030 # endif
00031 #endif
00032
00033
00034
00035
00036 namespace POA_HxCorba
00037 {
00038
00039
00040
00041
00042 class ImageSeqDisplayer : virtual public PortableServer::ServantBase
00043 {
00044 ImageSeqDisplayer(const ImageSeqDisplayer&);
00045 void operator=(const ImageSeqDisplayer&);
00046
00047 protected:
00048
00049
00050
00051
00052 void _OB_op_getRgb2d(OB::Upcall_ptr);
00053
00054
00055
00056
00057 void _OB_op_fillRgb2d(OB::Upcall_ptr);
00058
00059
00060
00061
00062 void _OB_op_nrFrames(OB::Upcall_ptr);
00063
00064
00065
00066
00067 void _OB_op_setDisplayMode(OB::Upcall_ptr);
00068
00069
00070
00071
00072 void _OB_op_getDisplayMode(OB::Upcall_ptr);
00073
00074
00075
00076
00077 void _OB_op_setSize(OB::Upcall_ptr);
00078
00079
00080
00081
00082 void _OB_op_getSizes(OB::Upcall_ptr);
00083
00084
00085
00086
00087 void _OB_op_getOriginalSizes(OB::Upcall_ptr);
00088
00089
00090
00091
00092 void _OB_op_close(OB::Upcall_ptr);
00093
00094 public:
00095
00096 ImageSeqDisplayer() { }
00097
00098 virtual CORBA::Boolean _is_a(const char*)
00099 throw(CORBA::SystemException);
00100
00101 virtual CORBA::RepositoryId _primary_interface(const PortableServer::ObjectId&,
00102 PortableServer::POA_ptr);
00103
00104 HxCorba::ImageSeqDisplayer_ptr _this();
00105
00106 virtual OB::DirectStubImpl_ptr _OB_createDirectStubImpl(PortableServer::POA_ptr,
00107 const PortableServer::ObjectId&);
00108 virtual void _OB_dispatch(OB::Upcall_ptr);
00109
00110
00111
00112
00113 virtual HxCorba::RgbSeq* getRgb2d(CORBA::Long frameNr)
00114 throw(CORBA::SystemException) = 0;
00115
00116
00117
00118
00119 virtual void fillRgb2d(CORBA::Long frameNr,
00120 HxCorba::RgbBuffer_ptr buf)
00121 throw(CORBA::SystemException) = 0;
00122
00123
00124
00125
00126 virtual CORBA::Long nrFrames()
00127 throw(CORBA::SystemException) = 0;
00128
00129
00130
00131
00132 virtual void setDisplayMode(const char* displayMode)
00133 throw(CORBA::SystemException) = 0;
00134
00135
00136
00137
00138 virtual char* getDisplayMode()
00139 throw(CORBA::SystemException) = 0;
00140
00141
00142
00143
00144 virtual void setSize(const HxCorba::Sizes& newSize)
00145 throw(CORBA::SystemException) = 0;
00146
00147
00148
00149
00150 virtual HxCorba::Sizes getSizes()
00151 throw(CORBA::SystemException) = 0;
00152
00153
00154
00155
00156 virtual HxCorba::Sizes getOriginalSizes()
00157 throw(CORBA::SystemException) = 0;
00158
00159
00160
00161
00162 virtual void close()
00163 throw(CORBA::SystemException) = 0;
00164 };
00165
00166
00167
00168
00169 class ImageSeq : virtual public PortableServer::ServantBase
00170 {
00171 ImageSeq(const ImageSeq&);
00172 void operator=(const ImageSeq&);
00173
00174 protected:
00175
00176
00177
00178
00179 void _OB_op_getFrame(OB::Upcall_ptr);
00180
00181
00182
00183
00184 void _OB_op_nrFrames(OB::Upcall_ptr);
00185
00186
00187
00188
00189 void _OB_op_frameSizes(OB::Upcall_ptr);
00190
00191
00192
00193
00194 void _OB_op_getRgb2d(OB::Upcall_ptr);
00195
00196
00197
00198
00199 void _OB_op_fillRgb2d(OB::Upcall_ptr);
00200
00201
00202
00203
00204 void _OB_op_getDisplayer(OB::Upcall_ptr);
00205
00206
00207
00208
00209 void _OB_op_findCuts(OB::Upcall_ptr);
00210
00211
00212
00213
00214 void _OB_op_destroy(OB::Upcall_ptr);
00215
00216 public:
00217
00218 ImageSeq() { }
00219
00220 virtual CORBA::Boolean _is_a(const char*)
00221 throw(CORBA::SystemException);
00222
00223 virtual CORBA::RepositoryId _primary_interface(const PortableServer::ObjectId&,
00224 PortableServer::POA_ptr);
00225
00226 HxCorba::ImageSeq_ptr _this();
00227
00228 virtual OB::DirectStubImpl_ptr _OB_createDirectStubImpl(PortableServer::POA_ptr,
00229 const PortableServer::ObjectId&);
00230 virtual void _OB_dispatch(OB::Upcall_ptr);
00231
00232
00233
00234
00235 virtual HxCorba::ImageRep_ptr getFrame(CORBA::Long frameNr)
00236 throw(CORBA::SystemException) = 0;
00237
00238
00239
00240
00241 virtual CORBA::Long nrFrames()
00242 throw(CORBA::SystemException) = 0;
00243
00244
00245
00246
00247 virtual HxCorba::Sizes frameSizes()
00248 throw(CORBA::SystemException) = 0;
00249
00250
00251
00252
00253 virtual HxCorba::RgbSeq* getRgb2d(CORBA::Long frameNr,
00254 const char* displayMode)
00255 throw(CORBA::SystemException) = 0;
00256
00257
00258
00259
00260 virtual void fillRgb2d(CORBA::Long frameNr,
00261 HxCorba::RgbBuffer_ptr buf,
00262 const char* displayMode)
00263 throw(CORBA::SystemException) = 0;
00264
00265
00266
00267
00268 virtual HxCorba::ImageSeqDisplayer_ptr getDisplayer()
00269 throw(CORBA::SystemException) = 0;
00270
00271
00272
00273
00274 virtual HxCorba::VxSegmentation_ptr findCuts(HxCorba::TagList_ptr tags)
00275 throw(CORBA::SystemException) = 0;
00276
00277
00278
00279
00280 virtual void destroy()
00281 throw(CORBA::SystemException) = 0;
00282 };
00283
00284
00285
00286
00287 class ImageSeqFactory : virtual public PortableServer::ServantBase
00288 {
00289 ImageSeqFactory(const ImageSeqFactory&);
00290 void operator=(const ImageSeqFactory&);
00291
00292 protected:
00293
00294
00295
00296
00297 void _OB_op_constructImageSeq(OB::Upcall_ptr);
00298
00299
00300
00301
00302 void _OB_op_constructBufferedImageSeq(OB::Upcall_ptr);
00303
00304
00305
00306
00307 void _OB_op_setUseMDC(OB::Upcall_ptr);
00308
00309 public:
00310
00311 ImageSeqFactory() { }
00312
00313 virtual CORBA::Boolean _is_a(const char*)
00314 throw(CORBA::SystemException);
00315
00316 virtual CORBA::RepositoryId _primary_interface(const PortableServer::ObjectId&,
00317 PortableServer::POA_ptr);
00318
00319 HxCorba::ImageSeqFactory_ptr _this();
00320
00321 virtual OB::DirectStubImpl_ptr _OB_createDirectStubImpl(PortableServer::POA_ptr,
00322 const PortableServer::ObjectId&);
00323 virtual void _OB_dispatch(OB::Upcall_ptr);
00324
00325
00326
00327
00328 virtual HxCorba::ImageSeq_ptr constructImageSeq(const char* name)
00329 throw(CORBA::SystemException) = 0;
00330
00331
00332
00333
00334 virtual HxCorba::ImageSeq_ptr constructBufferedImageSeq(const char* name,
00335 CORBA::Long bufSize)
00336 throw(CORBA::SystemException) = 0;
00337
00338
00339
00340
00341 virtual void setUseMDC(CORBA::Long flag)
00342 throw(CORBA::SystemException) = 0;
00343 };
00344
00345 }
00346
00347
00348
00349
00350 namespace OBDirectStubImpl_HxCorba
00351 {
00352
00353
00354
00355
00356 class ImageSeqDisplayer : virtual public OBStubImpl_HxCorba::ImageSeqDisplayer,
00357 virtual public OB::DirectStubImpl
00358 {
00359 ImageSeqDisplayer(const ImageSeqDisplayer&);
00360 void operator=(const ImageSeqDisplayer&);
00361
00362 protected:
00363
00364 #ifdef HAVE_VCPLUSPLUS_BUGS
00365
00366 ImageSeqDisplayer() { }
00367
00368 #endif
00369
00370 ImageSeqDisplayer(PortableServer::POA_ptr,
00371 const PortableServer::ObjectId&,
00372 PortableServer::ServantBase*);
00373
00374 friend class POA_HxCorba::ImageSeqDisplayer;
00375
00376 public:
00377
00378
00379
00380
00381 virtual HxCorba::RgbSeq* getRgb2d(CORBA::Long frameNr);
00382
00383
00384
00385
00386 virtual void fillRgb2d(CORBA::Long frameNr,
00387 HxCorba::RgbBuffer_ptr buf);
00388
00389
00390
00391
00392 virtual CORBA::Long nrFrames();
00393
00394
00395
00396
00397 virtual void setDisplayMode(const char* displayMode);
00398
00399
00400
00401
00402 virtual char* getDisplayMode();
00403
00404
00405
00406
00407 virtual void setSize(const HxCorba::Sizes& newSize);
00408
00409
00410
00411
00412 virtual HxCorba::Sizes getSizes();
00413
00414
00415
00416
00417 virtual HxCorba::Sizes getOriginalSizes();
00418
00419
00420
00421
00422 virtual void close();
00423 };
00424
00425
00426
00427
00428 class ImageSeq : virtual public OBStubImpl_HxCorba::ImageSeq,
00429 virtual public OB::DirectStubImpl
00430 {
00431 ImageSeq(const ImageSeq&);
00432 void operator=(const ImageSeq&);
00433
00434 protected:
00435
00436 #ifdef HAVE_VCPLUSPLUS_BUGS
00437
00438 ImageSeq() { }
00439
00440 #endif
00441
00442 ImageSeq(PortableServer::POA_ptr,
00443 const PortableServer::ObjectId&,
00444 PortableServer::ServantBase*);
00445
00446 friend class POA_HxCorba::ImageSeq;
00447
00448 public:
00449
00450
00451
00452
00453 virtual HxCorba::ImageRep_ptr getFrame(CORBA::Long frameNr);
00454
00455
00456
00457
00458 virtual CORBA::Long nrFrames();
00459
00460
00461
00462
00463 virtual HxCorba::Sizes frameSizes();
00464
00465
00466
00467
00468 virtual HxCorba::RgbSeq* getRgb2d(CORBA::Long frameNr,
00469 const char* displayMode);
00470
00471
00472
00473
00474 virtual void fillRgb2d(CORBA::Long frameNr,
00475 HxCorba::RgbBuffer_ptr buf,
00476 const char* displayMode);
00477
00478
00479
00480
00481 virtual HxCorba::ImageSeqDisplayer_ptr getDisplayer();
00482
00483
00484
00485
00486 virtual HxCorba::VxSegmentation_ptr findCuts(HxCorba::TagList_ptr tags);
00487
00488
00489
00490
00491 virtual void destroy();
00492 };
00493
00494
00495
00496
00497 class ImageSeqFactory : virtual public OBStubImpl_HxCorba::ImageSeqFactory,
00498 virtual public OB::DirectStubImpl
00499 {
00500 ImageSeqFactory(const ImageSeqFactory&);
00501 void operator=(const ImageSeqFactory&);
00502
00503 protected:
00504
00505 #ifdef HAVE_VCPLUSPLUS_BUGS
00506
00507 ImageSeqFactory() { }
00508
00509 #endif
00510
00511 ImageSeqFactory(PortableServer::POA_ptr,
00512 const PortableServer::ObjectId&,
00513 PortableServer::ServantBase*);
00514
00515 friend class POA_HxCorba::ImageSeqFactory;
00516
00517 public:
00518
00519
00520
00521
00522 virtual HxCorba::ImageSeq_ptr constructImageSeq(const char* name);
00523
00524
00525
00526
00527 virtual HxCorba::ImageSeq_ptr constructBufferedImageSeq(const char* name,
00528 CORBA::Long bufSize);
00529
00530
00531
00532
00533 virtual void setUseMDC(CORBA::Long flag);
00534 };
00535
00536 }
00537
00538 #endif