00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #ifndef included_ccaffeine_AbstractFramework_IOR_h
00013 #define included_ccaffeine_AbstractFramework_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_gov_cca_AbstractFramework_IOR_h
00020 #include "gov_cca_AbstractFramework_IOR.h"
00021 #endif
00022 #ifndef included_sidl_BaseClass_IOR_h
00023 #include "sidl_BaseClass_IOR.h"
00024 #endif
00025
00026 #ifdef __cplusplus
00027 extern "C" {
00028 #endif
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039 struct ccaffeine_AbstractFramework__array;
00040 struct ccaffeine_AbstractFramework__object;
00041 struct ccaffeine_AbstractFramework__sepv;
00042
00043
00044
00045
00046
00047 struct ccaffeine_BabelMain__array;
00048 struct ccaffeine_BabelMain__object;
00049 struct gov_cca_CCAException__array;
00050 struct gov_cca_CCAException__object;
00051 struct gov_cca_Services__array;
00052 struct gov_cca_Services__object;
00053 struct gov_cca_TypeMap__array;
00054 struct gov_cca_TypeMap__object;
00055 struct sidl_BaseException__array;
00056 struct sidl_BaseException__object;
00057 struct sidl_BaseInterface__array;
00058 struct sidl_BaseInterface__object;
00059 struct sidl_ClassInfo__array;
00060 struct sidl_ClassInfo__object;
00061 struct sidl_RuntimeException__array;
00062 struct sidl_RuntimeException__object;
00063 struct sidl_rmi_Call__array;
00064 struct sidl_rmi_Call__object;
00065 struct sidl_rmi_Return__array;
00066 struct sidl_rmi_Return__object;
00067
00068
00069
00070
00071
00072 struct ccaffeine_AbstractFramework__sepv {
00073
00074
00075
00076
00077
00078
00079
00080
00081 void (*f__set_hooks_static)(
00082 sidl_bool enable,
00083 struct sidl_BaseInterface__object **_ex);
00084
00085 void (*f__set_contracts_static)(
00086 sidl_bool enable,
00087 const char* enfFilename,
00088 sidl_bool resetCounters,
00089 struct sidl_BaseInterface__object **_ex);
00090
00091 void (*f__dump_stats_static)(
00092 const char* filename,
00093 const char* prefix,
00094 struct sidl_BaseInterface__object **_ex);
00095
00096
00097
00098
00099
00100
00101
00102
00103 sidl_bool (*f_getMPICommWorld)(
00104 int64_t* fComm,
00105 struct sidl_BaseInterface__object **_ex);
00106 };
00107
00108
00109
00110
00111
00112 struct ccaffeine_AbstractFramework__epv {
00113
00114
00115 void* (*f__cast)(
00116 struct ccaffeine_AbstractFramework__object* self,
00117 const char* name,
00118 struct sidl_BaseInterface__object **_ex);
00119
00120 void (*f__delete)(
00121 struct ccaffeine_AbstractFramework__object* self,
00122 struct sidl_BaseInterface__object **_ex);
00123
00124 void (*f__exec)(
00125 struct ccaffeine_AbstractFramework__object* self,
00126 const char* methodName,
00127 struct sidl_rmi_Call__object* inArgs,
00128 struct sidl_rmi_Return__object* outArgs,
00129 struct sidl_BaseInterface__object **_ex);
00130
00131 char* (*f__getURL)(
00132 struct ccaffeine_AbstractFramework__object* self,
00133 struct sidl_BaseInterface__object **_ex);
00134
00135 void (*f__raddRef)(
00136 struct ccaffeine_AbstractFramework__object* self,
00137 struct sidl_BaseInterface__object **_ex);
00138
00139 sidl_bool (*f__isRemote)(
00140 struct ccaffeine_AbstractFramework__object* self,
00141 struct sidl_BaseInterface__object **_ex);
00142
00143 void (*f__set_hooks)(
00144 struct ccaffeine_AbstractFramework__object* self,
00145 sidl_bool enable,
00146 struct sidl_BaseInterface__object **_ex);
00147
00148 void (*f__set_contracts)(
00149 struct ccaffeine_AbstractFramework__object* self,
00150 sidl_bool enable,
00151 const char* enfFilename,
00152 sidl_bool resetCounters,
00153 struct sidl_BaseInterface__object **_ex);
00154
00155 void (*f__dump_stats)(
00156 struct ccaffeine_AbstractFramework__object* self,
00157 const char* filename,
00158 const char* prefix,
00159 struct sidl_BaseInterface__object **_ex);
00160
00161 void (*f__ctor)(
00162 struct ccaffeine_AbstractFramework__object* self,
00163 struct sidl_BaseInterface__object **_ex);
00164
00165 void (*f__ctor2)(
00166 struct ccaffeine_AbstractFramework__object* self,
00167 void* private_data,
00168 struct sidl_BaseInterface__object **_ex);
00169
00170 void (*f__dtor)(
00171 struct ccaffeine_AbstractFramework__object* self,
00172 struct sidl_BaseInterface__object **_ex);
00173
00174 void (*f__load)(
00175 struct sidl_BaseInterface__object **_ex);
00176
00177 void (*f_addRef)(
00178 struct ccaffeine_AbstractFramework__object* self,
00179 struct sidl_BaseInterface__object **_ex);
00180 void (*f_deleteRef)(
00181 struct ccaffeine_AbstractFramework__object* self,
00182 struct sidl_BaseInterface__object **_ex);
00183 sidl_bool (*f_isSame)(
00184 struct ccaffeine_AbstractFramework__object* self,
00185 struct sidl_BaseInterface__object* iobj,
00186 struct sidl_BaseInterface__object **_ex);
00187 sidl_bool (*f_isType)(
00188 struct ccaffeine_AbstractFramework__object* self,
00189 const char* name,
00190 struct sidl_BaseInterface__object **_ex);
00191 struct sidl_ClassInfo__object* (*f_getClassInfo)(
00192 struct ccaffeine_AbstractFramework__object* self,
00193 struct sidl_BaseInterface__object **_ex);
00194
00195
00196 struct gov_cca_TypeMap__object* (*f_createTypeMap)(
00197 struct ccaffeine_AbstractFramework__object* self,
00198 struct sidl_BaseInterface__object **_ex);
00199 struct gov_cca_Services__object* (*f_getServices)(
00200 struct ccaffeine_AbstractFramework__object* self,
00201 const char* selfInstanceName,
00202 const char* selfClassName,
00203 struct gov_cca_TypeMap__object* selfProperties,
00204 struct sidl_BaseInterface__object **_ex);
00205 void (*f_releaseServices)(
00206 struct ccaffeine_AbstractFramework__object* self,
00207 struct gov_cca_Services__object* services,
00208 struct sidl_BaseInterface__object **_ex);
00209 void (*f_shutdownFramework)(
00210 struct ccaffeine_AbstractFramework__object* self,
00211 struct sidl_BaseInterface__object **_ex);
00212 struct gov_cca_AbstractFramework__object* (*f_createEmptyFramework)(
00213 struct ccaffeine_AbstractFramework__object* self,
00214 struct sidl_BaseInterface__object **_ex);
00215
00216 void (*f_initialize)(
00217 struct ccaffeine_AbstractFramework__object* self,
00218 const char* args,
00219 int64_t fComm,
00220 sidl_bool useComm,
00221 struct sidl_BaseInterface__object **_ex);
00222 void (*f_run)(
00223 struct ccaffeine_AbstractFramework__object* self,
00224 struct ccaffeine_BabelMain__object** driver,
00225 struct sidl_BaseInterface__object **_ex);
00226 sidl_bool (*f_getFrameMPIComm)(
00227 struct ccaffeine_AbstractFramework__object* self,
00228 int64_t* fCommFwk,
00229 struct sidl_BaseInterface__object **_ex);
00230 };
00231
00232
00233
00234
00235
00236 struct ccaffeine_AbstractFramework__pre_epv {
00237 void (*f_initialize_pre)(
00238 struct ccaffeine_AbstractFramework__object* self,
00239 const char* args,
00240 int64_t fComm,
00241 sidl_bool useComm,
00242 struct sidl_BaseInterface__object **_ex);
00243 void (*f_run_pre)(
00244 struct ccaffeine_AbstractFramework__object* self,
00245 struct ccaffeine_BabelMain__object* driver,
00246 struct sidl_BaseInterface__object **_ex);
00247 void (*f_getFrameMPIComm_pre)(
00248 struct ccaffeine_AbstractFramework__object* self,
00249 int64_t fCommFwk,
00250 struct sidl_BaseInterface__object **_ex);
00251 void (*f_createTypeMap_pre)(
00252 struct ccaffeine_AbstractFramework__object* self,
00253 struct sidl_BaseInterface__object **_ex);
00254 void (*f_getServices_pre)(
00255 struct ccaffeine_AbstractFramework__object* self,
00256 const char* selfInstanceName,
00257 const char* selfClassName,
00258 struct gov_cca_TypeMap__object* selfProperties,
00259 struct sidl_BaseInterface__object **_ex);
00260 void (*f_releaseServices_pre)(
00261 struct ccaffeine_AbstractFramework__object* self,
00262 struct gov_cca_Services__object* services,
00263 struct sidl_BaseInterface__object **_ex);
00264 void (*f_shutdownFramework_pre)(
00265 struct ccaffeine_AbstractFramework__object* self,
00266 struct sidl_BaseInterface__object **_ex);
00267 void (*f_createEmptyFramework_pre)(
00268 struct ccaffeine_AbstractFramework__object* self,
00269 struct sidl_BaseInterface__object **_ex);
00270 };
00271
00272
00273
00274
00275
00276 struct ccaffeine_AbstractFramework__post_epv {
00277 void (*f_initialize_post)(
00278 struct ccaffeine_AbstractFramework__object* self,
00279 const char* args,
00280 int64_t fComm,
00281 sidl_bool useComm,
00282 struct sidl_BaseInterface__object **_ex);
00283 void (*f_run_post)(
00284 struct ccaffeine_AbstractFramework__object* self,
00285 struct ccaffeine_BabelMain__object* driver,
00286 struct sidl_BaseInterface__object **_ex);
00287 void (*f_getFrameMPIComm_post)(
00288 struct ccaffeine_AbstractFramework__object* self,
00289 int64_t fCommFwk,
00290 sidl_bool _retval,
00291 struct sidl_BaseInterface__object **_ex);
00292 void (*f_createTypeMap_post)(
00293 struct ccaffeine_AbstractFramework__object* self,
00294 struct gov_cca_TypeMap__object* _retval,
00295 struct sidl_BaseInterface__object **_ex);
00296 void (*f_getServices_post)(
00297 struct ccaffeine_AbstractFramework__object* self,
00298 const char* selfInstanceName,
00299 const char* selfClassName,
00300 struct gov_cca_TypeMap__object* selfProperties,
00301 struct gov_cca_Services__object* _retval,
00302 struct sidl_BaseInterface__object **_ex);
00303 void (*f_releaseServices_post)(
00304 struct ccaffeine_AbstractFramework__object* self,
00305 struct gov_cca_Services__object* services,
00306 struct sidl_BaseInterface__object **_ex);
00307 void (*f_shutdownFramework_post)(
00308 struct ccaffeine_AbstractFramework__object* self,
00309 struct sidl_BaseInterface__object **_ex);
00310 void (*f_createEmptyFramework_post)(
00311 struct ccaffeine_AbstractFramework__object* self,
00312 struct gov_cca_AbstractFramework__object* _retval,
00313 struct sidl_BaseInterface__object **_ex);
00314 };
00315
00316
00317
00318
00319
00320 struct ccaffeine_AbstractFramework__pre_sepv {
00321 void (*f_getMPICommWorld_pre)(
00322 int64_t fComm,
00323 struct sidl_BaseInterface__object **_ex);
00324 };
00325
00326
00327
00328
00329
00330 struct ccaffeine_AbstractFramework__post_sepv {
00331 void (*f_getMPICommWorld_post)(
00332 int64_t fComm,
00333 sidl_bool _retval,
00334 struct sidl_BaseInterface__object **_ex);
00335 };
00336
00337
00338
00339
00340
00341
00342 struct ccaffeine_AbstractFramework__cstats {
00343 sidl_bool use_hooks;
00344 };
00345
00346
00347
00348
00349
00350 struct ccaffeine_AbstractFramework__object {
00351 struct sidl_BaseClass__object d_sidl_baseclass;
00352 struct gov_cca_AbstractFramework__object d_gov_cca_abstractframework;
00353 struct ccaffeine_AbstractFramework__epv* d_epv;
00354 struct ccaffeine_AbstractFramework__cstats d_cstats;
00355 void* d_data;
00356 };
00357
00358 struct ccaffeine_AbstractFramework__external {
00359 struct ccaffeine_AbstractFramework__object*
00360 (*createObject)(void* ddata, struct sidl_BaseInterface__object **_ex);
00361
00362 struct ccaffeine_AbstractFramework__sepv*
00363 (*getStaticEPV)(void);
00364 struct sidl_BaseClass__epv*(*getSuperEPV)(void);
00365 int d_ior_major_version;
00366 int d_ior_minor_version;
00367 };
00368
00369
00370
00371
00372
00373
00374
00375 const struct ccaffeine_AbstractFramework__external*
00376 ccaffeine_AbstractFramework__externals(void);
00377
00378 extern struct ccaffeine_AbstractFramework__object*
00379 ccaffeine_AbstractFramework__createObject(void* ddata,struct
00380 sidl_BaseInterface__object ** _ex);
00381
00382 extern struct ccaffeine_AbstractFramework__sepv*
00383 ccaffeine_AbstractFramework__getStaticEPV(void);
00384
00385
00386 extern struct ccaffeine_AbstractFramework__sepv*
00387 ccaffeine_AbstractFramework__getTypeStaticEPV(int type);
00388
00389 extern void ccaffeine_AbstractFramework__init(
00390 struct ccaffeine_AbstractFramework__object* self, void* ddata, struct
00391 sidl_BaseInterface__object ** _ex);
00392
00393 extern void ccaffeine_AbstractFramework__getEPVs(
00394 struct sidl_BaseInterface__epv **s_arg_epv__sidl_baseinterface,
00395 struct sidl_BaseClass__epv **s_arg_epv__sidl_baseclass,
00396 struct gov_cca_AbstractFramework__epv **s_arg_epv__gov_cca_abstractframework,
00397 struct gov_cca_AbstractFramework__epv
00398 **s_arg_epv_hooks__gov_cca_abstractframework,
00399 struct ccaffeine_AbstractFramework__epv
00400 **s_arg_epv__ccaffeine_abstractframework,
00401 struct ccaffeine_AbstractFramework__epv
00402 **s_arg_epv_hooks__ccaffeine_abstractframework);
00403
00404 extern void ccaffeine_AbstractFramework__fini(
00405 struct ccaffeine_AbstractFramework__object* self, struct
00406 sidl_BaseInterface__object ** _ex);
00407
00408 extern void ccaffeine_AbstractFramework__IOR_version(int32_t *major, int32_t
00409 *minor);
00410
00411
00412
00413
00414
00415 static const int s_SEPV_CCAFFEINE_ABSTRACTFRAMEWORK_BASE = 0;
00416 static const int s_SEPV_CCAFFEINE_ABSTRACTFRAMEWORK_CONTRACTS = 1;
00417 static const int s_SEPV_CCAFFEINE_ABSTRACTFRAMEWORK_HOOKS = 2;
00418
00419 struct gov_cca_Services__object*
00420 skel_ccaffeine_AbstractFramework_fconnect_gov_cca_Services(const char* url,
00421 sidl_bool ar, struct sidl_BaseInterface__object * *_ex);
00422 struct gov_cca_TypeMap__object*
00423 skel_ccaffeine_AbstractFramework_fconnect_gov_cca_TypeMap(const char* url,
00424 sidl_bool ar, struct sidl_BaseInterface__object * *_ex);
00425 struct sidl_BaseInterface__object*
00426 skel_ccaffeine_AbstractFramework_fconnect_sidl_BaseInterface(const char* url,
00427 sidl_bool ar, struct sidl_BaseInterface__object * *_ex);
00428 struct ccaffeine_BabelMain__object*
00429 skel_ccaffeine_AbstractFramework_fconnect_ccaffeine_BabelMain(const char* url,
00430 sidl_bool ar, struct sidl_BaseInterface__object * *_ex);
00431 struct ccaffeine_AbstractFramework__remote{
00432 int d_refcount;
00433 struct sidl_rmi_InstanceHandle__object *d_ih;
00434 };
00435
00436 #ifdef __cplusplus
00437 }
00438 #endif
00439 #endif