00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef ___HxCorbaBlob2d_skel_h__
00016 #define ___HxCorbaBlob2d_skel_h__
00017
00018 #include <HxCorbaBlob2d.h>
00019
00020 #include <HxCorbaPixValue_skel.h>
00021 #include <HxCorbaRgbBuffer_skel.h>
00022 #include <HxCorbaImageRep_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 Blob2d : virtual public PortableServer::ServantBase
00044 {
00045 Blob2d(const Blob2d&);
00046 void operator=(const Blob2d&);
00047
00048 protected:
00049
00050
00051
00052
00053 void _OB_op_ident(OB::Upcall_ptr);
00054
00055
00056
00057
00058 void _OB_op_getInputImage(OB::Upcall_ptr);
00059
00060
00061
00062
00063 void _OB_op_getLabeledImage(OB::Upcall_ptr);
00064
00065
00066
00067
00068 void _OB_op_getLabel(OB::Upcall_ptr);
00069
00070
00071
00072
00073 void _OB_op_getContourX(OB::Upcall_ptr);
00074
00075
00076
00077
00078 void _OB_op_getContourY(OB::Upcall_ptr);
00079
00080
00081
00082
00083 void _OB_op_getContourLength(OB::Upcall_ptr);
00084
00085
00086
00087
00088 void _OB_op_getContourCodes(OB::Upcall_ptr);
00089
00090
00091
00092
00093 void _OB_op_fillRgb(OB::Upcall_ptr);
00094
00095
00096
00097
00098 void _OB_op_getFeature(OB::Upcall_ptr);
00099
00100 public:
00101
00102 Blob2d() { }
00103
00104 virtual CORBA::Boolean _is_a(const char*)
00105 throw(CORBA::SystemException);
00106
00107 virtual CORBA::RepositoryId _primary_interface(const PortableServer::ObjectId&,
00108 PortableServer::POA_ptr);
00109
00110 HxCorba::Blob2d_ptr _this();
00111
00112 virtual OB::DirectStubImpl_ptr _OB_createDirectStubImpl(PortableServer::POA_ptr,
00113 const PortableServer::ObjectId&);
00114 virtual void _OB_dispatch(OB::Upcall_ptr);
00115
00116
00117
00118
00119 virtual CORBA::Long ident()
00120 throw(CORBA::SystemException) = 0;
00121
00122
00123
00124
00125 virtual HxCorba::ImageRep_ptr getInputImage()
00126 throw(CORBA::SystemException) = 0;
00127
00128
00129
00130
00131 virtual HxCorba::ImageRep_ptr getLabeledImage()
00132 throw(CORBA::SystemException) = 0;
00133
00134
00135
00136
00137 virtual CORBA::Long getLabel()
00138 throw(CORBA::SystemException) = 0;
00139
00140
00141
00142
00143 virtual CORBA::Long getContourX()
00144 throw(CORBA::SystemException) = 0;
00145
00146
00147
00148
00149 virtual CORBA::Long getContourY()
00150 throw(CORBA::SystemException) = 0;
00151
00152
00153
00154
00155 virtual CORBA::Long getContourLength()
00156 throw(CORBA::SystemException) = 0;
00157
00158
00159
00160
00161 virtual HxCorba::ContourCodeSeq* getContourCodes()
00162 throw(CORBA::SystemException) = 0;
00163
00164
00165
00166
00167 virtual void fillRgb(HxCorba::RgbBuffer_ptr buf)
00168 throw(CORBA::SystemException) = 0;
00169
00170
00171
00172
00173 virtual HxCorba::PixValue getFeature(const char* name)
00174 throw(CORBA::SystemException) = 0;
00175 };
00176
00177 }
00178
00179
00180
00181
00182 namespace OBDirectStubImpl_HxCorba
00183 {
00184
00185
00186
00187
00188 class Blob2d : virtual public OBStubImpl_HxCorba::Blob2d,
00189 virtual public OB::DirectStubImpl
00190 {
00191 Blob2d(const Blob2d&);
00192 void operator=(const Blob2d&);
00193
00194 protected:
00195
00196 #ifdef HAVE_VCPLUSPLUS_BUGS
00197
00198 Blob2d() { }
00199
00200 #endif
00201
00202 Blob2d(PortableServer::POA_ptr,
00203 const PortableServer::ObjectId&,
00204 PortableServer::ServantBase*);
00205
00206 friend class POA_HxCorba::Blob2d;
00207
00208 public:
00209
00210
00211
00212
00213 virtual CORBA::Long ident();
00214
00215
00216
00217
00218 virtual HxCorba::ImageRep_ptr getInputImage();
00219
00220
00221
00222
00223 virtual HxCorba::ImageRep_ptr getLabeledImage();
00224
00225
00226
00227
00228 virtual CORBA::Long getLabel();
00229
00230
00231
00232
00233 virtual CORBA::Long getContourX();
00234
00235
00236
00237
00238 virtual CORBA::Long getContourY();
00239
00240
00241
00242
00243 virtual CORBA::Long getContourLength();
00244
00245
00246
00247
00248 virtual HxCorba::ContourCodeSeq* getContourCodes();
00249
00250
00251
00252
00253 virtual void fillRgb(HxCorba::RgbBuffer_ptr buf);
00254
00255
00256
00257
00258 virtual HxCorba::PixValue getFeature(const char* name);
00259 };
00260
00261 }
00262
00263 #endif