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 != 4000500L)
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 public:
00212
00213 ImageSeq() { }
00214
00215 virtual CORBA::Boolean _is_a(const char*)
00216 throw(CORBA::SystemException);
00217
00218 virtual CORBA::RepositoryId _primary_interface(const PortableServer::ObjectId&,
00219 PortableServer::POA_ptr);
00220
00221 HxCorba::ImageSeq_ptr _this();
00222
00223 virtual OB::DirectStubImpl_ptr _OB_createDirectStubImpl(PortableServer::POA_ptr,
00224 const PortableServer::ObjectId&);
00225 virtual void _OB_dispatch(OB::Upcall_ptr);
00226
00227
00228
00229
00230 virtual HxCorba::ImageRep_ptr getFrame(CORBA::Long frameNr)
00231 throw(CORBA::SystemException) = 0;
00232
00233
00234
00235
00236 virtual CORBA::Long nrFrames()
00237 throw(CORBA::SystemException) = 0;
00238
00239
00240
00241
00242 virtual HxCorba::Sizes frameSizes()
00243 throw(CORBA::SystemException) = 0;
00244
00245
00246
00247
00248 virtual HxCorba::RgbSeq* getRgb2d(CORBA::Long frameNr,
00249 const char* displayMode)
00250 throw(CORBA::SystemException) = 0;
00251
00252
00253
00254
00255 virtual void fillRgb2d(CORBA::Long frameNr,
00256 HxCorba::RgbBuffer_ptr buf,
00257 const char* displayMode)
00258 throw(CORBA::SystemException) = 0;
00259
00260
00261
00262
00263 virtual HxCorba::ImageSeqDisplayer_ptr getDisplayer()
00264 throw(CORBA::SystemException) = 0;
00265
00266
00267
00268
00269 virtual HxCorba::VxSegmentation_ptr findCuts(HxCorba::TagList_ptr tags)
00270 throw(CORBA::SystemException) = 0;
00271 };
00272
00273
00274
00275
00276 class ImageSeqFactory : virtual public PortableServer::ServantBase
00277 {
00278 ImageSeqFactory(const ImageSeqFactory&);
00279 void operator=(const ImageSeqFactory&);
00280
00281 protected:
00282
00283
00284
00285
00286 void _OB_op_constructImageSeq(OB::Upcall_ptr);
00287
00288
00289
00290
00291 void _OB_op_constructBufferedImageSeq(OB::Upcall_ptr);
00292
00293 public:
00294
00295 ImageSeqFactory() { }
00296
00297 virtual CORBA::Boolean _is_a(const char*)
00298 throw(CORBA::SystemException);
00299
00300 virtual CORBA::RepositoryId _primary_interface(const PortableServer::ObjectId&,
00301 PortableServer::POA_ptr);
00302
00303 HxCorba::ImageSeqFactory_ptr _this();
00304
00305 virtual OB::DirectStubImpl_ptr _OB_createDirectStubImpl(PortableServer::POA_ptr,
00306 const PortableServer::ObjectId&);
00307 virtual void _OB_dispatch(OB::Upcall_ptr);
00308
00309
00310
00311
00312 virtual HxCorba::ImageSeq_ptr constructImageSeq(const char* name)
00313 throw(CORBA::SystemException) = 0;
00314
00315
00316
00317
00318 virtual HxCorba::ImageSeq_ptr constructBufferedImageSeq(const char* name,
00319 CORBA::Long bufSize)
00320 throw(CORBA::SystemException) = 0;
00321 };
00322
00323 }
00324
00325
00326
00327
00328 namespace OBDirectStubImpl_HxCorba
00329 {
00330
00331
00332
00333
00334 class ImageSeqDisplayer : virtual public OBStubImpl_HxCorba::ImageSeqDisplayer,
00335 virtual public OB::DirectStubImpl
00336 {
00337 ImageSeqDisplayer(const ImageSeqDisplayer&);
00338 void operator=(const ImageSeqDisplayer&);
00339
00340 protected:
00341
00342 #ifdef HAVE_VCPLUSPLUS_BUGS
00343
00344 ImageSeqDisplayer() { }
00345
00346 #endif
00347
00348 ImageSeqDisplayer(PortableServer::POA_ptr,
00349 const PortableServer::ObjectId&,
00350 PortableServer::ServantBase*);
00351
00352 friend class POA_HxCorba::ImageSeqDisplayer;
00353
00354 public:
00355
00356
00357
00358
00359 virtual HxCorba::RgbSeq* getRgb2d(CORBA::Long frameNr);
00360
00361
00362
00363
00364 virtual void fillRgb2d(CORBA::Long frameNr,
00365 HxCorba::RgbBuffer_ptr buf);
00366
00367
00368
00369
00370 virtual CORBA::Long nrFrames();
00371
00372
00373
00374
00375 virtual void setDisplayMode(const char* displayMode);
00376
00377
00378
00379
00380 virtual char* getDisplayMode();
00381
00382
00383
00384
00385 virtual void setSize(const HxCorba::Sizes& newSize);
00386
00387
00388
00389
00390 virtual HxCorba::Sizes getSizes();
00391
00392
00393
00394
00395 virtual HxCorba::Sizes getOriginalSizes();
00396
00397
00398
00399
00400 virtual void close();
00401 };
00402
00403
00404
00405
00406 class ImageSeq : virtual public OBStubImpl_HxCorba::ImageSeq,
00407 virtual public OB::DirectStubImpl
00408 {
00409 ImageSeq(const ImageSeq&);
00410 void operator=(const ImageSeq&);
00411
00412 protected:
00413
00414 #ifdef HAVE_VCPLUSPLUS_BUGS
00415
00416 ImageSeq() { }
00417
00418 #endif
00419
00420 ImageSeq(PortableServer::POA_ptr,
00421 const PortableServer::ObjectId&,
00422 PortableServer::ServantBase*);
00423
00424 friend class POA_HxCorba::ImageSeq;
00425
00426 public:
00427
00428
00429
00430
00431 virtual HxCorba::ImageRep_ptr getFrame(CORBA::Long frameNr);
00432
00433
00434
00435
00436 virtual CORBA::Long nrFrames();
00437
00438
00439
00440
00441 virtual HxCorba::Sizes frameSizes();
00442
00443
00444
00445
00446 virtual HxCorba::RgbSeq* getRgb2d(CORBA::Long frameNr,
00447 const char* displayMode);
00448
00449
00450
00451
00452 virtual void fillRgb2d(CORBA::Long frameNr,
00453 HxCorba::RgbBuffer_ptr buf,
00454 const char* displayMode);
00455
00456
00457
00458
00459 virtual HxCorba::ImageSeqDisplayer_ptr getDisplayer();
00460
00461
00462
00463
00464 virtual HxCorba::VxSegmentation_ptr findCuts(HxCorba::TagList_ptr tags);
00465 };
00466
00467
00468
00469
00470 class ImageSeqFactory : virtual public OBStubImpl_HxCorba::ImageSeqFactory,
00471 virtual public OB::DirectStubImpl
00472 {
00473 ImageSeqFactory(const ImageSeqFactory&);
00474 void operator=(const ImageSeqFactory&);
00475
00476 protected:
00477
00478 #ifdef HAVE_VCPLUSPLUS_BUGS
00479
00480 ImageSeqFactory() { }
00481
00482 #endif
00483
00484 ImageSeqFactory(PortableServer::POA_ptr,
00485 const PortableServer::ObjectId&,
00486 PortableServer::ServantBase*);
00487
00488 friend class POA_HxCorba::ImageSeqFactory;
00489
00490 public:
00491
00492
00493
00494
00495 virtual HxCorba::ImageSeq_ptr constructImageSeq(const char* name);
00496
00497
00498
00499
00500 virtual HxCorba::ImageSeq_ptr constructBufferedImageSeq(const char* name,
00501 CORBA::Long bufSize);
00502 };
00503
00504 }
00505
00506 #endif