00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef ___HxCorbaApp_skel_h__
00016 #define ___HxCorbaApp_skel_h__
00017
00018 #include <HxCorbaApp.h>
00019
00020 #include <HxCorbaTypes_skel.h>
00021 #include <HxCorbaImageRep_skel.h>
00022 #include <HxCorbaPolyline2d_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 App : virtual public PortableServer::ServantBase
00044 {
00045 App(const App&);
00046 void operator=(const App&);
00047
00048 protected:
00049
00050
00051
00052
00053 void _OB_op_listObjectTypes(OB::Upcall_ptr);
00054
00055
00056
00057
00058 void _OB_op_listObjects(OB::Upcall_ptr);
00059
00060
00061
00062
00063 void _OB_op_getObject(OB::Upcall_ptr);
00064
00065
00066
00067
00068 void _OB_op_putObject(OB::Upcall_ptr);
00069
00070
00071
00072
00073 void _OB_op_listImages(OB::Upcall_ptr);
00074
00075
00076
00077
00078 void _OB_op_getImage(OB::Upcall_ptr);
00079
00080
00081
00082
00083 void _OB_op_putImage(OB::Upcall_ptr);
00084
00085 public:
00086
00087 App() { }
00088
00089 virtual CORBA::Boolean _is_a(const char*)
00090 throw(CORBA::SystemException);
00091
00092 virtual CORBA::RepositoryId _primary_interface(const PortableServer::ObjectId&,
00093 PortableServer::POA_ptr);
00094
00095 HxCorba::App_ptr _this();
00096
00097 virtual OB::DirectStubImpl_ptr _OB_createDirectStubImpl(PortableServer::POA_ptr,
00098 const PortableServer::ObjectId&);
00099 virtual void _OB_dispatch(OB::Upcall_ptr);
00100
00101
00102
00103
00104 virtual void listObjectTypes(HxCorba::StringSeq_out sl)
00105 throw(CORBA::SystemException) = 0;
00106
00107
00108
00109
00110 virtual void listObjects(const char* typeId,
00111 HxCorba::StringSeq_out sl)
00112 throw(CORBA::SystemException) = 0;
00113
00114
00115
00116
00117 virtual CORBA::Object_ptr getObject(const char* typeId,
00118 const char* name)
00119 throw(CORBA::SystemException) = 0;
00120
00121
00122
00123
00124 virtual CORBA::Boolean putObject(const char* typeId,
00125 const char* name,
00126 CORBA::Object_ptr obj)
00127 throw(CORBA::SystemException) = 0;
00128
00129
00130
00131
00132 virtual void listImages(HxCorba::StringSeq_out sl)
00133 throw(CORBA::SystemException) = 0;
00134
00135
00136
00137
00138 virtual HxCorba::ImageRep_ptr getImage(const char* name)
00139 throw(CORBA::SystemException) = 0;
00140
00141
00142
00143
00144 virtual CORBA::Boolean putImage(const char* name,
00145 HxCorba::ImageRep_ptr img)
00146 throw(CORBA::SystemException) = 0;
00147 };
00148
00149 }
00150
00151
00152
00153
00154 namespace OBDirectStubImpl_HxCorba
00155 {
00156
00157
00158
00159
00160 class App : virtual public OBStubImpl_HxCorba::App,
00161 virtual public OB::DirectStubImpl
00162 {
00163 App(const App&);
00164 void operator=(const App&);
00165
00166 protected:
00167
00168 #ifdef HAVE_VCPLUSPLUS_BUGS
00169
00170 App() { }
00171
00172 #endif
00173
00174 App(PortableServer::POA_ptr,
00175 const PortableServer::ObjectId&,
00176 PortableServer::ServantBase*);
00177
00178 friend class POA_HxCorba::App;
00179
00180 public:
00181
00182
00183
00184
00185 virtual void listObjectTypes(HxCorba::StringSeq_out sl);
00186
00187
00188
00189
00190 virtual void listObjects(const char* typeId,
00191 HxCorba::StringSeq_out sl);
00192
00193
00194
00195
00196 virtual CORBA::Object_ptr getObject(const char* typeId,
00197 const char* name);
00198
00199
00200
00201
00202 virtual CORBA::Boolean putObject(const char* typeId,
00203 const char* name,
00204 CORBA::Object_ptr obj);
00205
00206
00207
00208
00209 virtual void listImages(HxCorba::StringSeq_out sl);
00210
00211
00212
00213
00214 virtual HxCorba::ImageRep_ptr getImage(const char* name);
00215
00216
00217
00218
00219 virtual CORBA::Boolean putImage(const char* name,
00220 HxCorba::ImageRep_ptr img);
00221 };
00222
00223 }
00224
00225 #endif