00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef ___HxCorbaUserOps_skel_h__
00016 #define ___HxCorbaUserOps_skel_h__
00017
00018 #include <HxCorbaUserOps.h>
00019
00020 #include <HxCorbaImageRep_skel.h>
00021 #include <HxCorbaImageSeq_skel.h>
00022 #include <HxCorbaDatabase_skel.h>
00023
00024 #ifndef OB_INTEGER_VERSION
00025 # error No ORBacus version defined! Is <OB/CORBA.h> included?
00026 #endif
00027
00028 #ifndef OB_NO_VERSION_CHECK
00029 # if (OB_INTEGER_VERSION != 4010000L)
00030 # error ORBacus version mismatch!
00031 # endif
00032 #endif
00033
00034
00035
00036
00037 namespace POA_HxCorba
00038 {
00039
00040
00041
00042
00043 class UserOps : virtual public PortableServer::ServantBase
00044 {
00045 UserOps(const UserOps&);
00046 void operator=(const UserOps&);
00047
00048 protected:
00049
00050
00051
00052
00053 void _OB_op_HxOpenTrecDB(OB::Upcall_ptr);
00054
00055
00056
00057
00058 void _OB_op_HxTrecDemo(OB::Upcall_ptr);
00059
00060
00061
00062
00063 void _OB_op_HxInitTrack(OB::Upcall_ptr);
00064
00065
00066
00067
00068 void _OB_op_HxDoTrack(OB::Upcall_ptr);
00069
00070
00071
00072
00073 void _OB_op_HxEndTrack(OB::Upcall_ptr);
00074
00075
00076
00077
00078 void _OB_op_MyStringFunction(OB::Upcall_ptr);
00079
00080
00081
00082
00083 void _OB_op_MyStringFunction2(OB::Upcall_ptr);
00084
00085
00086
00087
00088 void _OB_op_JmCalcAapFeatures(OB::Upcall_ptr);
00089
00090 public:
00091
00092 UserOps() { }
00093
00094 virtual CORBA::Boolean _is_a(const char*)
00095 throw(CORBA::SystemException);
00096
00097 virtual CORBA::RepositoryId _primary_interface(const PortableServer::ObjectId&,
00098 PortableServer::POA_ptr);
00099
00100 HxCorba::UserOps_ptr _this();
00101
00102 virtual OB::DirectStubImpl_ptr _OB_createDirectStubImpl(PortableServer::POA_ptr,
00103 const PortableServer::ObjectId&);
00104 virtual void _OB_dispatch(OB::Upcall_ptr);
00105
00106
00107
00108
00109 virtual void HxOpenTrecDB(const char* indexFile,
00110 const char* dbDir)
00111 throw(CORBA::SystemException) = 0;
00112
00113
00114
00115
00116 virtual HxCorba::SegmentQueryResultSeq* HxTrecDemo(HxCorba::TrecFaceT faces,
00117 HxCorba::TrecYesNoT monologue,
00118 HxCorba::TrecYesNoT speech,
00119 HxCorba::TrecCameraT camera,
00120 HxCorba::ImageRep_ptr qimage)
00121 throw(CORBA::SystemException) = 0;
00122
00123
00124
00125
00126 virtual void HxInitTrack(HxCorba::ImageSeq_ptr seq,
00127 CORBA::Long startFrame,
00128 CORBA::Long x0,
00129 CORBA::Long y0,
00130 CORBA::Long x1,
00131 CORBA::Long y1)
00132 throw(CORBA::SystemException) = 0;
00133
00134
00135
00136
00137 virtual CORBA::Boolean HxDoTrack(CORBA::Long nextFrame,
00138 CORBA::Long_out x0,
00139 CORBA::Long_out y0,
00140 CORBA::Long_out x1,
00141 CORBA::Long_out y1,
00142 CORBA::Boolean_out occlusion)
00143 throw(CORBA::SystemException) = 0;
00144
00145
00146
00147
00148 virtual void HxEndTrack()
00149 throw(CORBA::SystemException) = 0;
00150
00151
00152
00153
00154 virtual char* MyStringFunction()
00155 throw(CORBA::SystemException) = 0;
00156
00157
00158
00159
00160 virtual HxCorba::MyMessage* MyStringFunction2()
00161 throw(CORBA::SystemException) = 0;
00162
00163
00164
00165
00166 virtual HxCorba::AapFeatures JmCalcAapFeatures(HxCorba::ImageRep_ptr aap,
00167 HxCorba::ImageRep_ptr aapSegmentation)
00168 throw(CORBA::SystemException) = 0;
00169 };
00170
00171 }
00172
00173
00174
00175
00176 namespace OBDirectStubImpl_HxCorba
00177 {
00178
00179
00180
00181
00182 class UserOps : virtual public OBStubImpl_HxCorba::UserOps,
00183 virtual public OB::DirectStubImpl
00184 {
00185 UserOps(const UserOps&);
00186 void operator=(const UserOps&);
00187
00188 protected:
00189
00190 #ifdef HAVE_VCPLUSPLUS_BUGS
00191
00192 UserOps() { }
00193
00194 #endif
00195
00196 UserOps(PortableServer::POA_ptr,
00197 const PortableServer::ObjectId&,
00198 PortableServer::ServantBase*);
00199
00200 friend class POA_HxCorba::UserOps;
00201
00202 public:
00203
00204
00205
00206
00207 virtual void HxOpenTrecDB(const char* indexFile,
00208 const char* dbDir);
00209
00210
00211
00212
00213 virtual HxCorba::SegmentQueryResultSeq* HxTrecDemo(HxCorba::TrecFaceT faces,
00214 HxCorba::TrecYesNoT monologue,
00215 HxCorba::TrecYesNoT speech,
00216 HxCorba::TrecCameraT camera,
00217 HxCorba::ImageRep_ptr qimage);
00218
00219
00220
00221
00222 virtual void HxInitTrack(HxCorba::ImageSeq_ptr seq,
00223 CORBA::Long startFrame,
00224 CORBA::Long x0,
00225 CORBA::Long y0,
00226 CORBA::Long x1,
00227 CORBA::Long y1);
00228
00229
00230
00231
00232 virtual CORBA::Boolean HxDoTrack(CORBA::Long nextFrame,
00233 CORBA::Long_out x0,
00234 CORBA::Long_out y0,
00235 CORBA::Long_out x1,
00236 CORBA::Long_out y1,
00237 CORBA::Boolean_out occlusion);
00238
00239
00240
00241
00242 virtual void HxEndTrack();
00243
00244
00245
00246
00247 virtual char* MyStringFunction();
00248
00249
00250
00251
00252 virtual HxCorba::MyMessage* MyStringFunction2();
00253
00254
00255
00256
00257 virtual HxCorba::AapFeatures JmCalcAapFeatures(HxCorba::ImageRep_ptr aap,
00258 HxCorba::ImageRep_ptr aapSegmentation);
00259 };
00260
00261 }
00262
00263 #endif