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