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 != 4000500L)
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
00138
00139 namespace OBDirectStubImpl_HxCorba
00140 {
00141
00142
00143
00144
00145 class RgbBuffer : virtual public OBStubImpl_HxCorba::RgbBuffer,
00146 virtual public OB::DirectStubImpl
00147 {
00148 RgbBuffer(const RgbBuffer&);
00149 void operator=(const RgbBuffer&);
00150
00151 protected:
00152
00153 #ifdef HAVE_VCPLUSPLUS_BUGS
00154
00155 RgbBuffer() { }
00156
00157 #endif
00158
00159 RgbBuffer(PortableServer::POA_ptr,
00160 const PortableServer::ObjectId&,
00161 PortableServer::ServantBase*);
00162
00163 friend class POA_HxCorba::RgbBuffer;
00164
00165 public:
00166
00167
00168
00169
00170 virtual CORBA::Long size();
00171
00172
00173
00174
00175 virtual HxCorba::RgbSeq* getRgb();
00176
00177
00178
00179
00180 virtual void setRgb(const HxCorba::RgbSeq& pixels);
00181 };
00182
00183
00184
00185
00186 class RgbBufferFactory : virtual public OBStubImpl_HxCorba::RgbBufferFactory,
00187 virtual public OB::DirectStubImpl
00188 {
00189 RgbBufferFactory(const RgbBufferFactory&);
00190 void operator=(const RgbBufferFactory&);
00191
00192 protected:
00193
00194 #ifdef HAVE_VCPLUSPLUS_BUGS
00195
00196 RgbBufferFactory() { }
00197
00198 #endif
00199
00200 RgbBufferFactory(PortableServer::POA_ptr,
00201 const PortableServer::ObjectId&,
00202 PortableServer::ServantBase*);
00203
00204 friend class POA_HxCorba::RgbBufferFactory;
00205
00206 public:
00207
00208
00209
00210
00211 virtual HxCorba::RgbBuffer_ptr createRgbBuffer(CORBA::Long size);
00212 };
00213
00214 }
00215
00216 #endif