00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef ___HxCorbaSF_skel_h__
00016 #define ___HxCorbaSF_skel_h__
00017
00018 #include <HxCorbaSF.h>
00019
00020 #include <HxCorbaImageRep_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 SF : virtual public PortableServer::ServantBase
00042 {
00043 SF(const SF&);
00044 void operator=(const SF&);
00045
00046 protected:
00047
00048
00049
00050
00051 void _OB_op_getKernel(OB::Upcall_ptr);
00052
00053
00054
00055
00056 void _OB_op_getHorizontalKernel(OB::Upcall_ptr);
00057
00058
00059
00060
00061 void _OB_op_getVerticalKernel(OB::Upcall_ptr);
00062
00063
00064
00065
00066 void _OB_op_isSeparable(OB::Upcall_ptr);
00067
00068
00069
00070
00071 void _OB_op_isSymetric(OB::Upcall_ptr);
00072
00073
00074
00075
00076 void _OB_op_getConnectivity(OB::Upcall_ptr);
00077
00078 public:
00079
00080 SF() { }
00081
00082 virtual CORBA::Boolean _is_a(const char*)
00083 throw(CORBA::SystemException);
00084
00085 virtual CORBA::RepositoryId _primary_interface(const PortableServer::ObjectId&,
00086 PortableServer::POA_ptr);
00087
00088 HxCorba::SF_ptr _this();
00089
00090 virtual OB::DirectStubImpl_ptr _OB_createDirectStubImpl(PortableServer::POA_ptr,
00091 const PortableServer::ObjectId&);
00092 virtual void _OB_dispatch(OB::Upcall_ptr);
00093
00094
00095
00096
00097 virtual HxCorba::ImageRep_ptr getKernel()
00098 throw(CORBA::SystemException) = 0;
00099
00100
00101
00102
00103 virtual HxCorba::ImageRep_ptr getHorizontalKernel()
00104 throw(CORBA::SystemException) = 0;
00105
00106
00107
00108
00109 virtual HxCorba::ImageRep_ptr getVerticalKernel()
00110 throw(CORBA::SystemException) = 0;
00111
00112
00113
00114
00115 virtual CORBA::Long isSeparable()
00116 throw(CORBA::SystemException) = 0;
00117
00118
00119
00120
00121 virtual CORBA::Long isSymetric()
00122 throw(CORBA::SystemException) = 0;
00123
00124
00125
00126
00127 virtual CORBA::Long getConnectivity()
00128 throw(CORBA::SystemException) = 0;
00129 };
00130
00131
00132
00133
00134 class SFFactory : virtual public PortableServer::ServantBase
00135 {
00136 SFFactory(const SFFactory&);
00137 void operator=(const SFFactory&);
00138
00139 protected:
00140
00141
00142
00143
00144 void _OB_op_makeSFfromImage(OB::Upcall_ptr);
00145
00146
00147
00148
00149 void _OB_op_makeFlatSF(OB::Upcall_ptr);
00150
00151
00152
00153
00154 void _OB_op_makeBoxSF(OB::Upcall_ptr);
00155
00156
00157
00158
00159 void _OB_op_makeCrossSF(OB::Upcall_ptr);
00160
00161
00162
00163
00164 void _OB_op_makeDiskSF(OB::Upcall_ptr);
00165
00166
00167
00168
00169 void _OB_op_makeDiamondSF(OB::Upcall_ptr);
00170
00171
00172
00173
00174 void _OB_op_makeGaussianSF(OB::Upcall_ptr);
00175
00176
00177
00178
00179 void _OB_op_makeParabolaSF(OB::Upcall_ptr);
00180
00181 public:
00182
00183 SFFactory() { }
00184
00185 virtual CORBA::Boolean _is_a(const char*)
00186 throw(CORBA::SystemException);
00187
00188 virtual CORBA::RepositoryId _primary_interface(const PortableServer::ObjectId&,
00189 PortableServer::POA_ptr);
00190
00191 HxCorba::SFFactory_ptr _this();
00192
00193 virtual OB::DirectStubImpl_ptr _OB_createDirectStubImpl(PortableServer::POA_ptr,
00194 const PortableServer::ObjectId&);
00195 virtual void _OB_dispatch(OB::Upcall_ptr);
00196
00197
00198
00199
00200 virtual HxCorba::SF_ptr makeSFfromImage(HxCorba::ImageRep_ptr im)
00201 throw(CORBA::SystemException) = 0;
00202
00203
00204
00205
00206 virtual HxCorba::SF_ptr makeFlatSF(HxCorba::ImageSignature sig,
00207 const HxCorba::Sizes& sz,
00208 const HxCorba::PixValue& val)
00209 throw(CORBA::SystemException) = 0;
00210
00211
00212
00213
00214 virtual HxCorba::SF_ptr makeBoxSF(HxCorba::ImageSignature sig,
00215 const HxCorba::Sizes& sz,
00216 const HxCorba::PixValue& val)
00217 throw(CORBA::SystemException) = 0;
00218
00219
00220
00221
00222 virtual HxCorba::SF_ptr makeCrossSF(HxCorba::ImageSignature sig,
00223 const HxCorba::Sizes& sz,
00224 const HxCorba::PixValue& val)
00225 throw(CORBA::SystemException) = 0;
00226
00227
00228
00229
00230 virtual HxCorba::SF_ptr makeDiskSF(HxCorba::ImageSignature sig,
00231 const HxCorba::Sizes& sz,
00232 const HxCorba::PixValue& val)
00233 throw(CORBA::SystemException) = 0;
00234
00235
00236
00237
00238 virtual HxCorba::SF_ptr makeDiamondSF(HxCorba::ImageSignature sig,
00239 const HxCorba::Sizes& sz,
00240 const HxCorba::PixValue& val)
00241 throw(CORBA::SystemException) = 0;
00242
00243
00244
00245
00246 virtual HxCorba::SF_ptr makeGaussianSF(const HxCorba::Sizes& sz,
00247 CORBA::Double sigma)
00248 throw(CORBA::SystemException) = 0;
00249
00250
00251
00252
00253 virtual HxCorba::SF_ptr makeParabolaSF(const HxCorba::Sizes& sz,
00254 CORBA::Double sigma)
00255 throw(CORBA::SystemException) = 0;
00256 };
00257
00258 }
00259
00260
00261
00262
00263 namespace OBDirectStubImpl_HxCorba
00264 {
00265
00266
00267
00268
00269 class SF : virtual public OBStubImpl_HxCorba::SF,
00270 virtual public OB::DirectStubImpl
00271 {
00272 SF(const SF&);
00273 void operator=(const SF&);
00274
00275 protected:
00276
00277 #ifdef HAVE_VCPLUSPLUS_BUGS
00278
00279 SF() { }
00280
00281 #endif
00282
00283 SF(PortableServer::POA_ptr,
00284 const PortableServer::ObjectId&,
00285 PortableServer::ServantBase*);
00286
00287 friend class POA_HxCorba::SF;
00288
00289 public:
00290
00291
00292
00293
00294 virtual HxCorba::ImageRep_ptr getKernel();
00295
00296
00297
00298
00299 virtual HxCorba::ImageRep_ptr getHorizontalKernel();
00300
00301
00302
00303
00304 virtual HxCorba::ImageRep_ptr getVerticalKernel();
00305
00306
00307
00308
00309 virtual CORBA::Long isSeparable();
00310
00311
00312
00313
00314 virtual CORBA::Long isSymetric();
00315
00316
00317
00318
00319 virtual CORBA::Long getConnectivity();
00320 };
00321
00322
00323
00324
00325 class SFFactory : virtual public OBStubImpl_HxCorba::SFFactory,
00326 virtual public OB::DirectStubImpl
00327 {
00328 SFFactory(const SFFactory&);
00329 void operator=(const SFFactory&);
00330
00331 protected:
00332
00333 #ifdef HAVE_VCPLUSPLUS_BUGS
00334
00335 SFFactory() { }
00336
00337 #endif
00338
00339 SFFactory(PortableServer::POA_ptr,
00340 const PortableServer::ObjectId&,
00341 PortableServer::ServantBase*);
00342
00343 friend class POA_HxCorba::SFFactory;
00344
00345 public:
00346
00347
00348
00349
00350 virtual HxCorba::SF_ptr makeSFfromImage(HxCorba::ImageRep_ptr im);
00351
00352
00353
00354
00355 virtual HxCorba::SF_ptr makeFlatSF(HxCorba::ImageSignature sig,
00356 const HxCorba::Sizes& sz,
00357 const HxCorba::PixValue& val);
00358
00359
00360
00361
00362 virtual HxCorba::SF_ptr makeBoxSF(HxCorba::ImageSignature sig,
00363 const HxCorba::Sizes& sz,
00364 const HxCorba::PixValue& val);
00365
00366
00367
00368
00369 virtual HxCorba::SF_ptr makeCrossSF(HxCorba::ImageSignature sig,
00370 const HxCorba::Sizes& sz,
00371 const HxCorba::PixValue& val);
00372
00373
00374
00375
00376 virtual HxCorba::SF_ptr makeDiskSF(HxCorba::ImageSignature sig,
00377 const HxCorba::Sizes& sz,
00378 const HxCorba::PixValue& val);
00379
00380
00381
00382
00383 virtual HxCorba::SF_ptr makeDiamondSF(HxCorba::ImageSignature sig,
00384 const HxCorba::Sizes& sz,
00385 const HxCorba::PixValue& val);
00386
00387
00388
00389
00390 virtual HxCorba::SF_ptr makeGaussianSF(const HxCorba::Sizes& sz,
00391 CORBA::Double sigma);
00392
00393
00394
00395
00396 virtual HxCorba::SF_ptr makeParabolaSF(const HxCorba::Sizes& sz,
00397 CORBA::Double sigma);
00398 };
00399
00400 }
00401
00402 #endif