CCAFFEINE
0.8.8
|
00001 /* 00002 * File: ccafe6_MPIComponent_IOR.h 00003 * Symbol: ccafe6.MPIComponent-v0.0 00004 * Symbol Type: class 00005 * Babel Version: 1.4.0 00006 * Description: Intermediate Object Representation for ccafe6.MPIComponent 00007 * 00008 * WARNING: Automatically generated; changes will be lost 00009 * 00010 */ 00011 00012 #ifndef included_ccafe6_MPIComponent_IOR_h 00013 #define included_ccafe6_MPIComponent_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_ccaffeine_ports_MPIBorrow_IOR_h 00020 #include "ccaffeine_ports_MPIBorrow_IOR.h" 00021 #endif 00022 #ifndef included_ccaffeine_ports_MPIService_IOR_h 00023 #include "ccaffeine_ports_MPIService_IOR.h" 00024 #endif 00025 #ifndef included_gov_cca_Component_IOR_h 00026 #include "gov_cca_Component_IOR.h" 00027 #endif 00028 #ifndef included_gov_cca_ComponentRelease_IOR_h 00029 #include "gov_cca_ComponentRelease_IOR.h" 00030 #endif 00031 #ifndef included_gov_cca_Port_IOR_h 00032 #include "gov_cca_Port_IOR.h" 00033 #endif 00034 #ifndef included_sidl_BaseClass_IOR_h 00035 #include "sidl_BaseClass_IOR.h" 00036 #endif 00037 00038 #ifdef __cplusplus 00039 extern "C" { 00040 #endif 00041 00042 /* 00043 * Symbol "ccafe6.MPIComponent" (version 0.0) 00044 * 00045 * Externally added to the abstractframework, or loaded into 00046 * an environment which already supports mpi (mpi_init has been called). 00047 */ 00048 00049 struct ccafe6_MPIComponent__array; 00050 struct ccafe6_MPIComponent__object; 00051 00052 /* 00053 * Forward references for external classes and interfaces. 00054 */ 00055 00056 struct gov_cca_AbstractFramework__array; 00057 struct gov_cca_AbstractFramework__object; 00058 struct gov_cca_CCAException__array; 00059 struct gov_cca_CCAException__object; 00060 struct gov_cca_Services__array; 00061 struct gov_cca_Services__object; 00062 struct sidl_BaseException__array; 00063 struct sidl_BaseException__object; 00064 struct sidl_BaseInterface__array; 00065 struct sidl_BaseInterface__object; 00066 struct sidl_ClassInfo__array; 00067 struct sidl_ClassInfo__object; 00068 struct sidl_RuntimeException__array; 00069 struct sidl_RuntimeException__object; 00070 struct sidl_rmi_Call__array; 00071 struct sidl_rmi_Call__object; 00072 struct sidl_rmi_Return__array; 00073 struct sidl_rmi_Return__object; 00074 00075 /* 00076 * Declare the method entry point vector. 00077 */ 00078 00079 struct ccafe6_MPIComponent__epv { 00080 /* Implicit builtin methods */ 00081 /* 0 */ 00082 void* (*f__cast)( 00083 /* in */ struct ccafe6_MPIComponent__object* self, 00084 /* in */ const char* name, 00085 /* out */ struct sidl_BaseInterface__object **_ex); 00086 /* 1 */ 00087 void (*f__delete)( 00088 /* in */ struct ccafe6_MPIComponent__object* self, 00089 /* out */ struct sidl_BaseInterface__object **_ex); 00090 /* 2 */ 00091 void (*f__exec)( 00092 /* in */ struct ccafe6_MPIComponent__object* self, 00093 /* in */ const char* methodName, 00094 /* in */ struct sidl_rmi_Call__object* inArgs, 00095 /* in */ struct sidl_rmi_Return__object* outArgs, 00096 /* out */ struct sidl_BaseInterface__object **_ex); 00097 /* 3 */ 00098 char* (*f__getURL)( 00099 /* in */ struct ccafe6_MPIComponent__object* self, 00100 /* out */ struct sidl_BaseInterface__object **_ex); 00101 /* 4 */ 00102 void (*f__raddRef)( 00103 /* in */ struct ccafe6_MPIComponent__object* self, 00104 /* out */ struct sidl_BaseInterface__object **_ex); 00105 /* 5 */ 00106 sidl_bool (*f__isRemote)( 00107 /* in */ struct ccafe6_MPIComponent__object* self, 00108 /* out */ struct sidl_BaseInterface__object **_ex); 00109 /* 6 */ 00110 void (*f__set_hooks)( 00111 /* in */ struct ccafe6_MPIComponent__object* self, 00112 /* in */ sidl_bool enable, 00113 /* out */ struct sidl_BaseInterface__object **_ex); 00114 /* 7 */ 00115 void (*f__set_contracts)( 00116 /* in */ struct ccafe6_MPIComponent__object* self, 00117 /* in */ sidl_bool enable, 00118 /* in */ const char* enfFilename, 00119 /* in */ sidl_bool resetCounters, 00120 /* out */ struct sidl_BaseInterface__object **_ex); 00121 /* 8 */ 00122 void (*f__dump_stats)( 00123 /* in */ struct ccafe6_MPIComponent__object* self, 00124 /* in */ const char* filename, 00125 /* in */ const char* prefix, 00126 /* out */ struct sidl_BaseInterface__object **_ex); 00127 /* 9 */ 00128 void (*f__ctor)( 00129 /* in */ struct ccafe6_MPIComponent__object* self, 00130 /* out */ struct sidl_BaseInterface__object **_ex); 00131 /* 10 */ 00132 void (*f__ctor2)( 00133 /* in */ struct ccafe6_MPIComponent__object* self, 00134 /* in */ void* private_data, 00135 /* out */ struct sidl_BaseInterface__object **_ex); 00136 /* 11 */ 00137 void (*f__dtor)( 00138 /* in */ struct ccafe6_MPIComponent__object* self, 00139 /* out */ struct sidl_BaseInterface__object **_ex); 00140 /* 12 */ 00141 void (*f__load)( 00142 /* out */ struct sidl_BaseInterface__object **_ex); 00143 /* Methods introduced in sidl.BaseInterface-v0.9.17 */ 00144 void (*f_addRef)( 00145 /* in */ struct ccafe6_MPIComponent__object* self, 00146 /* out */ struct sidl_BaseInterface__object **_ex); 00147 void (*f_deleteRef)( 00148 /* in */ struct ccafe6_MPIComponent__object* self, 00149 /* out */ struct sidl_BaseInterface__object **_ex); 00150 sidl_bool (*f_isSame)( 00151 /* in */ struct ccafe6_MPIComponent__object* self, 00152 /* in */ struct sidl_BaseInterface__object* iobj, 00153 /* out */ struct sidl_BaseInterface__object **_ex); 00154 sidl_bool (*f_isType)( 00155 /* in */ struct ccafe6_MPIComponent__object* self, 00156 /* in */ const char* name, 00157 /* out */ struct sidl_BaseInterface__object **_ex); 00158 struct sidl_ClassInfo__object* (*f_getClassInfo)( 00159 /* in */ struct ccafe6_MPIComponent__object* self, 00160 /* out */ struct sidl_BaseInterface__object **_ex); 00161 /* Methods introduced in sidl.BaseClass-v0.9.17 */ 00162 /* Methods introduced in gov.cca.Port-v0.8.5 */ 00163 /* Methods introduced in ccaffeine.ports.MPIBorrow-v0.3 */ 00164 int64_t (*f_borrowComm)( 00165 /* in */ struct ccafe6_MPIComponent__object* self, 00166 /* in */ int32_t tagsRequested, 00167 /* inout array<int> */ struct sidl_int__array** tagList, 00168 /* inout */ int32_t* key, 00169 /* out */ struct sidl_BaseInterface__object **_ex); 00170 void (*f_returnComm)( 00171 /* in */ struct ccafe6_MPIComponent__object* self, 00172 /* in */ int64_t comm, 00173 /* in */ int32_t tagsRequested, 00174 /* inout array<int> */ struct sidl_int__array** tagList, 00175 /* in */ int32_t key, 00176 /* out */ struct sidl_BaseInterface__object **_ex); 00177 /* Methods introduced in ccaffeine.ports.MPIService-v0.3 */ 00178 int64_t (*f_getComm)( 00179 /* in */ struct ccafe6_MPIComponent__object* self, 00180 /* out */ struct sidl_BaseInterface__object **_ex); 00181 void (*f_releaseComm)( 00182 /* in */ struct ccafe6_MPIComponent__object* self, 00183 /* in */ int64_t comm, 00184 /* out */ struct sidl_BaseInterface__object **_ex); 00185 /* Methods introduced in gov.cca.Component-v0.8.5 */ 00186 void (*f_setServices)( 00187 /* in */ struct ccafe6_MPIComponent__object* self, 00188 /* in */ struct gov_cca_Services__object* services, 00189 /* out */ struct sidl_BaseInterface__object **_ex); 00190 /* Methods introduced in gov.cca.ComponentRelease-v0.8.5 */ 00191 void (*f_releaseServices)( 00192 /* in */ struct ccafe6_MPIComponent__object* self, 00193 /* in */ struct gov_cca_Services__object* services, 00194 /* out */ struct sidl_BaseInterface__object **_ex); 00195 /* Methods introduced in ccafe6.MPIComponent-v0.0 */ 00196 void (*f_initialize)( 00197 /* in */ struct ccafe6_MPIComponent__object* self, 00198 /* in */ int64_t borrowComm, 00199 /* in */ int64_t dupComm, 00200 /* inout */ struct gov_cca_AbstractFramework__object** af, 00201 /* out */ struct sidl_BaseInterface__object **_ex); 00202 void (*f_initializeCcafe)( 00203 /* in */ struct ccafe6_MPIComponent__object* self, 00204 /* inout */ struct gov_cca_AbstractFramework__object** af, 00205 /* out */ struct sidl_BaseInterface__object **_ex); 00206 void (*f_finalize)( 00207 /* in */ struct ccafe6_MPIComponent__object* self, 00208 /* in */ sidl_bool reclaim, 00209 /* out */ struct sidl_BaseInterface__object **_ex); 00210 }; 00211 00212 /* 00213 * Declare the method pre hooks entry point vector. 00214 */ 00215 00216 struct ccafe6_MPIComponent__pre_epv { 00217 void (*f_initialize_pre)( 00218 /* in */ struct ccafe6_MPIComponent__object* self, 00219 /* in */ int64_t borrowComm, 00220 /* in */ int64_t dupComm, 00221 /* in */ struct gov_cca_AbstractFramework__object* af, 00222 /* out */ struct sidl_BaseInterface__object **_ex); 00223 void (*f_initializeCcafe_pre)( 00224 /* in */ struct ccafe6_MPIComponent__object* self, 00225 /* in */ struct gov_cca_AbstractFramework__object* af, 00226 /* out */ struct sidl_BaseInterface__object **_ex); 00227 void (*f_finalize_pre)( 00228 /* in */ struct ccafe6_MPIComponent__object* self, 00229 /* in */ sidl_bool reclaim, 00230 /* out */ struct sidl_BaseInterface__object **_ex); 00231 void (*f_setServices_pre)( 00232 /* in */ struct ccafe6_MPIComponent__object* self, 00233 /* in */ struct gov_cca_Services__object* services, 00234 /* out */ struct sidl_BaseInterface__object **_ex); 00235 void (*f_releaseServices_pre)( 00236 /* in */ struct ccafe6_MPIComponent__object* self, 00237 /* in */ struct gov_cca_Services__object* services, 00238 /* out */ struct sidl_BaseInterface__object **_ex); 00239 void (*f_borrowComm_pre)( 00240 /* in */ struct ccafe6_MPIComponent__object* self, 00241 /* in */ int32_t tagsRequested, 00242 /* in array<int> */ struct sidl_int__array* tagList, 00243 /* in */ int32_t key, 00244 /* out */ struct sidl_BaseInterface__object **_ex); 00245 void (*f_returnComm_pre)( 00246 /* in */ struct ccafe6_MPIComponent__object* self, 00247 /* in */ int64_t comm, 00248 /* in */ int32_t tagsRequested, 00249 /* in array<int> */ struct sidl_int__array* tagList, 00250 /* in */ int32_t key, 00251 /* out */ struct sidl_BaseInterface__object **_ex); 00252 void (*f_getComm_pre)( 00253 /* in */ struct ccafe6_MPIComponent__object* self, 00254 /* out */ struct sidl_BaseInterface__object **_ex); 00255 void (*f_releaseComm_pre)( 00256 /* in */ struct ccafe6_MPIComponent__object* self, 00257 /* in */ int64_t comm, 00258 /* out */ struct sidl_BaseInterface__object **_ex); 00259 }; 00260 00261 /* 00262 * Declare the method post hooks entry point vector. 00263 */ 00264 00265 struct ccafe6_MPIComponent__post_epv { 00266 void (*f_initialize_post)( 00267 /* in */ struct ccafe6_MPIComponent__object* self, 00268 /* in */ int64_t borrowComm, 00269 /* in */ int64_t dupComm, 00270 /* in */ struct gov_cca_AbstractFramework__object* af, 00271 /* out */ struct sidl_BaseInterface__object **_ex); 00272 void (*f_initializeCcafe_post)( 00273 /* in */ struct ccafe6_MPIComponent__object* self, 00274 /* in */ struct gov_cca_AbstractFramework__object* af, 00275 /* out */ struct sidl_BaseInterface__object **_ex); 00276 void (*f_finalize_post)( 00277 /* in */ struct ccafe6_MPIComponent__object* self, 00278 /* in */ sidl_bool reclaim, 00279 /* out */ struct sidl_BaseInterface__object **_ex); 00280 void (*f_setServices_post)( 00281 /* in */ struct ccafe6_MPIComponent__object* self, 00282 /* in */ struct gov_cca_Services__object* services, 00283 /* out */ struct sidl_BaseInterface__object **_ex); 00284 void (*f_releaseServices_post)( 00285 /* in */ struct ccafe6_MPIComponent__object* self, 00286 /* in */ struct gov_cca_Services__object* services, 00287 /* out */ struct sidl_BaseInterface__object **_ex); 00288 void (*f_borrowComm_post)( 00289 /* in */ struct ccafe6_MPIComponent__object* self, 00290 /* in */ int32_t tagsRequested, 00291 /* in array<int> */ struct sidl_int__array* tagList, 00292 /* in */ int32_t key, 00293 /* in */ int64_t _retval, 00294 /* out */ struct sidl_BaseInterface__object **_ex); 00295 void (*f_returnComm_post)( 00296 /* in */ struct ccafe6_MPIComponent__object* self, 00297 /* in */ int64_t comm, 00298 /* in */ int32_t tagsRequested, 00299 /* in array<int> */ struct sidl_int__array* tagList, 00300 /* in */ int32_t key, 00301 /* out */ struct sidl_BaseInterface__object **_ex); 00302 void (*f_getComm_post)( 00303 /* in */ struct ccafe6_MPIComponent__object* self, 00304 /* in */ int64_t _retval, 00305 /* out */ struct sidl_BaseInterface__object **_ex); 00306 void (*f_releaseComm_post)( 00307 /* in */ struct ccafe6_MPIComponent__object* self, 00308 /* in */ int64_t comm, 00309 /* out */ struct sidl_BaseInterface__object **_ex); 00310 }; 00311 00312 /* 00313 * Define the controls and statistics structure. 00314 */ 00315 00316 00317 struct ccafe6_MPIComponent__cstats { 00318 sidl_bool use_hooks; 00319 }; 00320 00321 /* 00322 * Define the class object structure. 00323 */ 00324 00325 struct ccafe6_MPIComponent__object { 00326 struct sidl_BaseClass__object d_sidl_baseclass; 00327 struct ccaffeine_ports_MPIBorrow__object d_ccaffeine_ports_mpiborrow; 00328 struct ccaffeine_ports_MPIService__object d_ccaffeine_ports_mpiservice; 00329 struct gov_cca_Component__object d_gov_cca_component; 00330 struct gov_cca_ComponentRelease__object d_gov_cca_componentrelease; 00331 struct gov_cca_Port__object d_gov_cca_port; 00332 struct ccafe6_MPIComponent__epv* d_epv; 00333 struct ccafe6_MPIComponent__cstats d_cstats; 00334 void* d_data; 00335 }; 00336 00337 struct ccafe6_MPIComponent__external { 00338 struct ccafe6_MPIComponent__object* 00339 (*createObject)(void* ddata, struct sidl_BaseInterface__object **_ex); 00340 00341 struct sidl_BaseClass__epv*(*getSuperEPV)(void); 00342 int d_ior_major_version; 00343 int d_ior_minor_version; 00344 }; 00345 00346 /* 00347 * This function returns a pointer to a static structure of 00348 * pointers to function entry points. Its purpose is to provide 00349 * one-stop shopping for loading DLLs. 00350 */ 00351 00352 const struct ccafe6_MPIComponent__external* 00353 ccafe6_MPIComponent__externals(void); 00354 00355 extern struct ccafe6_MPIComponent__object* 00356 ccafe6_MPIComponent__createObject(void* ddata,struct sidl_BaseInterface__object 00357 ** _ex); 00358 00359 extern void ccafe6_MPIComponent__init( 00360 struct ccafe6_MPIComponent__object* self, void* ddata, struct 00361 sidl_BaseInterface__object ** _ex); 00362 00363 extern void ccafe6_MPIComponent__getEPVs( 00364 struct sidl_BaseInterface__epv **s_arg_epv__sidl_baseinterface, 00365 struct sidl_BaseClass__epv **s_arg_epv__sidl_baseclass, 00366 struct ccaffeine_ports_MPIBorrow__epv **s_arg_epv__ccaffeine_ports_mpiborrow, 00367 struct ccaffeine_ports_MPIBorrow__epv 00368 **s_arg_epv_hooks__ccaffeine_ports_mpiborrow, 00369 struct ccaffeine_ports_MPIService__epv 00370 **s_arg_epv__ccaffeine_ports_mpiservice, 00371 struct ccaffeine_ports_MPIService__epv 00372 **s_arg_epv_hooks__ccaffeine_ports_mpiservice, 00373 struct gov_cca_Component__epv **s_arg_epv__gov_cca_component, 00374 struct gov_cca_Component__epv **s_arg_epv_hooks__gov_cca_component, 00375 struct gov_cca_ComponentRelease__epv **s_arg_epv__gov_cca_componentrelease, 00376 struct gov_cca_ComponentRelease__epv 00377 **s_arg_epv_hooks__gov_cca_componentrelease, 00378 struct gov_cca_Port__epv **s_arg_epv__gov_cca_port, 00379 struct gov_cca_Port__epv **s_arg_epv_hooks__gov_cca_port, 00380 struct ccafe6_MPIComponent__epv **s_arg_epv__ccafe6_mpicomponent, 00381 struct ccafe6_MPIComponent__epv **s_arg_epv_hooks__ccafe6_mpicomponent); 00382 00383 extern void ccafe6_MPIComponent__fini( 00384 struct ccafe6_MPIComponent__object* self, struct sidl_BaseInterface__object 00385 ** _ex); 00386 00387 extern void ccafe6_MPIComponent__IOR_version(int32_t *major, int32_t *minor); 00388 00389 struct gov_cca_Services__object* 00390 skel_ccafe6_MPIComponent_fconnect_gov_cca_Services(const char* url, sidl_bool 00391 ar, struct sidl_BaseInterface__object * *_ex); 00392 struct gov_cca_AbstractFramework__object* 00393 skel_ccafe6_MPIComponent_fconnect_gov_cca_AbstractFramework(const char* url, 00394 sidl_bool ar, struct sidl_BaseInterface__object * *_ex); 00395 struct sidl_BaseInterface__object* 00396 skel_ccafe6_MPIComponent_fconnect_sidl_BaseInterface(const char* url, 00397 sidl_bool ar, struct sidl_BaseInterface__object * *_ex); 00398 struct ccafe6_MPIComponent__remote{ 00399 int d_refcount; 00400 struct sidl_rmi_InstanceHandle__object *d_ih; 00401 }; 00402 00403 #ifdef __cplusplus 00404 } 00405 #endif 00406 #endif