00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef ___HxCorbaRgbBuffer_skel_h__
00016 #define ___HxCorbaRgbBuffer_skel_h__
00017
00018 #include <HxCorbaRgbBuffer.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 != 4010000L)
00026 # error ORBacus version mismatch!
00027 # endif
00028 #endif
00029
00030
00031
00032
00033 namespace POA_HxCorba
00034 {
00035
00036
00037
00038
00039 class RgbBuffer : virtual public PortableServer::ServantBase
00040 {
00041 RgbBuffer(const RgbBuffer&);
00042 void operator=(const RgbBuffer&);
00043
00044 protected:
00045
00046
00047
00048
00049 void _OB_op_size(OB::Upcall_ptr);
00050
00051
00052
00053
00054 void _OB_op_getRgb(OB::Upcall_ptr);
00055
00056
00057
00058
00059 void _OB_op_setRgb(OB::Upcall_ptr);
00060
00061 public:
00062
00063 RgbBuffer() { }
00064
00065 virtual CORBA::Boolean _is_a(const char*)
00066 throw(CORBA::SystemException);
00067
00068 virtual CORBA::RepositoryId _primary_interface(const PortableServer::ObjectId&,
00069 PortableServer::POA_ptr);
00070
00071 HxCorba::RgbBuffer_ptr _this();
00072
00073 virtual OB::DirectStubImpl_ptr _OB_createDirectStubImpl(PortableServer::POA_ptr,
00074 const PortableServer::ObjectId&);
00075 virtual void _OB_dispatch(OB::Upcall_ptr);
00076
00077
00078
00079
00080 virtual CORBA::Long size()
00081 throw(CORBA::SystemException) = 0;
00082
00083
00084
00085
00086 virtual HxCorba::RgbSeq* getRgb()
00087 throw(CORBA::SystemException) = 0;
00088
00089
00090
00091
00092 virtual void setRgb(const HxCorba::RgbSeq& pixels)
00093 throw(CORBA::SystemException) = 0;
00094 };
00095
00096
00097
00098
00099 class RgbBufferFactory : virtual public PortableServer::ServantBase
00100 {
00101 RgbBufferFactory(const RgbBufferFactory&);
00102 void operator=(const RgbBufferFactory&);
00103
00104 protected:
00105
00106
00107
00108
00109 void _OB_op_createRgbBuffer(OB::Upcall_ptr);
00110
00111 public:
00112
00113 RgbBufferFactory() { }
00114
00115 virtual CORBA::Boolean _is_a(const char*)
00116 throw(CORBA::SystemException);
00117
00118 virtual CORBA::RepositoryId _primary_interface(const PortableServer::ObjectId&,
00119 PortableServer::POA_ptr);
00120
00121 HxCorba::RgbBufferFactory_ptr _this();
00122
00123 virtual OB::DirectStubImpl_ptr _OB_createDirectStubImpl(PortableServer::POA_ptr,
00124 const PortableServer::ObjectId&);
00125 virtual void _OB_dispatch(OB::Upcall_ptr);
00126
00127
00128
00129
00130 virtual HxCorba::RgbBuffer_ptr createRgbBuffer(CORBA::Long size)
00131 throw(CORBA::SystemException) = 0;
00132 };
00133
00134
00135
00136
00137 class RgbSource : virtual public PortableServer::ServantBase
00138 {
00139 RgbSource(const RgbSource&);
00140 void operator=(const RgbSource&);
00141
00142 protected:
00143
00144
00145
00146
00147 void _OB_op_getRgb(OB::Upcall_ptr);
00148
00149
00150
00151
00152 void _OB_op_fillRgb(OB::Upcall_ptr);
00153
00154 public:
00155
00156 RgbSource() { }
00157
00158 virtual CORBA::Boolean _is_a(const char*)
00159 throw(CORBA::SystemException);
00160
00161 virtual CORBA::RepositoryId _primary_interface(const PortableServer::ObjectId&,
00162 PortableServer::POA_ptr);
00163
00164 HxCorba::RgbSource_ptr _this();
00165
00166 virtual OB::DirectStubImpl_ptr _OB_createDirectStubImpl(PortableServer::POA_ptr,
00167 const PortableServer::ObjectId&);
00168 virtual void _OB_dispatch(OB::Upcall_ptr);
00169
00170
00171
00172
00173 virtual HxCorba::RgbSeq* getRgb()
00174 throw(CORBA::SystemException) = 0;
00175
00176
00177
00178
00179 virtual void fillRgb(HxCorba::RgbBuffer_ptr buffer)
00180 throw(CORBA::SystemException) = 0;
00181 };
00182
00183 }
00184
00185
00186
00187
00188 namespace OBDirectStubImpl_HxCorba
00189 {
00190
00191
00192
00193
00194 class RgbBuffer : virtual public OBStubImpl_HxCorba::RgbBuffer,
00195 virtual public OB::DirectStubImpl
00196 {
00197 RgbBuffer(const RgbBuffer&);
00198 void operator=(const RgbBuffer&);
00199
00200 protected:
00201
00202 #ifdef HAVE_VCPLUSPLUS_BUGS
00203
00204 RgbBuffer() { }
00205
00206 #endif
00207
00208 RgbBuffer(PortableServer::POA_ptr,
00209 const PortableServer::ObjectId&,
00210 PortableServer::ServantBase*);
00211
00212 friend class POA_HxCorba::RgbBuffer;
00213
00214 public:
00215
00216
00217
00218
00219 virtual CORBA::Long size();
00220
00221
00222
00223
00224 virtual HxCorba::RgbSeq* getRgb();
00225
00226
00227
00228
00229 virtual void setRgb(const HxCorba::RgbSeq& pixels);
00230 };
00231
00232
00233
00234
00235 class RgbBufferFactory : virtual public OBStubImpl_HxCorba::RgbBufferFactory,
00236 virtual public OB::DirectStubImpl
00237 {
00238 RgbBufferFactory(const RgbBufferFactory&);
00239 void operator=(const RgbBufferFactory&);
00240
00241 protected:
00242
00243 #ifdef HAVE_VCPLUSPLUS_BUGS
00244
00245 RgbBufferFactory() { }
00246
00247 #endif
00248
00249 RgbBufferFactory(PortableServer::POA_ptr,
00250 const PortableServer::ObjectId&,
00251 PortableServer::ServantBase*);
00252
00253 friend class POA_HxCorba::RgbBufferFactory;
00254
00255 public:
00256
00257
00258
00259
00260 virtual HxCorba::RgbBuffer_ptr createRgbBuffer(CORBA::Long size);
00261 };
00262
00263
00264
00265
00266 class RgbSource : virtual public OBStubImpl_HxCorba::RgbSource,
00267 virtual public OB::DirectStubImpl
00268 {
00269 RgbSource(const RgbSource&);
00270 void operator=(const RgbSource&);
00271
00272 protected:
00273
00274 #ifdef HAVE_VCPLUSPLUS_BUGS
00275
00276 RgbSource() { }
00277
00278 #endif
00279
00280 RgbSource(PortableServer::POA_ptr,
00281 const PortableServer::ObjectId&,
00282 PortableServer::ServantBase*);
00283
00284 friend class POA_HxCorba::RgbSource;
00285
00286 public:
00287
00288
00289
00290
00291 virtual HxCorba::RgbSeq* getRgb();
00292
00293
00294
00295
00296 virtual void fillRgb(HxCorba::RgbBuffer_ptr buffer);
00297 };
00298
00299 }
00300
00301 #endif