00001
00002
00003
00004
00005
00006
00007
00008
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
00044
00045
00046
00047
00048
00049 struct ccafe6_MPIComponent__array;
00050 struct ccafe6_MPIComponent__object;
00051
00052
00053
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
00077
00078
00079 struct ccafe6_MPIComponent__epv {
00080
00081
00082 void* (*f__cast)(
00083 struct ccafe6_MPIComponent__object* self,
00084 const char* name,
00085 struct sidl_BaseInterface__object **_ex);
00086
00087 void (*f__delete)(
00088 struct ccafe6_MPIComponent__object* self,
00089 struct sidl_BaseInterface__object **_ex);
00090
00091 void (*f__exec)(
00092 struct ccafe6_MPIComponent__object* self,
00093 const char* methodName,
00094 struct sidl_rmi_Call__object* inArgs,
00095 struct sidl_rmi_Return__object* outArgs,
00096 struct sidl_BaseInterface__object **_ex);
00097
00098 char* (*f__getURL)(
00099 struct ccafe6_MPIComponent__object* self,
00100 struct sidl_BaseInterface__object **_ex);
00101
00102 void (*f__raddRef)(
00103 struct ccafe6_MPIComponent__object* self,
00104 struct sidl_BaseInterface__object **_ex);
00105
00106 sidl_bool (*f__isRemote)(
00107 struct ccafe6_MPIComponent__object* self,
00108 struct sidl_BaseInterface__object **_ex);
00109
00110 void (*f__set_hooks)(
00111 struct ccafe6_MPIComponent__object* self,
00112 sidl_bool enable,
00113 struct sidl_BaseInterface__object **_ex);
00114
00115 void (*f__set_contracts)(
00116 struct ccafe6_MPIComponent__object* self,
00117 sidl_bool enable,
00118 const char* enfFilename,
00119 sidl_bool resetCounters,
00120 struct sidl_BaseInterface__object **_ex);
00121
00122 void (*f__dump_stats)(
00123 struct ccafe6_MPIComponent__object* self,
00124 const char* filename,
00125 const char* prefix,
00126 struct sidl_BaseInterface__object **_ex);
00127
00128 void (*f__ctor)(
00129 struct ccafe6_MPIComponent__object* self,
00130 struct sidl_BaseInterface__object **_ex);
00131
00132 void (*f__ctor2)(
00133 struct ccafe6_MPIComponent__object* self,
00134 void* private_data,
00135 struct sidl_BaseInterface__object **_ex);
00136
00137 void (*f__dtor)(
00138 struct ccafe6_MPIComponent__object* self,
00139 struct sidl_BaseInterface__object **_ex);
00140
00141 void (*f__load)(
00142 struct sidl_BaseInterface__object **_ex);
00143
00144 void (*f_addRef)(
00145 struct ccafe6_MPIComponent__object* self,
00146 struct sidl_BaseInterface__object **_ex);
00147 void (*f_deleteRef)(
00148 struct ccafe6_MPIComponent__object* self,
00149 struct sidl_BaseInterface__object **_ex);
00150 sidl_bool (*f_isSame)(
00151 struct ccafe6_MPIComponent__object* self,
00152 struct sidl_BaseInterface__object* iobj,
00153 struct sidl_BaseInterface__object **_ex);
00154 sidl_bool (*f_isType)(
00155 struct ccafe6_MPIComponent__object* self,
00156 const char* name,
00157 struct sidl_BaseInterface__object **_ex);
00158 struct sidl_ClassInfo__object* (*f_getClassInfo)(
00159 struct ccafe6_MPIComponent__object* self,
00160 struct sidl_BaseInterface__object **_ex);
00161
00162
00163
00164 int64_t (*f_borrowComm)(
00165 struct ccafe6_MPIComponent__object* self,
00166 int32_t tagsRequested,
00167 struct sidl_int__array** tagList,
00168 int32_t* key,
00169 struct sidl_BaseInterface__object **_ex);
00170 void (*f_returnComm)(
00171 struct ccafe6_MPIComponent__object* self,
00172 int64_t comm,
00173 int32_t tagsRequested,
00174 struct sidl_int__array** tagList,
00175 int32_t key,
00176 struct sidl_BaseInterface__object **_ex);
00177
00178 int64_t (*f_getComm)(
00179 struct ccafe6_MPIComponent__object* self,
00180 struct sidl_BaseInterface__object **_ex);
00181 void (*f_releaseComm)(
00182 struct ccafe6_MPIComponent__object* self,
00183 int64_t comm,
00184 struct sidl_BaseInterface__object **_ex);
00185
00186 void (*f_setServices)(
00187 struct ccafe6_MPIComponent__object* self,
00188 struct gov_cca_Services__object* services,
00189 struct sidl_BaseInterface__object **_ex);
00190
00191 void (*f_releaseServices)(
00192 struct ccafe6_MPIComponent__object* self,
00193 struct gov_cca_Services__object* services,
00194 struct sidl_BaseInterface__object **_ex);
00195
00196 void (*f_initialize)(
00197 struct ccafe6_MPIComponent__object* self,
00198 int64_t borrowComm,
00199 int64_t dupComm,
00200 struct gov_cca_AbstractFramework__object** af,
00201 struct sidl_BaseInterface__object **_ex);
00202 void (*f_initializeCcafe)(
00203 struct ccafe6_MPIComponent__object* self,
00204 struct gov_cca_AbstractFramework__object** af,
00205 struct sidl_BaseInterface__object **_ex);
00206 void (*f_finalize)(
00207 struct ccafe6_MPIComponent__object* self,
00208 sidl_bool reclaim,
00209 struct sidl_BaseInterface__object **_ex);
00210 };
00211
00212
00213
00214
00215
00216 struct ccafe6_MPIComponent__pre_epv {
00217 void (*f_initialize_pre)(
00218 struct ccafe6_MPIComponent__object* self,
00219 int64_t borrowComm,
00220 int64_t dupComm,
00221 struct gov_cca_AbstractFramework__object* af,
00222 struct sidl_BaseInterface__object **_ex);
00223 void (*f_initializeCcafe_pre)(
00224 struct ccafe6_MPIComponent__object* self,
00225 struct gov_cca_AbstractFramework__object* af,
00226 struct sidl_BaseInterface__object **_ex);
00227 void (*f_finalize_pre)(
00228 struct ccafe6_MPIComponent__object* self,
00229 sidl_bool reclaim,
00230 struct sidl_BaseInterface__object **_ex);
00231 void (*f_setServices_pre)(
00232 struct ccafe6_MPIComponent__object* self,
00233 struct gov_cca_Services__object* services,
00234 struct sidl_BaseInterface__object **_ex);
00235 void (*f_releaseServices_pre)(
00236 struct ccafe6_MPIComponent__object* self,
00237 struct gov_cca_Services__object* services,
00238 struct sidl_BaseInterface__object **_ex);
00239 void (*f_borrowComm_pre)(
00240 struct ccafe6_MPIComponent__object* self,
00241 int32_t tagsRequested,
00242 struct sidl_int__array* tagList,
00243 int32_t key,
00244 struct sidl_BaseInterface__object **_ex);
00245 void (*f_returnComm_pre)(
00246 struct ccafe6_MPIComponent__object* self,
00247 int64_t comm,
00248 int32_t tagsRequested,
00249 struct sidl_int__array* tagList,
00250 int32_t key,
00251 struct sidl_BaseInterface__object **_ex);
00252 void (*f_getComm_pre)(
00253 struct ccafe6_MPIComponent__object* self,
00254 struct sidl_BaseInterface__object **_ex);
00255 void (*f_releaseComm_pre)(
00256 struct ccafe6_MPIComponent__object* self,
00257 int64_t comm,
00258 struct sidl_BaseInterface__object **_ex);
00259 };
00260
00261
00262
00263
00264
00265 struct ccafe6_MPIComponent__post_epv {
00266 void (*f_initialize_post)(
00267 struct ccafe6_MPIComponent__object* self,
00268 int64_t borrowComm,
00269 int64_t dupComm,
00270 struct gov_cca_AbstractFramework__object* af,
00271 struct sidl_BaseInterface__object **_ex);
00272 void (*f_initializeCcafe_post)(
00273 struct ccafe6_MPIComponent__object* self,
00274 struct gov_cca_AbstractFramework__object* af,
00275 struct sidl_BaseInterface__object **_ex);
00276 void (*f_finalize_post)(
00277 struct ccafe6_MPIComponent__object* self,
00278 sidl_bool reclaim,
00279 struct sidl_BaseInterface__object **_ex);
00280 void (*f_setServices_post)(
00281 struct ccafe6_MPIComponent__object* self,
00282 struct gov_cca_Services__object* services,
00283 struct sidl_BaseInterface__object **_ex);
00284 void (*f_releaseServices_post)(
00285 struct ccafe6_MPIComponent__object* self,
00286 struct gov_cca_Services__object* services,
00287 struct sidl_BaseInterface__object **_ex);
00288 void (*f_borrowComm_post)(
00289 struct ccafe6_MPIComponent__object* self,
00290 int32_t tagsRequested,
00291 struct sidl_int__array* tagList,
00292 int32_t key,
00293 int64_t _retval,
00294 struct sidl_BaseInterface__object **_ex);
00295 void (*f_returnComm_post)(
00296 struct ccafe6_MPIComponent__object* self,
00297 int64_t comm,
00298 int32_t tagsRequested,
00299 struct sidl_int__array* tagList,
00300 int32_t key,
00301 struct sidl_BaseInterface__object **_ex);
00302 void (*f_getComm_post)(
00303 struct ccafe6_MPIComponent__object* self,
00304 int64_t _retval,
00305 struct sidl_BaseInterface__object **_ex);
00306 void (*f_releaseComm_post)(
00307 struct ccafe6_MPIComponent__object* self,
00308 int64_t comm,
00309 struct sidl_BaseInterface__object **_ex);
00310 };
00311
00312
00313
00314
00315
00316
00317 struct ccafe6_MPIComponent__cstats {
00318 sidl_bool use_hooks;
00319 };
00320
00321
00322
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
00348
00349
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