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