00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef ___HxCorbaDatabaseSessions_skel_h__
00016 #define ___HxCorbaDatabaseSessions_skel_h__
00017
00018 #include <HxCorbaDatabaseSessions.h>
00019
00020 #include <HxCorbaDatabase_skel.h>
00021
00022 #ifndef OB_INTEGER_VERSION
00023 # error No ORBacus version defined! Is <OB/CORBA.h> included?
00024 #endif
00025
00026 #ifndef OB_NO_VERSION_CHECK
00027 # if (OB_INTEGER_VERSION != 4010000L)
00028 # error ORBacus version mismatch!
00029 # endif
00030 #endif
00031
00032
00033
00034
00035 namespace POA_HxCorba
00036 {
00037
00038
00039
00040
00041 class VxSegmentBuilder : virtual public PortableServer::ServantBase
00042 {
00043 VxSegmentBuilder(const VxSegmentBuilder&);
00044 void operator=(const VxSegmentBuilder&);
00045
00046 protected:
00047
00048
00049
00050
00051 void _OB_op_addInt(OB::Upcall_ptr);
00052
00053
00054
00055
00056 void _OB_op_addDouble(OB::Upcall_ptr);
00057
00058
00059
00060
00061 void _OB_op_addString(OB::Upcall_ptr);
00062
00063 public:
00064
00065 VxSegmentBuilder() { }
00066
00067 virtual CORBA::Boolean _is_a(const char*)
00068 throw(CORBA::SystemException);
00069
00070 virtual CORBA::RepositoryId _primary_interface(const PortableServer::ObjectId&,
00071 PortableServer::POA_ptr);
00072
00073 HxCorba::VxSegmentBuilder_ptr _this();
00074
00075 virtual OB::DirectStubImpl_ptr _OB_createDirectStubImpl(PortableServer::POA_ptr,
00076 const PortableServer::ObjectId&);
00077 virtual void _OB_dispatch(OB::Upcall_ptr);
00078
00079
00080
00081
00082 virtual void addInt(const char* id,
00083 CORBA::Long value)
00084 throw(HxCorba::DatabaseException,
00085 CORBA::SystemException) = 0;
00086
00087
00088
00089
00090 virtual void addDouble(const char* id,
00091 CORBA::Double value)
00092 throw(HxCorba::DatabaseException,
00093 CORBA::SystemException) = 0;
00094
00095
00096
00097
00098 virtual void addString(const char* id,
00099 const char* value)
00100 throw(HxCorba::DatabaseException,
00101 CORBA::SystemException) = 0;
00102 };
00103
00104
00105
00106
00107 class VxSegmentationBuilder : virtual public PortableServer::ServantBase
00108 {
00109 VxSegmentationBuilder(const VxSegmentationBuilder&);
00110 void operator=(const VxSegmentationBuilder&);
00111
00112 protected:
00113
00114
00115
00116
00117 void _OB_op_setDescription(OB::Upcall_ptr);
00118
00119
00120
00121
00122 void _OB_op_buildSegment(OB::Upcall_ptr);
00123
00124 public:
00125
00126 VxSegmentationBuilder() { }
00127
00128 virtual CORBA::Boolean _is_a(const char*)
00129 throw(CORBA::SystemException);
00130
00131 virtual CORBA::RepositoryId _primary_interface(const PortableServer::ObjectId&,
00132 PortableServer::POA_ptr);
00133
00134 HxCorba::VxSegmentationBuilder_ptr _this();
00135
00136 virtual OB::DirectStubImpl_ptr _OB_createDirectStubImpl(PortableServer::POA_ptr,
00137 const PortableServer::ObjectId&);
00138 virtual void _OB_dispatch(OB::Upcall_ptr);
00139
00140
00141
00142
00143 virtual void setDescription(const char* description)
00144 throw(CORBA::SystemException) = 0;
00145
00146
00147
00148
00149 virtual HxCorba::VxSegmentBuilder_ptr buildSegment(CORBA::Long start,
00150 CORBA::Long end)
00151 throw(HxCorba::DatabaseException,
00152 CORBA::SystemException) = 0;
00153 };
00154
00155
00156
00157
00158 class StoreSession : virtual public POA_HxCorba::DatabaseSession
00159 {
00160 StoreSession(const StoreSession&);
00161 void operator=(const StoreSession&);
00162
00163 protected:
00164
00165
00166
00167
00168 void _OB_op_addSegmentation(OB::Upcall_ptr);
00169
00170
00171
00172
00173 void _OB_op_buildSegmentation(OB::Upcall_ptr);
00174
00175 public:
00176
00177 StoreSession() { }
00178
00179 virtual CORBA::Boolean _is_a(const char*)
00180 throw(CORBA::SystemException);
00181
00182 virtual CORBA::RepositoryId _primary_interface(const PortableServer::ObjectId&,
00183 PortableServer::POA_ptr);
00184
00185 HxCorba::StoreSession_ptr _this();
00186
00187 virtual OB::DirectStubImpl_ptr _OB_createDirectStubImpl(PortableServer::POA_ptr,
00188 const PortableServer::ObjectId&);
00189 virtual void _OB_dispatch(OB::Upcall_ptr);
00190
00191
00192
00193
00194 virtual void addSegmentation(HxCorba::VxSegmentation_ptr seg,
00195 const char* videoName,
00196 const char* segName,
00197 const char* description)
00198 throw(HxCorba::DatabaseException,
00199 CORBA::SystemException) = 0;
00200
00201
00202
00203
00204 virtual HxCorba::VxSegmentationBuilder_ptr buildSegmentation(const char* videoName,
00205 const char* segName)
00206 throw(HxCorba::DatabaseException,
00207 CORBA::SystemException) = 0;
00208 };
00209
00210
00211
00212
00213 class VxMutableSegment : virtual public POA_HxCorba::VxSegmentBuilder,
00214 virtual public POA_HxCorba::VxSegment
00215 {
00216 VxMutableSegment(const VxMutableSegment&);
00217 void operator=(const VxMutableSegment&);
00218
00219 protected:
00220
00221
00222
00223
00224 void _OB_op_setStart(OB::Upcall_ptr);
00225
00226
00227
00228
00229 void _OB_op_setEnd(OB::Upcall_ptr);
00230
00231
00232
00233
00234 void _OB_op_removeInt(OB::Upcall_ptr);
00235
00236
00237
00238
00239 void _OB_op_removeDouble(OB::Upcall_ptr);
00240
00241
00242
00243
00244 void _OB_op_removeString(OB::Upcall_ptr);
00245
00246
00247
00248
00249 void _OB_op_changeInt(OB::Upcall_ptr);
00250
00251
00252
00253
00254 void _OB_op_changeDouble(OB::Upcall_ptr);
00255
00256
00257
00258
00259 void _OB_op_changeString(OB::Upcall_ptr);
00260
00261 public:
00262
00263 VxMutableSegment() { }
00264
00265 virtual CORBA::Boolean _is_a(const char*)
00266 throw(CORBA::SystemException);
00267
00268 virtual CORBA::RepositoryId _primary_interface(const PortableServer::ObjectId&,
00269 PortableServer::POA_ptr);
00270
00271 HxCorba::VxMutableSegment_ptr _this();
00272
00273 virtual OB::DirectStubImpl_ptr _OB_createDirectStubImpl(PortableServer::POA_ptr,
00274 const PortableServer::ObjectId&);
00275 virtual void _OB_dispatch(OB::Upcall_ptr);
00276
00277
00278
00279
00280 virtual void setStart(CORBA::Long start)
00281 throw(CORBA::SystemException) = 0;
00282
00283
00284
00285
00286 virtual void setEnd(CORBA::Long end)
00287 throw(CORBA::SystemException) = 0;
00288
00289
00290
00291
00292 virtual void removeInt(const char* id)
00293 throw(HxCorba::DatabaseException,
00294 CORBA::SystemException) = 0;
00295
00296
00297
00298
00299 virtual void removeDouble(const char* id)
00300 throw(HxCorba::DatabaseException,
00301 CORBA::SystemException) = 0;
00302
00303
00304
00305
00306 virtual void removeString(const char* id)
00307 throw(HxCorba::DatabaseException,
00308 CORBA::SystemException) = 0;
00309
00310
00311
00312
00313 virtual void changeInt(const char* id,
00314 CORBA::Long newValue)
00315 throw(HxCorba::DatabaseException,
00316 CORBA::SystemException) = 0;
00317
00318
00319
00320
00321 virtual void changeDouble(const char* id,
00322 CORBA::Double newValue)
00323 throw(HxCorba::DatabaseException,
00324 CORBA::SystemException) = 0;
00325
00326
00327
00328
00329 virtual void changeString(const char* id,
00330 const char* newValue)
00331 throw(HxCorba::DatabaseException,
00332 CORBA::SystemException) = 0;
00333 };
00334
00335
00336
00337
00338 class VxMutableSegmentation : virtual public POA_HxCorba::VxSegmentationBuilder,
00339 virtual public POA_HxCorba::VxSegmentation
00340 {
00341 VxMutableSegmentation(const VxMutableSegmentation&);
00342 void operator=(const VxMutableSegmentation&);
00343
00344 protected:
00345
00346
00347
00348
00349 void _OB_op_removeSegment(OB::Upcall_ptr);
00350
00351 public:
00352
00353 VxMutableSegmentation() { }
00354
00355 virtual CORBA::Boolean _is_a(const char*)
00356 throw(CORBA::SystemException);
00357
00358 virtual CORBA::RepositoryId _primary_interface(const PortableServer::ObjectId&,
00359 PortableServer::POA_ptr);
00360
00361 HxCorba::VxMutableSegmentation_ptr _this();
00362
00363 virtual OB::DirectStubImpl_ptr _OB_createDirectStubImpl(PortableServer::POA_ptr,
00364 const PortableServer::ObjectId&);
00365 virtual void _OB_dispatch(OB::Upcall_ptr);
00366
00367
00368
00369
00370 virtual void removeSegment(CORBA::Long index)
00371 throw(HxCorba::DatabaseException,
00372 CORBA::SystemException) = 0;
00373 };
00374
00375
00376
00377
00378 class UpdateSession : virtual public POA_HxCorba::StoreSession
00379 {
00380 UpdateSession(const UpdateSession&);
00381 void operator=(const UpdateSession&);
00382
00383 protected:
00384
00385
00386
00387
00388 void _OB_op_removeVideo(OB::Upcall_ptr);
00389
00390
00391
00392
00393 void _OB_op_removeSegmentation(OB::Upcall_ptr);
00394
00395
00396
00397
00398 void _OB_op_removeSegment(OB::Upcall_ptr);
00399
00400 public:
00401
00402 UpdateSession() { }
00403
00404 virtual CORBA::Boolean _is_a(const char*)
00405 throw(CORBA::SystemException);
00406
00407 virtual CORBA::RepositoryId _primary_interface(const PortableServer::ObjectId&,
00408 PortableServer::POA_ptr);
00409
00410 HxCorba::UpdateSession_ptr _this();
00411
00412 virtual OB::DirectStubImpl_ptr _OB_createDirectStubImpl(PortableServer::POA_ptr,
00413 const PortableServer::ObjectId&);
00414 virtual void _OB_dispatch(OB::Upcall_ptr);
00415
00416
00417
00418
00419 virtual void removeVideo(const char* videoName)
00420 throw(HxCorba::DatabaseException,
00421 CORBA::SystemException) = 0;
00422
00423
00424
00425
00426 virtual void removeSegmentation(HxCorba::VxSegmentation_ptr seg)
00427 throw(HxCorba::DatabaseException,
00428 CORBA::SystemException) = 0;
00429
00430
00431
00432
00433 virtual void removeSegment(HxCorba::VxSegment_ptr segment)
00434 throw(HxCorba::DatabaseException,
00435 CORBA::SystemException) = 0;
00436 };
00437
00438
00439
00440
00441 class XMLSession : virtual public POA_HxCorba::DatabaseSession
00442 {
00443 XMLSession(const XMLSession&);
00444 void operator=(const XMLSession&);
00445
00446 protected:
00447
00448
00449
00450
00451 void _OB_op_queryXML(OB::Upcall_ptr);
00452
00453
00454
00455
00456 void _OB_op_queryDBData(OB::Upcall_ptr);
00457
00458 public:
00459
00460 XMLSession() { }
00461
00462 virtual CORBA::Boolean _is_a(const char*)
00463 throw(CORBA::SystemException);
00464
00465 virtual CORBA::RepositoryId _primary_interface(const PortableServer::ObjectId&,
00466 PortableServer::POA_ptr);
00467
00468 HxCorba::XMLSession_ptr _this();
00469
00470 virtual OB::DirectStubImpl_ptr _OB_createDirectStubImpl(PortableServer::POA_ptr,
00471 const PortableServer::ObjectId&);
00472 virtual void _OB_dispatch(OB::Upcall_ptr);
00473
00474
00475
00476
00477 virtual char* queryXML(const char* sqlQuery)
00478 throw(HxCorba::DatabaseException,
00479 CORBA::SystemException) = 0;
00480
00481
00482
00483
00484 virtual HxCorba::DBDataRowSeq* queryDBData(const char* sqlQuery,
00485 const HxCorba::DBDataTagSeq& resultType)
00486 throw(HxCorba::DatabaseException,
00487 CORBA::SystemException) = 0;
00488 };
00489
00490
00491
00492
00493 class HistogramSession : virtual public POA_HxCorba::DatabaseSession
00494 {
00495 HistogramSession(const HistogramSession&);
00496 void operator=(const HistogramSession&);
00497
00498 protected:
00499
00500
00501
00502
00503 void _OB_op_addHistogram(OB::Upcall_ptr);
00504
00505
00506
00507
00508 void _OB_op_getHistogram(OB::Upcall_ptr);
00509
00510
00511
00512
00513 void _OB_op_nearest(OB::Upcall_ptr);
00514
00515
00516
00517
00518 void _OB_op_random(OB::Upcall_ptr);
00519
00520
00521
00522
00523 void _OB_op_search(OB::Upcall_ptr);
00524
00525 public:
00526
00527 HistogramSession() { }
00528
00529 virtual CORBA::Boolean _is_a(const char*)
00530 throw(CORBA::SystemException);
00531
00532 virtual CORBA::RepositoryId _primary_interface(const PortableServer::ObjectId&,
00533 PortableServer::POA_ptr);
00534
00535 HxCorba::HistogramSession_ptr _this();
00536
00537 virtual OB::DirectStubImpl_ptr _OB_createDirectStubImpl(PortableServer::POA_ptr,
00538 const PortableServer::ObjectId&);
00539 virtual void _OB_dispatch(OB::Upcall_ptr);
00540
00541
00542
00543
00544 virtual void addHistogram(const char* imageName,
00545 const char* setName,
00546 const HxCorba::FloatSeq& histoData)
00547 throw(HxCorba::DatabaseException,
00548 CORBA::SystemException) = 0;
00549
00550
00551
00552
00553 virtual HxCorba::FloatSeq* getHistogram(const char* imageName,
00554 const char* setName)
00555 throw(HxCorba::DatabaseException,
00556 CORBA::SystemException) = 0;
00557
00558
00559
00560
00561 virtual HxCorba::StringSeq* nearest(const char* imageName,
00562 const char* setName,
00563 CORBA::Long count)
00564 throw(HxCorba::DatabaseException,
00565 CORBA::SystemException) = 0;
00566
00567
00568
00569
00570 virtual HxCorba::StringSeq* random(const char* setName,
00571 CORBA::Long count)
00572 throw(HxCorba::DatabaseException,
00573 CORBA::SystemException) = 0;
00574
00575
00576
00577
00578 virtual HxCorba::StringSeq* search(CORBA::Long count,
00579 const HxCorba::FloatSeq& sample)
00580 throw(HxCorba::DatabaseException,
00581 CORBA::SystemException) = 0;
00582 };
00583
00584
00585
00586
00587 class VxSimilarityBuilder : virtual public PortableServer::ServantBase
00588 {
00589 VxSimilarityBuilder(const VxSimilarityBuilder&);
00590 void operator=(const VxSimilarityBuilder&);
00591
00592 protected:
00593
00594
00595
00596
00597 void _OB_op_addSimilarity(OB::Upcall_ptr);
00598
00599 public:
00600
00601 VxSimilarityBuilder() { }
00602
00603 virtual CORBA::Boolean _is_a(const char*)
00604 throw(CORBA::SystemException);
00605
00606 virtual CORBA::RepositoryId _primary_interface(const PortableServer::ObjectId&,
00607 PortableServer::POA_ptr);
00608
00609 HxCorba::VxSimilarityBuilder_ptr _this();
00610
00611 virtual OB::DirectStubImpl_ptr _OB_createDirectStubImpl(PortableServer::POA_ptr,
00612 const PortableServer::ObjectId&);
00613 virtual void _OB_dispatch(OB::Upcall_ptr);
00614
00615
00616
00617
00618 virtual void addSimilarity(CORBA::Long index1,
00619 CORBA::Long index2,
00620 CORBA::Double value,
00621 CORBA::Long keyFrame1,
00622 CORBA::Long keyFrame2)
00623 throw(HxCorba::DatabaseException,
00624 CORBA::SystemException) = 0;
00625 };
00626
00627
00628
00629
00630 class VxSimilaritySession : virtual public POA_HxCorba::DatabaseSession
00631 {
00632 VxSimilaritySession(const VxSimilaritySession&);
00633 void operator=(const VxSimilaritySession&);
00634
00635 protected:
00636
00637
00638
00639
00640 void _OB_op_addSimilarities(OB::Upcall_ptr);
00641
00642 public:
00643
00644 VxSimilaritySession() { }
00645
00646 virtual CORBA::Boolean _is_a(const char*)
00647 throw(CORBA::SystemException);
00648
00649 virtual CORBA::RepositoryId _primary_interface(const PortableServer::ObjectId&,
00650 PortableServer::POA_ptr);
00651
00652 HxCorba::VxSimilaritySession_ptr _this();
00653
00654 virtual OB::DirectStubImpl_ptr _OB_createDirectStubImpl(PortableServer::POA_ptr,
00655 const PortableServer::ObjectId&);
00656 virtual void _OB_dispatch(OB::Upcall_ptr);
00657
00658
00659
00660
00661 virtual HxCorba::VxSimilarityBuilder_ptr addSimilarities(const char* videoName,
00662 const char* segName,
00663 const char* featureName)
00664 throw(HxCorba::DatabaseException,
00665 CORBA::SystemException) = 0;
00666 };
00667
00668
00669
00670
00671 class FullSession : virtual public POA_HxCorba::UpdateSession,
00672 virtual public POA_HxCorba::XMLSession,
00673 virtual public POA_HxCorba::HistogramSession,
00674 virtual public POA_HxCorba::VxSimilaritySession
00675 {
00676 FullSession(const FullSession&);
00677 void operator=(const FullSession&);
00678
00679 public:
00680
00681 FullSession() { }
00682
00683 virtual CORBA::Boolean _is_a(const char*)
00684 throw(CORBA::SystemException);
00685
00686 virtual CORBA::RepositoryId _primary_interface(const PortableServer::ObjectId&,
00687 PortableServer::POA_ptr);
00688
00689 HxCorba::FullSession_ptr _this();
00690
00691 virtual OB::DirectStubImpl_ptr _OB_createDirectStubImpl(PortableServer::POA_ptr,
00692 const PortableServer::ObjectId&);
00693 virtual void _OB_dispatch(OB::Upcall_ptr);
00694 };
00695
00696 }
00697
00698
00699
00700
00701 namespace OBDirectStubImpl_HxCorba
00702 {
00703
00704
00705
00706
00707 class VxSegmentBuilder : virtual public OBStubImpl_HxCorba::VxSegmentBuilder,
00708 virtual public OB::DirectStubImpl
00709 {
00710 VxSegmentBuilder(const VxSegmentBuilder&);
00711 void operator=(const VxSegmentBuilder&);
00712
00713 protected:
00714
00715 #ifdef HAVE_VCPLUSPLUS_BUGS
00716
00717 VxSegmentBuilder() { }
00718
00719 #endif
00720
00721 VxSegmentBuilder(PortableServer::POA_ptr,
00722 const PortableServer::ObjectId&,
00723 PortableServer::ServantBase*);
00724
00725 friend class POA_HxCorba::VxSegmentBuilder;
00726
00727 public:
00728
00729
00730
00731
00732 virtual void addInt(const char* id,
00733 CORBA::Long value);
00734
00735
00736
00737
00738 virtual void addDouble(const char* id,
00739 CORBA::Double value);
00740
00741
00742
00743
00744 virtual void addString(const char* id,
00745 const char* value);
00746 };
00747
00748
00749
00750
00751 class VxSegmentationBuilder : virtual public OBStubImpl_HxCorba::VxSegmentationBuilder,
00752 virtual public OB::DirectStubImpl
00753 {
00754 VxSegmentationBuilder(const VxSegmentationBuilder&);
00755 void operator=(const VxSegmentationBuilder&);
00756
00757 protected:
00758
00759 #ifdef HAVE_VCPLUSPLUS_BUGS
00760
00761 VxSegmentationBuilder() { }
00762
00763 #endif
00764
00765 VxSegmentationBuilder(PortableServer::POA_ptr,
00766 const PortableServer::ObjectId&,
00767 PortableServer::ServantBase*);
00768
00769 friend class POA_HxCorba::VxSegmentationBuilder;
00770
00771 public:
00772
00773
00774
00775
00776 virtual void setDescription(const char* description);
00777
00778
00779
00780
00781 virtual HxCorba::VxSegmentBuilder_ptr buildSegment(CORBA::Long start,
00782 CORBA::Long end);
00783 };
00784
00785
00786
00787
00788 class StoreSession : virtual public OBStubImpl_HxCorba::StoreSession,
00789 virtual public OBDirectStubImpl_HxCorba::DatabaseSession
00790 {
00791 StoreSession(const StoreSession&);
00792 void operator=(const StoreSession&);
00793
00794 protected:
00795
00796 #ifdef HAVE_VCPLUSPLUS_BUGS
00797
00798 StoreSession() { }
00799
00800 #endif
00801
00802 StoreSession(PortableServer::POA_ptr,
00803 const PortableServer::ObjectId&,
00804 PortableServer::ServantBase*);
00805
00806 friend class POA_HxCorba::StoreSession;
00807
00808 public:
00809
00810
00811
00812
00813 virtual void addSegmentation(HxCorba::VxSegmentation_ptr seg,
00814 const char* videoName,
00815 const char* segName,
00816 const char* description);
00817
00818
00819
00820
00821 virtual HxCorba::VxSegmentationBuilder_ptr buildSegmentation(const char* videoName,
00822 const char* segName);
00823 };
00824
00825
00826
00827
00828 class VxMutableSegment : virtual public OBStubImpl_HxCorba::VxMutableSegment,
00829 virtual public OBDirectStubImpl_HxCorba::VxSegmentBuilder,
00830 virtual public OBDirectStubImpl_HxCorba::VxSegment
00831 {
00832 VxMutableSegment(const VxMutableSegment&);
00833 void operator=(const VxMutableSegment&);
00834
00835 protected:
00836
00837 #ifdef HAVE_VCPLUSPLUS_BUGS
00838
00839 VxMutableSegment() { }
00840
00841 #endif
00842
00843 VxMutableSegment(PortableServer::POA_ptr,
00844 const PortableServer::ObjectId&,
00845 PortableServer::ServantBase*);
00846
00847 friend class POA_HxCorba::VxMutableSegment;
00848
00849 public:
00850
00851
00852
00853
00854 virtual void setStart(CORBA::Long start);
00855
00856
00857
00858
00859 virtual void setEnd(CORBA::Long end);
00860
00861
00862
00863
00864 virtual void removeInt(const char* id);
00865
00866
00867
00868
00869 virtual void removeDouble(const char* id);
00870
00871
00872
00873
00874 virtual void removeString(const char* id);
00875
00876
00877
00878
00879 virtual void changeInt(const char* id,
00880 CORBA::Long newValue);
00881
00882
00883
00884
00885 virtual void changeDouble(const char* id,
00886 CORBA::Double newValue);
00887
00888
00889
00890
00891 virtual void changeString(const char* id,
00892 const char* newValue);
00893 };
00894
00895
00896
00897
00898 class VxMutableSegmentation : virtual public OBStubImpl_HxCorba::VxMutableSegmentation,
00899 virtual public OBDirectStubImpl_HxCorba::VxSegmentationBuilder,
00900 virtual public OBDirectStubImpl_HxCorba::VxSegmentation
00901 {
00902 VxMutableSegmentation(const VxMutableSegmentation&);
00903 void operator=(const VxMutableSegmentation&);
00904
00905 protected:
00906
00907 #ifdef HAVE_VCPLUSPLUS_BUGS
00908
00909 VxMutableSegmentation() { }
00910
00911 #endif
00912
00913 VxMutableSegmentation(PortableServer::POA_ptr,
00914 const PortableServer::ObjectId&,
00915 PortableServer::ServantBase*);
00916
00917 friend class POA_HxCorba::VxMutableSegmentation;
00918
00919 public:
00920
00921
00922
00923
00924 virtual void removeSegment(CORBA::Long index);
00925 };
00926
00927
00928
00929
00930 class UpdateSession : virtual public OBStubImpl_HxCorba::UpdateSession,
00931 virtual public OBDirectStubImpl_HxCorba::StoreSession
00932 {
00933 UpdateSession(const UpdateSession&);
00934 void operator=(const UpdateSession&);
00935
00936 protected:
00937
00938 #ifdef HAVE_VCPLUSPLUS_BUGS
00939
00940 UpdateSession() { }
00941
00942 #endif
00943
00944 UpdateSession(PortableServer::POA_ptr,
00945 const PortableServer::ObjectId&,
00946 PortableServer::ServantBase*);
00947
00948 friend class POA_HxCorba::UpdateSession;
00949
00950 public:
00951
00952
00953
00954
00955 virtual void removeVideo(const char* videoName);
00956
00957
00958
00959
00960 virtual void removeSegmentation(HxCorba::VxSegmentation_ptr seg);
00961
00962
00963
00964
00965 virtual void removeSegment(HxCorba::VxSegment_ptr segment);
00966 };
00967
00968
00969
00970
00971 class XMLSession : virtual public OBStubImpl_HxCorba::XMLSession,
00972 virtual public OBDirectStubImpl_HxCorba::DatabaseSession
00973 {
00974 XMLSession(const XMLSession&);
00975 void operator=(const XMLSession&);
00976
00977 protected:
00978
00979 #ifdef HAVE_VCPLUSPLUS_BUGS
00980
00981 XMLSession() { }
00982
00983 #endif
00984
00985 XMLSession(PortableServer::POA_ptr,
00986 const PortableServer::ObjectId&,
00987 PortableServer::ServantBase*);
00988
00989 friend class POA_HxCorba::XMLSession;
00990
00991 public:
00992
00993
00994
00995
00996 virtual char* queryXML(const char* sqlQuery);
00997
00998
00999
01000
01001 virtual HxCorba::DBDataRowSeq* queryDBData(const char* sqlQuery,
01002 const HxCorba::DBDataTagSeq& resultType);
01003 };
01004
01005
01006
01007
01008 class HistogramSession : virtual public OBStubImpl_HxCorba::HistogramSession,
01009 virtual public OBDirectStubImpl_HxCorba::DatabaseSession
01010 {
01011 HistogramSession(const HistogramSession&);
01012 void operator=(const HistogramSession&);
01013
01014 protected:
01015
01016 #ifdef HAVE_VCPLUSPLUS_BUGS
01017
01018 HistogramSession() { }
01019
01020 #endif
01021
01022 HistogramSession(PortableServer::POA_ptr,
01023 const PortableServer::ObjectId&,
01024 PortableServer::ServantBase*);
01025
01026 friend class POA_HxCorba::HistogramSession;
01027
01028 public:
01029
01030
01031
01032
01033 virtual void addHistogram(const char* imageName,
01034 const char* setName,
01035 const HxCorba::FloatSeq& histoData);
01036
01037
01038
01039
01040 virtual HxCorba::FloatSeq* getHistogram(const char* imageName,
01041 const char* setName);
01042
01043
01044
01045
01046 virtual HxCorba::StringSeq* nearest(const char* imageName,
01047 const char* setName,
01048 CORBA::Long count);
01049
01050
01051
01052
01053 virtual HxCorba::StringSeq* random(const char* setName,
01054 CORBA::Long count);
01055
01056
01057
01058
01059 virtual HxCorba::StringSeq* search(CORBA::Long count,
01060 const HxCorba::FloatSeq& sample);
01061 };
01062
01063
01064
01065
01066 class VxSimilarityBuilder : virtual public OBStubImpl_HxCorba::VxSimilarityBuilder,
01067 virtual public OB::DirectStubImpl
01068 {
01069 VxSimilarityBuilder(const VxSimilarityBuilder&);
01070 void operator=(const VxSimilarityBuilder&);
01071
01072 protected:
01073
01074 #ifdef HAVE_VCPLUSPLUS_BUGS
01075
01076 VxSimilarityBuilder() { }
01077
01078 #endif
01079
01080 VxSimilarityBuilder(PortableServer::POA_ptr,
01081 const PortableServer::ObjectId&,
01082 PortableServer::ServantBase*);
01083
01084 friend class POA_HxCorba::VxSimilarityBuilder;
01085
01086 public:
01087
01088
01089
01090
01091 virtual void addSimilarity(CORBA::Long index1,
01092 CORBA::Long index2,
01093 CORBA::Double value,
01094 CORBA::Long keyFrame1,
01095 CORBA::Long keyFrame2);
01096 };
01097
01098
01099
01100
01101 class VxSimilaritySession : virtual public OBStubImpl_HxCorba::VxSimilaritySession,
01102 virtual public OBDirectStubImpl_HxCorba::DatabaseSession
01103 {
01104 VxSimilaritySession(const VxSimilaritySession&);
01105 void operator=(const VxSimilaritySession&);
01106
01107 protected:
01108
01109 #ifdef HAVE_VCPLUSPLUS_BUGS
01110
01111 VxSimilaritySession() { }
01112
01113 #endif
01114
01115 VxSimilaritySession(PortableServer::POA_ptr,
01116 const PortableServer::ObjectId&,
01117 PortableServer::ServantBase*);
01118
01119 friend class POA_HxCorba::VxSimilaritySession;
01120
01121 public:
01122
01123
01124
01125
01126 virtual HxCorba::VxSimilarityBuilder_ptr addSimilarities(const char* videoName,
01127 const char* segName,
01128 const char* featureName);
01129 };
01130
01131
01132
01133
01134 class FullSession : virtual public OBStubImpl_HxCorba::FullSession,
01135 virtual public OBDirectStubImpl_HxCorba::UpdateSession,
01136 virtual public OBDirectStubImpl_HxCorba::XMLSession,
01137 virtual public OBDirectStubImpl_HxCorba::HistogramSession,
01138 virtual public OBDirectStubImpl_HxCorba::VxSimilaritySession
01139 {
01140 FullSession(const FullSession&);
01141 void operator=(const FullSession&);
01142
01143 protected:
01144
01145 #ifdef HAVE_VCPLUSPLUS_BUGS
01146
01147 FullSession() { }
01148
01149 #endif
01150
01151 FullSession(PortableServer::POA_ptr,
01152 const PortableServer::ObjectId&,
01153 PortableServer::ServantBase*);
01154
01155 friend class POA_HxCorba::FullSession;
01156
01157 public:
01158 };
01159
01160 }
01161
01162 #endif