00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef ___HxCorbaUserOps_h__
00016 #define ___HxCorbaUserOps_h__
00017
00018 #include <HxCorbaImageRep.h>
00019
00020 #ifndef OB_INTEGER_VERSION
00021 # error No ORBacus version defined! Is <OB/CORBA.h> included?
00022 #endif
00023
00024 #ifndef OB_NO_VERSION_CHECK
00025 # if (OB_INTEGER_VERSION != 4000500L)
00026 # error ORBacus version mismatch!
00027 # endif
00028 #endif
00029
00030 namespace HxCorba
00031 {
00032
00033 class UserOps;
00034 typedef UserOps* UserOps_ptr;
00035 typedef UserOps* UserOpsRef;
00036
00037 extern OB::TypeCodeConst _tc_UserOps;
00038
00039 }
00040
00041 void OBDuplicate(HxCorba::UserOps_ptr);
00042 void OBRelease(HxCorba::UserOps_ptr);
00043
00044 void OBMarshal(HxCorba::UserOps_ptr, OB::OutputStreamImpl*);
00045 void OBUnmarshal(HxCorba::UserOps_ptr&, OB::InputStreamImpl*);
00046
00047 namespace HxCorba
00048 {
00049
00050 typedef OB::ObjVar< UserOps > UserOps_var;
00051 typedef OB::ObjOut< UserOps > UserOps_out;
00052
00053 }
00054
00055 namespace OBStubImpl_HxCorba
00056 {
00057
00058 class UserOps;
00059 typedef UserOps* UserOps_ptr;
00060
00061 }
00062
00063 void OBDuplicate(OBStubImpl_HxCorba::UserOps_ptr);
00064 void OBRelease(OBStubImpl_HxCorba::UserOps_ptr);
00065
00066 namespace OBStubImpl_HxCorba
00067 {
00068
00069 typedef OB::ObjVar< UserOps > UserOps_var;
00070
00071 }
00072
00073
00074
00075
00076 namespace HxCorba
00077 {
00078
00079
00080
00081
00082 struct MyMessage;
00083 typedef OB::VarVar< MyMessage > MyMessage_var;
00084 typedef OB::VarOut< MyMessage > MyMessage_out;
00085
00086 struct MyMessage
00087 {
00088 MyMessage() { }
00089 MyMessage(const MyMessage&);
00090 MyMessage& operator=(const MyMessage&);
00091
00092 typedef MyMessage_var _var_type;
00093
00094 OB::StrForStruct msg;
00095
00096 void _OB_marshal(OB::OutputStreamImpl*) const;
00097 static void _OB_unmarshal(MyMessage&, OB::InputStreamImpl*);
00098 };
00099
00100 extern OB::TypeCodeConst _tc_MyMessage;
00101
00102
00103
00104
00105 struct Color;
00106 typedef OB::FixVar< Color > Color_var;
00107 typedef Color& Color_out;
00108
00109 struct Color
00110 {
00111 typedef Color_var _var_type;
00112
00113 CORBA::Double x;
00114 CORBA::Double y;
00115 CORBA::Double z;
00116
00117 void _OB_marshal(OB::OutputStreamImpl*) const;
00118 static void _OB_unmarshal(Color&, OB::InputStreamImpl*);
00119 };
00120
00121 extern OB::TypeCodeConst _tc_Color;
00122
00123
00124
00125
00126 struct AapFeatures;
00127 typedef OB::FixVar< AapFeatures > AapFeatures_var;
00128 typedef AapFeatures& AapFeatures_out;
00129
00130 struct AapFeatures
00131 {
00132 typedef AapFeatures_var _var_type;
00133
00134 CORBA::Boolean outdoor;
00135 Color col;
00136 CORBA::Double percentage;
00137 CORBA::Long label;
00138
00139 void _OB_marshal(OB::OutputStreamImpl*) const;
00140 static void _OB_unmarshal(AapFeatures&, OB::InputStreamImpl*);
00141 };
00142
00143 extern OB::TypeCodeConst _tc_AapFeatures;
00144
00145
00146
00147
00148 class UserOps : virtual public CORBA::Object
00149 {
00150 UserOps(const UserOps&);
00151 void operator=(const UserOps&);
00152
00153 static const char* ids_[];
00154
00155 protected:
00156
00157 virtual OB::MarshalStubImpl_ptr _OB_createMarshalStubImpl();
00158
00159 public:
00160
00161 UserOps() { }
00162 virtual ~UserOps() { }
00163
00164 typedef UserOps_ptr _ptr_type;
00165 typedef UserOps_var _var_type;
00166
00167 static inline UserOps_ptr
00168 _duplicate(UserOps_ptr p)
00169 {
00170 if(p)
00171 p -> _OB_incRef();
00172 return p;
00173 }
00174
00175 static inline UserOps_ptr
00176 _nil()
00177 {
00178 return 0;
00179 }
00180
00181 static UserOps_ptr _narrow(CORBA::Object_ptr);
00182 static UserOps_ptr _narrow(CORBA::AbstractBase_ptr);
00183
00184 virtual const char** _OB_ids() const;
00185 static const char** _OB_staticIds();
00186
00187
00188
00189
00190 char* MyStringFunction();
00191
00192
00193
00194
00195 MyMessage* MyStringFunction2();
00196
00197
00198
00199
00200 AapFeatures JmCalcAapFeatures(ImageRep_ptr aap,
00201 ImageRep_ptr aapSegmentation);
00202 };
00203
00204 }
00205
00206
00207
00208
00209 namespace OBStubImpl_HxCorba
00210 {
00211
00212
00213
00214
00215 class UserOps : virtual public OB::StubImplBase
00216 {
00217 UserOps(const UserOps&);
00218 void operator=(const UserOps&);
00219
00220 protected:
00221
00222 UserOps() { }
00223
00224 public:
00225
00226 static inline UserOps_ptr
00227 _duplicate(UserOps_ptr p)
00228 {
00229 if(p)
00230 p -> _OB_incRef();
00231 return p;
00232 }
00233
00234 static inline UserOps_ptr
00235 _nil()
00236 {
00237 return 0;
00238 }
00239
00240
00241
00242
00243 virtual char* MyStringFunction() = 0;
00244
00245
00246
00247
00248 virtual HxCorba::MyMessage* MyStringFunction2() = 0;
00249
00250
00251
00252
00253 virtual HxCorba::AapFeatures JmCalcAapFeatures(HxCorba::ImageRep_ptr aap,
00254 HxCorba::ImageRep_ptr aapSegmentation) = 0;
00255 };
00256
00257 }
00258
00259
00260
00261
00262 namespace OBMarshalStubImpl_HxCorba
00263 {
00264
00265
00266
00267
00268 class UserOps : virtual public OBStubImpl_HxCorba::UserOps,
00269 virtual public OB::MarshalStubImpl
00270 {
00271 UserOps(const UserOps&);
00272 void operator=(const UserOps&);
00273
00274 protected:
00275
00276 UserOps() { }
00277 friend class HxCorba::UserOps;
00278
00279 public:
00280
00281
00282
00283
00284 virtual char* MyStringFunction();
00285
00286
00287
00288
00289 virtual HxCorba::MyMessage* MyStringFunction2();
00290
00291
00292
00293
00294 virtual HxCorba::AapFeatures JmCalcAapFeatures(HxCorba::ImageRep_ptr aap,
00295 HxCorba::ImageRep_ptr aapSegmentation);
00296 };
00297
00298 }
00299
00300
00301
00302
00303 namespace OBV_HxCorba
00304 {
00305
00306 }
00307
00308
00309
00310
00311 void operator<<=(CORBA::Any&, HxCorba::MyMessage*);
00312 void operator<<=(CORBA::Any&, const HxCorba::MyMessage&);
00313 CORBA::Boolean operator>>=(const CORBA::Any&, const HxCorba::MyMessage*&);
00314
00315 inline void
00316 operator<<=(CORBA::Any_var& any, HxCorba::MyMessage* val)
00317 {
00318 any.inout() <<= val;
00319 }
00320
00321 inline void
00322 operator<<=(CORBA::Any_var& any, const HxCorba::MyMessage& val)
00323 {
00324 any.inout() <<= val;
00325 }
00326
00327 inline CORBA::Boolean
00328 operator>>=(const CORBA::Any_var& any, const HxCorba::MyMessage*& val)
00329 {
00330 return any.in() >>= val;
00331 }
00332
00333
00334
00335
00336 void operator<<=(CORBA::Any&, HxCorba::Color*);
00337 void operator<<=(CORBA::Any&, const HxCorba::Color&);
00338 CORBA::Boolean operator>>=(const CORBA::Any&, const HxCorba::Color*&);
00339
00340 inline void
00341 operator<<=(CORBA::Any_var& any, HxCorba::Color* val)
00342 {
00343 any.inout() <<= val;
00344 }
00345
00346 inline void
00347 operator<<=(CORBA::Any_var& any, const HxCorba::Color& val)
00348 {
00349 any.inout() <<= val;
00350 }
00351
00352 inline CORBA::Boolean
00353 operator>>=(const CORBA::Any_var& any, const HxCorba::Color*& val)
00354 {
00355 return any.in() >>= val;
00356 }
00357
00358
00359
00360
00361 void operator<<=(CORBA::Any&, HxCorba::AapFeatures*);
00362 void operator<<=(CORBA::Any&, const HxCorba::AapFeatures&);
00363 CORBA::Boolean operator>>=(const CORBA::Any&, const HxCorba::AapFeatures*&);
00364
00365 inline void
00366 operator<<=(CORBA::Any_var& any, HxCorba::AapFeatures* val)
00367 {
00368 any.inout() <<= val;
00369 }
00370
00371 inline void
00372 operator<<=(CORBA::Any_var& any, const HxCorba::AapFeatures& val)
00373 {
00374 any.inout() <<= val;
00375 }
00376
00377 inline CORBA::Boolean
00378 operator>>=(const CORBA::Any_var& any, const HxCorba::AapFeatures*& val)
00379 {
00380 return any.in() >>= val;
00381 }
00382
00383
00384
00385
00386 namespace CORBA
00387 {
00388
00389 inline void
00390 release(HxCorba::UserOps_ptr p)
00391 {
00392 if(p)
00393 p -> _OB_decRef();
00394 }
00395
00396 inline Boolean
00397 is_nil(HxCorba::UserOps_ptr p)
00398 {
00399 return p == 0;
00400 }
00401
00402 inline void
00403 release(OBStubImpl_HxCorba::UserOps_ptr p)
00404 {
00405 if(p)
00406 p -> _OB_decRef();
00407 }
00408
00409 inline Boolean
00410 is_nil(OBStubImpl_HxCorba::UserOps_ptr p)
00411 {
00412 return p == 0;
00413 }
00414
00415 }
00416
00417 void operator<<=(CORBA::Any&, HxCorba::UserOps_ptr*);
00418 void operator<<=(CORBA::Any&, HxCorba::UserOps_ptr);
00419 CORBA::Boolean operator>>=(const CORBA::Any&, HxCorba::UserOps_ptr&);
00420
00421 inline void
00422 operator<<=(CORBA::Any_var& any, HxCorba::UserOps_ptr* val)
00423 {
00424 any.inout() <<= val;
00425 }
00426
00427 inline void
00428 operator<<=(CORBA::Any_var& any, HxCorba::UserOps_ptr val)
00429 {
00430 any.inout() <<= val;
00431 }
00432
00433 inline CORBA::Boolean
00434 operator>>=(const CORBA::Any_var& any, HxCorba::UserOps_ptr& val)
00435 {
00436 return any.in() >>= val;
00437 }
00438
00439 #endif