CCAFFEINE  0.8.8
ccaffeine_AbstractFramework_IOR.h
00001 /*
00002  * File:          ccaffeine_AbstractFramework_IOR.h
00003  * Symbol:        ccaffeine.AbstractFramework-v0.3
00004  * Symbol Type:   class
00005  * Babel Version: 1.4.0
00006  * Description:   Intermediate Object Representation for ccaffeine.AbstractFramework
00007  * 
00008  * WARNING: Automatically generated; changes will be lost
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  * Symbol "ccaffeine.AbstractFramework" (version 0.3)
00032  * 
00033  * NOTE: the BuilderServices should be treated
00034  * as a port with the get/release BuilderService functions.
00035  * Mixing this with gov.cca.AbstractFramework presents
00036  * implementation problems.
00037  */
00038 
00039 struct ccaffeine_AbstractFramework__array;
00040 struct ccaffeine_AbstractFramework__object;
00041 struct ccaffeine_AbstractFramework__sepv;
00042 
00043 /*
00044  * Forward references for external classes and interfaces.
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  * Declare the static method entry point vector.
00070  */
00071 
00072 struct ccaffeine_AbstractFramework__sepv {
00073   /* Implicit builtin methods */
00074   /* 0 */
00075   /* 1 */
00076   /* 2 */
00077   /* 3 */
00078   /* 4 */
00079   /* 5 */
00080   /* 6 */
00081   void (*f__set_hooks_static)(
00082     /* in */ sidl_bool enable,
00083     /* out */ struct sidl_BaseInterface__object **_ex);
00084   /* 7 */
00085   void (*f__set_contracts_static)(
00086     /* in */ sidl_bool enable,
00087     /* in */ const char* enfFilename,
00088     /* in */ sidl_bool resetCounters,
00089     /* out */ struct sidl_BaseInterface__object **_ex);
00090   /* 8 */
00091   void (*f__dump_stats_static)(
00092     /* in */ const char* filename,
00093     /* in */ const char* prefix,
00094     /* out */ struct sidl_BaseInterface__object **_ex);
00095   /* 9 */
00096   /* 10 */
00097   /* 11 */
00098   /* 12 */
00099   /* Methods introduced in sidl.BaseInterface-v0.9.17 */
00100   /* Methods introduced in sidl.BaseClass-v0.9.17 */
00101   /* Methods introduced in gov.cca.AbstractFramework-v0.8.5 */
00102   /* Methods introduced in ccaffeine.AbstractFramework-v0.3 */
00103   sidl_bool (*f_getMPICommWorld)(
00104     /* inout */ int64_t* fComm,
00105     /* out */ struct sidl_BaseInterface__object **_ex);
00106 };
00107 
00108 /*
00109  * Declare the method entry point vector.
00110  */
00111 
00112 struct ccaffeine_AbstractFramework__epv {
00113   /* Implicit builtin methods */
00114   /* 0 */
00115   void* (*f__cast)(
00116     /* in */ struct ccaffeine_AbstractFramework__object* self,
00117     /* in */ const char* name,
00118     /* out */ struct sidl_BaseInterface__object **_ex);
00119   /* 1 */
00120   void (*f__delete)(
00121     /* in */ struct ccaffeine_AbstractFramework__object* self,
00122     /* out */ struct sidl_BaseInterface__object **_ex);
00123   /* 2 */
00124   void (*f__exec)(
00125     /* in */ struct ccaffeine_AbstractFramework__object* self,
00126     /* in */ const char* methodName,
00127     /* in */ struct sidl_rmi_Call__object* inArgs,
00128     /* in */ struct sidl_rmi_Return__object* outArgs,
00129     /* out */ struct sidl_BaseInterface__object **_ex);
00130   /* 3 */
00131   char* (*f__getURL)(
00132     /* in */ struct ccaffeine_AbstractFramework__object* self,
00133     /* out */ struct sidl_BaseInterface__object **_ex);
00134   /* 4 */
00135   void (*f__raddRef)(
00136     /* in */ struct ccaffeine_AbstractFramework__object* self,
00137     /* out */ struct sidl_BaseInterface__object **_ex);
00138   /* 5 */
00139   sidl_bool (*f__isRemote)(
00140     /* in */ struct ccaffeine_AbstractFramework__object* self,
00141     /* out */ struct sidl_BaseInterface__object **_ex);
00142   /* 6 */
00143   void (*f__set_hooks)(
00144     /* in */ struct ccaffeine_AbstractFramework__object* self,
00145     /* in */ sidl_bool enable,
00146     /* out */ struct sidl_BaseInterface__object **_ex);
00147   /* 7 */
00148   void (*f__set_contracts)(
00149     /* in */ struct ccaffeine_AbstractFramework__object* self,
00150     /* in */ sidl_bool enable,
00151     /* in */ const char* enfFilename,
00152     /* in */ sidl_bool resetCounters,
00153     /* out */ struct sidl_BaseInterface__object **_ex);
00154   /* 8 */
00155   void (*f__dump_stats)(
00156     /* in */ struct ccaffeine_AbstractFramework__object* self,
00157     /* in */ const char* filename,
00158     /* in */ const char* prefix,
00159     /* out */ struct sidl_BaseInterface__object **_ex);
00160   /* 9 */
00161   void (*f__ctor)(
00162     /* in */ struct ccaffeine_AbstractFramework__object* self,
00163     /* out */ struct sidl_BaseInterface__object **_ex);
00164   /* 10 */
00165   void (*f__ctor2)(
00166     /* in */ struct ccaffeine_AbstractFramework__object* self,
00167     /* in */ void* private_data,
00168     /* out */ struct sidl_BaseInterface__object **_ex);
00169   /* 11 */
00170   void (*f__dtor)(
00171     /* in */ struct ccaffeine_AbstractFramework__object* self,
00172     /* out */ struct sidl_BaseInterface__object **_ex);
00173   /* 12 */
00174   void (*f__load)(
00175     /* out */ struct sidl_BaseInterface__object **_ex);
00176   /* Methods introduced in sidl.BaseInterface-v0.9.17 */
00177   void (*f_addRef)(
00178     /* in */ struct ccaffeine_AbstractFramework__object* self,
00179     /* out */ struct sidl_BaseInterface__object **_ex);
00180   void (*f_deleteRef)(
00181     /* in */ struct ccaffeine_AbstractFramework__object* self,
00182     /* out */ struct sidl_BaseInterface__object **_ex);
00183   sidl_bool (*f_isSame)(
00184     /* in */ struct ccaffeine_AbstractFramework__object* self,
00185     /* in */ struct sidl_BaseInterface__object* iobj,
00186     /* out */ struct sidl_BaseInterface__object **_ex);
00187   sidl_bool (*f_isType)(
00188     /* in */ struct ccaffeine_AbstractFramework__object* self,
00189     /* in */ const char* name,
00190     /* out */ struct sidl_BaseInterface__object **_ex);
00191   struct sidl_ClassInfo__object* (*f_getClassInfo)(
00192     /* in */ struct ccaffeine_AbstractFramework__object* self,
00193     /* out */ struct sidl_BaseInterface__object **_ex);
00194   /* Methods introduced in sidl.BaseClass-v0.9.17 */
00195   /* Methods introduced in gov.cca.AbstractFramework-v0.8.5 */
00196   struct gov_cca_TypeMap__object* (*f_createTypeMap)(
00197     /* in */ struct ccaffeine_AbstractFramework__object* self,
00198     /* out */ struct sidl_BaseInterface__object **_ex);
00199   struct gov_cca_Services__object* (*f_getServices)(
00200     /* in */ struct ccaffeine_AbstractFramework__object* self,
00201     /* in */ const char* selfInstanceName,
00202     /* in */ const char* selfClassName,
00203     /* in */ struct gov_cca_TypeMap__object* selfProperties,
00204     /* out */ struct sidl_BaseInterface__object **_ex);
00205   void (*f_releaseServices)(
00206     /* in */ struct ccaffeine_AbstractFramework__object* self,
00207     /* in */ struct gov_cca_Services__object* services,
00208     /* out */ struct sidl_BaseInterface__object **_ex);
00209   void (*f_shutdownFramework)(
00210     /* in */ struct ccaffeine_AbstractFramework__object* self,
00211     /* out */ struct sidl_BaseInterface__object **_ex);
00212   struct gov_cca_AbstractFramework__object* (*f_createEmptyFramework)(
00213     /* in */ struct ccaffeine_AbstractFramework__object* self,
00214     /* out */ struct sidl_BaseInterface__object **_ex);
00215   /* Methods introduced in ccaffeine.AbstractFramework-v0.3 */
00216   void (*f_initialize)(
00217     /* in */ struct ccaffeine_AbstractFramework__object* self,
00218     /* in */ const char* args,
00219     /* in */ int64_t fComm,
00220     /* in */ sidl_bool useComm,
00221     /* out */ struct sidl_BaseInterface__object **_ex);
00222   void (*f_run)(
00223     /* in */ struct ccaffeine_AbstractFramework__object* self,
00224     /* inout */ struct ccaffeine_BabelMain__object** driver,
00225     /* out */ struct sidl_BaseInterface__object **_ex);
00226   sidl_bool (*f_getFrameMPIComm)(
00227     /* in */ struct ccaffeine_AbstractFramework__object* self,
00228     /* inout */ int64_t* fCommFwk,
00229     /* out */ struct sidl_BaseInterface__object **_ex);
00230 };
00231 
00232 /*
00233  * Declare the method pre hooks entry point vector.
00234  */
00235 
00236 struct ccaffeine_AbstractFramework__pre_epv {
00237   void (*f_initialize_pre)(
00238     /* in */ struct ccaffeine_AbstractFramework__object* self,
00239     /* in */ const char* args,
00240     /* in */ int64_t fComm,
00241     /* in */ sidl_bool useComm,
00242     /* out */ struct sidl_BaseInterface__object **_ex);
00243   void (*f_run_pre)(
00244     /* in */ struct ccaffeine_AbstractFramework__object* self,
00245     /* in */ struct ccaffeine_BabelMain__object* driver,
00246     /* out */ struct sidl_BaseInterface__object **_ex);
00247   void (*f_getFrameMPIComm_pre)(
00248     /* in */ struct ccaffeine_AbstractFramework__object* self,
00249     /* in */ int64_t fCommFwk,
00250     /* out */ struct sidl_BaseInterface__object **_ex);
00251   void (*f_createTypeMap_pre)(
00252     /* in */ struct ccaffeine_AbstractFramework__object* self,
00253     /* out */ struct sidl_BaseInterface__object **_ex);
00254   void (*f_getServices_pre)(
00255     /* in */ struct ccaffeine_AbstractFramework__object* self,
00256     /* in */ const char* selfInstanceName,
00257     /* in */ const char* selfClassName,
00258     /* in */ struct gov_cca_TypeMap__object* selfProperties,
00259     /* out */ struct sidl_BaseInterface__object **_ex);
00260   void (*f_releaseServices_pre)(
00261     /* in */ struct ccaffeine_AbstractFramework__object* self,
00262     /* in */ struct gov_cca_Services__object* services,
00263     /* out */ struct sidl_BaseInterface__object **_ex);
00264   void (*f_shutdownFramework_pre)(
00265     /* in */ struct ccaffeine_AbstractFramework__object* self,
00266     /* out */ struct sidl_BaseInterface__object **_ex);
00267   void (*f_createEmptyFramework_pre)(
00268     /* in */ struct ccaffeine_AbstractFramework__object* self,
00269     /* out */ struct sidl_BaseInterface__object **_ex);
00270 };
00271 
00272 /*
00273  * Declare the method post hooks entry point vector.
00274  */
00275 
00276 struct ccaffeine_AbstractFramework__post_epv {
00277   void (*f_initialize_post)(
00278     /* in */ struct ccaffeine_AbstractFramework__object* self,
00279     /* in */ const char* args,
00280     /* in */ int64_t fComm,
00281     /* in */ sidl_bool useComm,
00282     /* out */ struct sidl_BaseInterface__object **_ex);
00283   void (*f_run_post)(
00284     /* in */ struct ccaffeine_AbstractFramework__object* self,
00285     /* in */ struct ccaffeine_BabelMain__object* driver,
00286     /* out */ struct sidl_BaseInterface__object **_ex);
00287   void (*f_getFrameMPIComm_post)(
00288     /* in */ struct ccaffeine_AbstractFramework__object* self,
00289     /* in */ int64_t fCommFwk,
00290     /* in */ sidl_bool _retval,
00291     /* out */ struct sidl_BaseInterface__object **_ex);
00292   void (*f_createTypeMap_post)(
00293     /* in */ struct ccaffeine_AbstractFramework__object* self,
00294     /* in */ struct gov_cca_TypeMap__object* _retval,
00295     /* out */ struct sidl_BaseInterface__object **_ex);
00296   void (*f_getServices_post)(
00297     /* in */ struct ccaffeine_AbstractFramework__object* self,
00298     /* in */ const char* selfInstanceName,
00299     /* in */ const char* selfClassName,
00300     /* in */ struct gov_cca_TypeMap__object* selfProperties,
00301     /* in */ struct gov_cca_Services__object* _retval,
00302     /* out */ struct sidl_BaseInterface__object **_ex);
00303   void (*f_releaseServices_post)(
00304     /* in */ struct ccaffeine_AbstractFramework__object* self,
00305     /* in */ struct gov_cca_Services__object* services,
00306     /* out */ struct sidl_BaseInterface__object **_ex);
00307   void (*f_shutdownFramework_post)(
00308     /* in */ struct ccaffeine_AbstractFramework__object* self,
00309     /* out */ struct sidl_BaseInterface__object **_ex);
00310   void (*f_createEmptyFramework_post)(
00311     /* in */ struct ccaffeine_AbstractFramework__object* self,
00312     /* in */ struct gov_cca_AbstractFramework__object* _retval,
00313     /* out */ struct sidl_BaseInterface__object **_ex);
00314 };
00315 
00316 /*
00317  * Declare the static method pre hooks entry point vector.
00318  */
00319 
00320 struct ccaffeine_AbstractFramework__pre_sepv {
00321   void (*f_getMPICommWorld_pre)(
00322     /* in */ int64_t fComm,
00323     /* out */ struct sidl_BaseInterface__object **_ex);
00324 };
00325 
00326 /*
00327  * Declare the static method post hooks entry point vector.
00328  */
00329 
00330 struct ccaffeine_AbstractFramework__post_sepv {
00331   void (*f_getMPICommWorld_post)(
00332     /* in */ int64_t fComm,
00333     /* in */ sidl_bool _retval,
00334     /* out */ struct sidl_BaseInterface__object **_ex);
00335 };
00336 
00337 /*
00338  * Define the controls and statistics structure.
00339  */
00340 
00341 
00342 struct ccaffeine_AbstractFramework__cstats {
00343   sidl_bool use_hooks;
00344 };
00345 
00346 /*
00347  * Define the class object structure.
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  * This function returns a pointer to a static structure of
00371  * pointers to function entry points.  Its purpose is to provide
00372  * one-stop shopping for loading DLLs.
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  * Define static structure options.
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