CCAFFEINE
0.8.8
|
00001 /* 00002 * File: ccafe2_ServiceRegistryTest_IOR.h 00003 * Symbol: ccafe2.ServiceRegistryTest-v0.1 00004 * Symbol Type: class 00005 * Babel Version: 1.4.0 00006 * Description: Intermediate Object Representation for ccafe2.ServiceRegistryTest 00007 * 00008 * WARNING: Automatically generated; changes will be lost 00009 * 00010 */ 00011 00012 #ifndef included_ccafe2_ServiceRegistryTest_IOR_h 00013 #define included_ccafe2_ServiceRegistryTest_IOR_h 00014 00015 #ifndef included_sidl_header_h 00016 #include "sidl_header.h" 00017 #endif 00018 struct sidl_rmi_InstanceHandle__object; 00019 #ifndef included_ccafe3_StringConsumerPort_IOR_h 00020 #include "ccafe3_StringConsumerPort_IOR.h" 00021 #endif 00022 #ifndef included_gov_cca_Component_IOR_h 00023 #include "gov_cca_Component_IOR.h" 00024 #endif 00025 #ifndef included_gov_cca_ComponentRelease_IOR_h 00026 #include "gov_cca_ComponentRelease_IOR.h" 00027 #endif 00028 #ifndef included_gov_cca_Port_IOR_h 00029 #include "gov_cca_Port_IOR.h" 00030 #endif 00031 #ifndef included_gov_cca_ports_GoPort_IOR_h 00032 #include "gov_cca_ports_GoPort_IOR.h" 00033 #endif 00034 #ifndef included_gov_cca_ports_ServiceProvider_IOR_h 00035 #include "gov_cca_ports_ServiceProvider_IOR.h" 00036 #endif 00037 #ifndef included_sidl_BaseClass_IOR_h 00038 #include "sidl_BaseClass_IOR.h" 00039 #endif 00040 00041 #ifdef __cplusplus 00042 extern "C" { 00043 #endif 00044 00045 /* 00046 * Symbol "ccafe2.ServiceRegistryTest" (version 0.1) 00047 * 00048 * Use serviceRegistry, then when the GoPort is hit, use the 00049 * ServiceRegistry to remove the singleton service and 00050 * add a multiple service. 00051 */ 00052 00053 struct ccafe2_ServiceRegistryTest__array; 00054 struct ccafe2_ServiceRegistryTest__object; 00055 00056 /* 00057 * Forward references for external classes and interfaces. 00058 */ 00059 00060 struct gov_cca_CCAException__array; 00061 struct gov_cca_CCAException__object; 00062 struct gov_cca_Services__array; 00063 struct gov_cca_Services__object; 00064 struct sidl_BaseException__array; 00065 struct sidl_BaseException__object; 00066 struct sidl_BaseInterface__array; 00067 struct sidl_BaseInterface__object; 00068 struct sidl_ClassInfo__array; 00069 struct sidl_ClassInfo__object; 00070 struct sidl_RuntimeException__array; 00071 struct sidl_RuntimeException__object; 00072 struct sidl_rmi_Call__array; 00073 struct sidl_rmi_Call__object; 00074 struct sidl_rmi_Return__array; 00075 struct sidl_rmi_Return__object; 00076 00077 /* 00078 * Declare the method entry point vector. 00079 */ 00080 00081 struct ccafe2_ServiceRegistryTest__epv { 00082 /* Implicit builtin methods */ 00083 /* 0 */ 00084 void* (*f__cast)( 00085 /* in */ struct ccafe2_ServiceRegistryTest__object* self, 00086 /* in */ const char* name, 00087 /* out */ struct sidl_BaseInterface__object **_ex); 00088 /* 1 */ 00089 void (*f__delete)( 00090 /* in */ struct ccafe2_ServiceRegistryTest__object* self, 00091 /* out */ struct sidl_BaseInterface__object **_ex); 00092 /* 2 */ 00093 void (*f__exec)( 00094 /* in */ struct ccafe2_ServiceRegistryTest__object* self, 00095 /* in */ const char* methodName, 00096 /* in */ struct sidl_rmi_Call__object* inArgs, 00097 /* in */ struct sidl_rmi_Return__object* outArgs, 00098 /* out */ struct sidl_BaseInterface__object **_ex); 00099 /* 3 */ 00100 char* (*f__getURL)( 00101 /* in */ struct ccafe2_ServiceRegistryTest__object* self, 00102 /* out */ struct sidl_BaseInterface__object **_ex); 00103 /* 4 */ 00104 void (*f__raddRef)( 00105 /* in */ struct ccafe2_ServiceRegistryTest__object* self, 00106 /* out */ struct sidl_BaseInterface__object **_ex); 00107 /* 5 */ 00108 sidl_bool (*f__isRemote)( 00109 /* in */ struct ccafe2_ServiceRegistryTest__object* self, 00110 /* out */ struct sidl_BaseInterface__object **_ex); 00111 /* 6 */ 00112 void (*f__set_hooks)( 00113 /* in */ struct ccafe2_ServiceRegistryTest__object* self, 00114 /* in */ sidl_bool enable, 00115 /* out */ struct sidl_BaseInterface__object **_ex); 00116 /* 7 */ 00117 void (*f__set_contracts)( 00118 /* in */ struct ccafe2_ServiceRegistryTest__object* self, 00119 /* in */ sidl_bool enable, 00120 /* in */ const char* enfFilename, 00121 /* in */ sidl_bool resetCounters, 00122 /* out */ struct sidl_BaseInterface__object **_ex); 00123 /* 8 */ 00124 void (*f__dump_stats)( 00125 /* in */ struct ccafe2_ServiceRegistryTest__object* self, 00126 /* in */ const char* filename, 00127 /* in */ const char* prefix, 00128 /* out */ struct sidl_BaseInterface__object **_ex); 00129 /* 9 */ 00130 void (*f__ctor)( 00131 /* in */ struct ccafe2_ServiceRegistryTest__object* self, 00132 /* out */ struct sidl_BaseInterface__object **_ex); 00133 /* 10 */ 00134 void (*f__ctor2)( 00135 /* in */ struct ccafe2_ServiceRegistryTest__object* self, 00136 /* in */ void* private_data, 00137 /* out */ struct sidl_BaseInterface__object **_ex); 00138 /* 11 */ 00139 void (*f__dtor)( 00140 /* in */ struct ccafe2_ServiceRegistryTest__object* self, 00141 /* out */ struct sidl_BaseInterface__object **_ex); 00142 /* 12 */ 00143 void (*f__load)( 00144 /* out */ struct sidl_BaseInterface__object **_ex); 00145 /* Methods introduced in sidl.BaseInterface-v0.9.17 */ 00146 void (*f_addRef)( 00147 /* in */ struct ccafe2_ServiceRegistryTest__object* self, 00148 /* out */ struct sidl_BaseInterface__object **_ex); 00149 void (*f_deleteRef)( 00150 /* in */ struct ccafe2_ServiceRegistryTest__object* self, 00151 /* out */ struct sidl_BaseInterface__object **_ex); 00152 sidl_bool (*f_isSame)( 00153 /* in */ struct ccafe2_ServiceRegistryTest__object* self, 00154 /* in */ struct sidl_BaseInterface__object* iobj, 00155 /* out */ struct sidl_BaseInterface__object **_ex); 00156 sidl_bool (*f_isType)( 00157 /* in */ struct ccafe2_ServiceRegistryTest__object* self, 00158 /* in */ const char* name, 00159 /* out */ struct sidl_BaseInterface__object **_ex); 00160 struct sidl_ClassInfo__object* (*f_getClassInfo)( 00161 /* in */ struct ccafe2_ServiceRegistryTest__object* self, 00162 /* out */ struct sidl_BaseInterface__object **_ex); 00163 /* Methods introduced in sidl.BaseClass-v0.9.17 */ 00164 /* Methods introduced in gov.cca.Port-v0.8.5 */ 00165 /* Methods introduced in ccafe3.StringConsumerPort-v0.0 */ 00166 void (*f_setString)( 00167 /* in */ struct ccafe2_ServiceRegistryTest__object* self, 00168 /* in */ const char* s, 00169 /* out */ struct sidl_BaseInterface__object **_ex); 00170 /* Methods introduced in gov.cca.Component-v0.8.5 */ 00171 void (*f_setServices)( 00172 /* in */ struct ccafe2_ServiceRegistryTest__object* self, 00173 /* in */ struct gov_cca_Services__object* services, 00174 /* out */ struct sidl_BaseInterface__object **_ex); 00175 /* Methods introduced in gov.cca.ComponentRelease-v0.8.5 */ 00176 void (*f_releaseServices)( 00177 /* in */ struct ccafe2_ServiceRegistryTest__object* self, 00178 /* in */ struct gov_cca_Services__object* services, 00179 /* out */ struct sidl_BaseInterface__object **_ex); 00180 /* Methods introduced in gov.cca.ports.GoPort-v0.8.5 */ 00181 int32_t (*f_go)( 00182 /* in */ struct ccafe2_ServiceRegistryTest__object* self, 00183 /* out */ struct sidl_BaseInterface__object **_ex); 00184 /* Methods introduced in gov.cca.ports.ServiceProvider-v0.8.5 */ 00185 char* (*f_createService)( 00186 /* in */ struct ccafe2_ServiceRegistryTest__object* self, 00187 /* in */ const char* portType, 00188 /* out */ struct sidl_BaseInterface__object **_ex); 00189 void (*f_destroyService)( 00190 /* in */ struct ccafe2_ServiceRegistryTest__object* self, 00191 /* in */ const char* portName, 00192 /* out */ struct sidl_BaseInterface__object **_ex); 00193 /* Methods introduced in ccafe2.ServiceRegistryTest-v0.1 */ 00194 }; 00195 00196 /* 00197 * Declare the method pre hooks entry point vector. 00198 */ 00199 00200 struct ccafe2_ServiceRegistryTest__pre_epv { 00201 void (*f_setServices_pre)( 00202 /* in */ struct ccafe2_ServiceRegistryTest__object* self, 00203 /* in */ struct gov_cca_Services__object* services, 00204 /* out */ struct sidl_BaseInterface__object **_ex); 00205 void (*f_go_pre)( 00206 /* in */ struct ccafe2_ServiceRegistryTest__object* self, 00207 /* out */ struct sidl_BaseInterface__object **_ex); 00208 void (*f_setString_pre)( 00209 /* in */ struct ccafe2_ServiceRegistryTest__object* self, 00210 /* in */ const char* s, 00211 /* out */ struct sidl_BaseInterface__object **_ex); 00212 void (*f_createService_pre)( 00213 /* in */ struct ccafe2_ServiceRegistryTest__object* self, 00214 /* in */ const char* portType, 00215 /* out */ struct sidl_BaseInterface__object **_ex); 00216 void (*f_destroyService_pre)( 00217 /* in */ struct ccafe2_ServiceRegistryTest__object* self, 00218 /* in */ const char* portName, 00219 /* out */ struct sidl_BaseInterface__object **_ex); 00220 void (*f_releaseServices_pre)( 00221 /* in */ struct ccafe2_ServiceRegistryTest__object* self, 00222 /* in */ struct gov_cca_Services__object* services, 00223 /* out */ struct sidl_BaseInterface__object **_ex); 00224 }; 00225 00226 /* 00227 * Declare the method post hooks entry point vector. 00228 */ 00229 00230 struct ccafe2_ServiceRegistryTest__post_epv { 00231 void (*f_setServices_post)( 00232 /* in */ struct ccafe2_ServiceRegistryTest__object* self, 00233 /* in */ struct gov_cca_Services__object* services, 00234 /* out */ struct sidl_BaseInterface__object **_ex); 00235 void (*f_go_post)( 00236 /* in */ struct ccafe2_ServiceRegistryTest__object* self, 00237 /* in */ int32_t _retval, 00238 /* out */ struct sidl_BaseInterface__object **_ex); 00239 void (*f_setString_post)( 00240 /* in */ struct ccafe2_ServiceRegistryTest__object* self, 00241 /* in */ const char* s, 00242 /* out */ struct sidl_BaseInterface__object **_ex); 00243 void (*f_createService_post)( 00244 /* in */ struct ccafe2_ServiceRegistryTest__object* self, 00245 /* in */ const char* portType, 00246 /* in */ const char* _retval, 00247 /* out */ struct sidl_BaseInterface__object **_ex); 00248 void (*f_destroyService_post)( 00249 /* in */ struct ccafe2_ServiceRegistryTest__object* self, 00250 /* in */ const char* portName, 00251 /* out */ struct sidl_BaseInterface__object **_ex); 00252 void (*f_releaseServices_post)( 00253 /* in */ struct ccafe2_ServiceRegistryTest__object* self, 00254 /* in */ struct gov_cca_Services__object* services, 00255 /* out */ struct sidl_BaseInterface__object **_ex); 00256 }; 00257 00258 /* 00259 * Define the controls and statistics structure. 00260 */ 00261 00262 00263 struct ccafe2_ServiceRegistryTest__cstats { 00264 sidl_bool use_hooks; 00265 }; 00266 00267 /* 00268 * Define the class object structure. 00269 */ 00270 00271 struct ccafe2_ServiceRegistryTest__object { 00272 struct sidl_BaseClass__object d_sidl_baseclass; 00273 struct ccafe3_StringConsumerPort__object d_ccafe3_stringconsumerport; 00274 struct gov_cca_Component__object d_gov_cca_component; 00275 struct gov_cca_ComponentRelease__object d_gov_cca_componentrelease; 00276 struct gov_cca_Port__object d_gov_cca_port; 00277 struct gov_cca_ports_GoPort__object d_gov_cca_ports_goport; 00278 struct gov_cca_ports_ServiceProvider__object d_gov_cca_ports_serviceprovider; 00279 struct ccafe2_ServiceRegistryTest__epv* d_epv; 00280 struct ccafe2_ServiceRegistryTest__cstats d_cstats; 00281 void* d_data; 00282 }; 00283 00284 struct ccafe2_ServiceRegistryTest__external { 00285 struct ccafe2_ServiceRegistryTest__object* 00286 (*createObject)(void* ddata, struct sidl_BaseInterface__object **_ex); 00287 00288 struct sidl_BaseClass__epv*(*getSuperEPV)(void); 00289 int d_ior_major_version; 00290 int d_ior_minor_version; 00291 }; 00292 00293 /* 00294 * This function returns a pointer to a static structure of 00295 * pointers to function entry points. Its purpose is to provide 00296 * one-stop shopping for loading DLLs. 00297 */ 00298 00299 const struct ccafe2_ServiceRegistryTest__external* 00300 ccafe2_ServiceRegistryTest__externals(void); 00301 00302 extern struct ccafe2_ServiceRegistryTest__object* 00303 ccafe2_ServiceRegistryTest__createObject(void* ddata,struct 00304 sidl_BaseInterface__object ** _ex); 00305 00306 extern void ccafe2_ServiceRegistryTest__init( 00307 struct ccafe2_ServiceRegistryTest__object* self, void* ddata, struct 00308 sidl_BaseInterface__object ** _ex); 00309 00310 extern void ccafe2_ServiceRegistryTest__getEPVs( 00311 struct sidl_BaseInterface__epv **s_arg_epv__sidl_baseinterface, 00312 struct sidl_BaseClass__epv **s_arg_epv__sidl_baseclass, 00313 struct ccafe3_StringConsumerPort__epv **s_arg_epv__ccafe3_stringconsumerport, 00314 struct ccafe3_StringConsumerPort__epv 00315 **s_arg_epv_hooks__ccafe3_stringconsumerport, 00316 struct gov_cca_Component__epv **s_arg_epv__gov_cca_component, 00317 struct gov_cca_Component__epv **s_arg_epv_hooks__gov_cca_component, 00318 struct gov_cca_ComponentRelease__epv **s_arg_epv__gov_cca_componentrelease, 00319 struct gov_cca_ComponentRelease__epv 00320 **s_arg_epv_hooks__gov_cca_componentrelease, 00321 struct gov_cca_Port__epv **s_arg_epv__gov_cca_port, 00322 struct gov_cca_Port__epv **s_arg_epv_hooks__gov_cca_port, 00323 struct gov_cca_ports_GoPort__epv **s_arg_epv__gov_cca_ports_goport, 00324 struct gov_cca_ports_GoPort__epv **s_arg_epv_hooks__gov_cca_ports_goport, 00325 struct gov_cca_ports_ServiceProvider__epv 00326 **s_arg_epv__gov_cca_ports_serviceprovider, 00327 struct gov_cca_ports_ServiceProvider__epv 00328 **s_arg_epv_hooks__gov_cca_ports_serviceprovider, 00329 struct ccafe2_ServiceRegistryTest__epv 00330 **s_arg_epv__ccafe2_serviceregistrytest, 00331 struct ccafe2_ServiceRegistryTest__epv 00332 **s_arg_epv_hooks__ccafe2_serviceregistrytest); 00333 00334 extern void ccafe2_ServiceRegistryTest__fini( 00335 struct ccafe2_ServiceRegistryTest__object* self, struct 00336 sidl_BaseInterface__object ** _ex); 00337 00338 extern void ccafe2_ServiceRegistryTest__IOR_version(int32_t *major, int32_t 00339 *minor); 00340 00341 struct gov_cca_Services__object* 00342 skel_ccafe2_ServiceRegistryTest_fconnect_gov_cca_Services(const char* url, 00343 sidl_bool ar, struct sidl_BaseInterface__object * *_ex); 00344 struct sidl_BaseInterface__object* 00345 skel_ccafe2_ServiceRegistryTest_fconnect_sidl_BaseInterface(const char* url, 00346 sidl_bool ar, struct sidl_BaseInterface__object * *_ex); 00347 struct ccafe2_ServiceRegistryTest__remote{ 00348 int d_refcount; 00349 struct sidl_rmi_InstanceHandle__object *d_ih; 00350 }; 00351 00352 #ifdef __cplusplus 00353 } 00354 #endif 00355 #endif