CCAFFEINE
0.8.8
|
00001 /* 00002 * File: ccafe6_TestMPI_IOR.h 00003 * Symbol: ccafe6.TestMPI-v0.0 00004 * Symbol Type: class 00005 * Babel Version: 1.4.0 00006 * Description: Intermediate Object Representation for ccafe6.TestMPI 00007 * 00008 * WARNING: Automatically generated; changes will be lost 00009 * 00010 */ 00011 00012 #ifndef included_ccafe6_TestMPI_IOR_h 00013 #define included_ccafe6_TestMPI_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_Component_IOR_h 00020 #include "gov_cca_Component_IOR.h" 00021 #endif 00022 #ifndef included_gov_cca_ComponentRelease_IOR_h 00023 #include "gov_cca_ComponentRelease_IOR.h" 00024 #endif 00025 #ifndef included_gov_cca_Port_IOR_h 00026 #include "gov_cca_Port_IOR.h" 00027 #endif 00028 #ifndef included_gov_cca_ports_GoPort_IOR_h 00029 #include "gov_cca_ports_GoPort_IOR.h" 00030 #endif 00031 #ifndef included_sidl_BaseClass_IOR_h 00032 #include "sidl_BaseClass_IOR.h" 00033 #endif 00034 00035 #ifdef __cplusplus 00036 extern "C" { 00037 #endif 00038 00039 /* 00040 * Symbol "ccafe6.TestMPI" (version 0.0) 00041 * 00042 * Test mpiborrow and mpiservice. 00043 */ 00044 00045 struct ccafe6_TestMPI__array; 00046 struct ccafe6_TestMPI__object; 00047 00048 /* 00049 * Forward references for external classes and interfaces. 00050 */ 00051 00052 struct gov_cca_CCAException__array; 00053 struct gov_cca_CCAException__object; 00054 struct gov_cca_Services__array; 00055 struct gov_cca_Services__object; 00056 struct sidl_BaseException__array; 00057 struct sidl_BaseException__object; 00058 struct sidl_BaseInterface__array; 00059 struct sidl_BaseInterface__object; 00060 struct sidl_ClassInfo__array; 00061 struct sidl_ClassInfo__object; 00062 struct sidl_RuntimeException__array; 00063 struct sidl_RuntimeException__object; 00064 struct sidl_rmi_Call__array; 00065 struct sidl_rmi_Call__object; 00066 struct sidl_rmi_Return__array; 00067 struct sidl_rmi_Return__object; 00068 00069 /* 00070 * Declare the method entry point vector. 00071 */ 00072 00073 struct ccafe6_TestMPI__epv { 00074 /* Implicit builtin methods */ 00075 /* 0 */ 00076 void* (*f__cast)( 00077 /* in */ struct ccafe6_TestMPI__object* self, 00078 /* in */ const char* name, 00079 /* out */ struct sidl_BaseInterface__object **_ex); 00080 /* 1 */ 00081 void (*f__delete)( 00082 /* in */ struct ccafe6_TestMPI__object* self, 00083 /* out */ struct sidl_BaseInterface__object **_ex); 00084 /* 2 */ 00085 void (*f__exec)( 00086 /* in */ struct ccafe6_TestMPI__object* self, 00087 /* in */ const char* methodName, 00088 /* in */ struct sidl_rmi_Call__object* inArgs, 00089 /* in */ struct sidl_rmi_Return__object* outArgs, 00090 /* out */ struct sidl_BaseInterface__object **_ex); 00091 /* 3 */ 00092 char* (*f__getURL)( 00093 /* in */ struct ccafe6_TestMPI__object* self, 00094 /* out */ struct sidl_BaseInterface__object **_ex); 00095 /* 4 */ 00096 void (*f__raddRef)( 00097 /* in */ struct ccafe6_TestMPI__object* self, 00098 /* out */ struct sidl_BaseInterface__object **_ex); 00099 /* 5 */ 00100 sidl_bool (*f__isRemote)( 00101 /* in */ struct ccafe6_TestMPI__object* self, 00102 /* out */ struct sidl_BaseInterface__object **_ex); 00103 /* 6 */ 00104 void (*f__set_hooks)( 00105 /* in */ struct ccafe6_TestMPI__object* self, 00106 /* in */ sidl_bool enable, 00107 /* out */ struct sidl_BaseInterface__object **_ex); 00108 /* 7 */ 00109 void (*f__set_contracts)( 00110 /* in */ struct ccafe6_TestMPI__object* self, 00111 /* in */ sidl_bool enable, 00112 /* in */ const char* enfFilename, 00113 /* in */ sidl_bool resetCounters, 00114 /* out */ struct sidl_BaseInterface__object **_ex); 00115 /* 8 */ 00116 void (*f__dump_stats)( 00117 /* in */ struct ccafe6_TestMPI__object* self, 00118 /* in */ const char* filename, 00119 /* in */ const char* prefix, 00120 /* out */ struct sidl_BaseInterface__object **_ex); 00121 /* 9 */ 00122 void (*f__ctor)( 00123 /* in */ struct ccafe6_TestMPI__object* self, 00124 /* out */ struct sidl_BaseInterface__object **_ex); 00125 /* 10 */ 00126 void (*f__ctor2)( 00127 /* in */ struct ccafe6_TestMPI__object* self, 00128 /* in */ void* private_data, 00129 /* out */ struct sidl_BaseInterface__object **_ex); 00130 /* 11 */ 00131 void (*f__dtor)( 00132 /* in */ struct ccafe6_TestMPI__object* self, 00133 /* out */ struct sidl_BaseInterface__object **_ex); 00134 /* 12 */ 00135 void (*f__load)( 00136 /* out */ struct sidl_BaseInterface__object **_ex); 00137 /* Methods introduced in sidl.BaseInterface-v0.9.17 */ 00138 void (*f_addRef)( 00139 /* in */ struct ccafe6_TestMPI__object* self, 00140 /* out */ struct sidl_BaseInterface__object **_ex); 00141 void (*f_deleteRef)( 00142 /* in */ struct ccafe6_TestMPI__object* self, 00143 /* out */ struct sidl_BaseInterface__object **_ex); 00144 sidl_bool (*f_isSame)( 00145 /* in */ struct ccafe6_TestMPI__object* self, 00146 /* in */ struct sidl_BaseInterface__object* iobj, 00147 /* out */ struct sidl_BaseInterface__object **_ex); 00148 sidl_bool (*f_isType)( 00149 /* in */ struct ccafe6_TestMPI__object* self, 00150 /* in */ const char* name, 00151 /* out */ struct sidl_BaseInterface__object **_ex); 00152 struct sidl_ClassInfo__object* (*f_getClassInfo)( 00153 /* in */ struct ccafe6_TestMPI__object* self, 00154 /* out */ struct sidl_BaseInterface__object **_ex); 00155 /* Methods introduced in sidl.BaseClass-v0.9.17 */ 00156 /* Methods introduced in gov.cca.Component-v0.8.5 */ 00157 void (*f_setServices)( 00158 /* in */ struct ccafe6_TestMPI__object* self, 00159 /* in */ struct gov_cca_Services__object* services, 00160 /* out */ struct sidl_BaseInterface__object **_ex); 00161 /* Methods introduced in gov.cca.ComponentRelease-v0.8.5 */ 00162 void (*f_releaseServices)( 00163 /* in */ struct ccafe6_TestMPI__object* self, 00164 /* in */ struct gov_cca_Services__object* services, 00165 /* out */ struct sidl_BaseInterface__object **_ex); 00166 /* Methods introduced in gov.cca.Port-v0.8.5 */ 00167 /* Methods introduced in gov.cca.ports.GoPort-v0.8.5 */ 00168 int32_t (*f_go)( 00169 /* in */ struct ccafe6_TestMPI__object* self, 00170 /* out */ struct sidl_BaseInterface__object **_ex); 00171 /* Methods introduced in ccafe6.TestMPI-v0.0 */ 00172 }; 00173 00174 /* 00175 * Declare the method pre hooks entry point vector. 00176 */ 00177 00178 struct ccafe6_TestMPI__pre_epv { 00179 void (*f_setServices_pre)( 00180 /* in */ struct ccafe6_TestMPI__object* self, 00181 /* in */ struct gov_cca_Services__object* services, 00182 /* out */ struct sidl_BaseInterface__object **_ex); 00183 void (*f_releaseServices_pre)( 00184 /* in */ struct ccafe6_TestMPI__object* self, 00185 /* in */ struct gov_cca_Services__object* services, 00186 /* out */ struct sidl_BaseInterface__object **_ex); 00187 void (*f_go_pre)( 00188 /* in */ struct ccafe6_TestMPI__object* self, 00189 /* out */ struct sidl_BaseInterface__object **_ex); 00190 }; 00191 00192 /* 00193 * Declare the method post hooks entry point vector. 00194 */ 00195 00196 struct ccafe6_TestMPI__post_epv { 00197 void (*f_setServices_post)( 00198 /* in */ struct ccafe6_TestMPI__object* self, 00199 /* in */ struct gov_cca_Services__object* services, 00200 /* out */ struct sidl_BaseInterface__object **_ex); 00201 void (*f_releaseServices_post)( 00202 /* in */ struct ccafe6_TestMPI__object* self, 00203 /* in */ struct gov_cca_Services__object* services, 00204 /* out */ struct sidl_BaseInterface__object **_ex); 00205 void (*f_go_post)( 00206 /* in */ struct ccafe6_TestMPI__object* self, 00207 /* in */ int32_t _retval, 00208 /* out */ struct sidl_BaseInterface__object **_ex); 00209 }; 00210 00211 /* 00212 * Define the controls and statistics structure. 00213 */ 00214 00215 00216 struct ccafe6_TestMPI__cstats { 00217 sidl_bool use_hooks; 00218 }; 00219 00220 /* 00221 * Define the class object structure. 00222 */ 00223 00224 struct ccafe6_TestMPI__object { 00225 struct sidl_BaseClass__object d_sidl_baseclass; 00226 struct gov_cca_Component__object d_gov_cca_component; 00227 struct gov_cca_ComponentRelease__object d_gov_cca_componentrelease; 00228 struct gov_cca_Port__object d_gov_cca_port; 00229 struct gov_cca_ports_GoPort__object d_gov_cca_ports_goport; 00230 struct ccafe6_TestMPI__epv* d_epv; 00231 struct ccafe6_TestMPI__cstats d_cstats; 00232 void* d_data; 00233 }; 00234 00235 struct ccafe6_TestMPI__external { 00236 struct ccafe6_TestMPI__object* 00237 (*createObject)(void* ddata, struct sidl_BaseInterface__object **_ex); 00238 00239 struct sidl_BaseClass__epv*(*getSuperEPV)(void); 00240 int d_ior_major_version; 00241 int d_ior_minor_version; 00242 }; 00243 00244 /* 00245 * This function returns a pointer to a static structure of 00246 * pointers to function entry points. Its purpose is to provide 00247 * one-stop shopping for loading DLLs. 00248 */ 00249 00250 const struct ccafe6_TestMPI__external* 00251 ccafe6_TestMPI__externals(void); 00252 00253 extern struct ccafe6_TestMPI__object* 00254 ccafe6_TestMPI__createObject(void* ddata,struct sidl_BaseInterface__object ** 00255 _ex); 00256 00257 extern void ccafe6_TestMPI__init( 00258 struct ccafe6_TestMPI__object* self, void* ddata, struct 00259 sidl_BaseInterface__object ** _ex); 00260 00261 extern void ccafe6_TestMPI__getEPVs( 00262 struct sidl_BaseInterface__epv **s_arg_epv__sidl_baseinterface, 00263 struct sidl_BaseClass__epv **s_arg_epv__sidl_baseclass, 00264 struct gov_cca_Component__epv **s_arg_epv__gov_cca_component, 00265 struct gov_cca_Component__epv **s_arg_epv_hooks__gov_cca_component, 00266 struct gov_cca_ComponentRelease__epv **s_arg_epv__gov_cca_componentrelease, 00267 struct gov_cca_ComponentRelease__epv 00268 **s_arg_epv_hooks__gov_cca_componentrelease, 00269 struct gov_cca_Port__epv **s_arg_epv__gov_cca_port, 00270 struct gov_cca_Port__epv **s_arg_epv_hooks__gov_cca_port, 00271 struct gov_cca_ports_GoPort__epv **s_arg_epv__gov_cca_ports_goport, 00272 struct gov_cca_ports_GoPort__epv **s_arg_epv_hooks__gov_cca_ports_goport, 00273 struct ccafe6_TestMPI__epv **s_arg_epv__ccafe6_testmpi, 00274 struct ccafe6_TestMPI__epv **s_arg_epv_hooks__ccafe6_testmpi); 00275 00276 extern void ccafe6_TestMPI__fini( 00277 struct ccafe6_TestMPI__object* self, struct sidl_BaseInterface__object ** 00278 _ex); 00279 00280 extern void ccafe6_TestMPI__IOR_version(int32_t *major, int32_t *minor); 00281 00282 struct gov_cca_Services__object* skel_ccafe6_TestMPI_fconnect_gov_cca_Services( 00283 const char* url, sidl_bool ar, struct sidl_BaseInterface__object * *_ex); 00284 struct sidl_BaseInterface__object* 00285 skel_ccafe6_TestMPI_fconnect_sidl_BaseInterface(const char* url, sidl_bool ar, 00286 struct sidl_BaseInterface__object * *_ex); 00287 struct ccafe6_TestMPI__remote{ 00288 int d_refcount; 00289 struct sidl_rmi_InstanceHandle__object *d_ih; 00290 }; 00291 00292 #ifdef __cplusplus 00293 } 00294 #endif 00295 #endif