CCAFFEINE
0.8.8
|
00001 /* 00002 * File: test_script_babel_PrivateRepository_IOR.h 00003 * Symbol: test.script.babel.PrivateRepository-v0.0 00004 * Symbol Type: class 00005 * Babel Version: 1.4.0 00006 * Description: Intermediate Object Representation for test.script.babel.PrivateRepository 00007 * 00008 * WARNING: Automatically generated; changes will be lost 00009 * 00010 */ 00011 00012 #ifndef included_test_script_babel_PrivateRepository_IOR_h 00013 #define included_test_script_babel_PrivateRepository_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_ComponentFactory_IOR_h 00020 #include "ccaffeine_ports_ComponentFactory_IOR.h" 00021 #endif 00022 #ifndef included_gov_cca_Port_IOR_h 00023 #include "gov_cca_Port_IOR.h" 00024 #endif 00025 #ifndef included_gov_cca_ports_ComponentRepository_IOR_h 00026 #include "gov_cca_ports_ComponentRepository_IOR.h" 00027 #endif 00028 #ifndef included_sidl_BaseClass_IOR_h 00029 #include "sidl_BaseClass_IOR.h" 00030 #endif 00031 00032 #ifdef __cplusplus 00033 extern "C" { 00034 #endif 00035 00036 /* 00037 * Symbol "test.script.babel.PrivateRepository" (version 0.0) 00038 */ 00039 00040 struct test_script_babel_PrivateRepository__array; 00041 struct test_script_babel_PrivateRepository__object; 00042 00043 /* 00044 * Forward references for external classes and interfaces. 00045 */ 00046 00047 struct gov_cca_CCAException__array; 00048 struct gov_cca_CCAException__object; 00049 struct gov_cca_Component__array; 00050 struct gov_cca_Component__object; 00051 struct gov_cca_ComponentClassDescription__array; 00052 struct gov_cca_ComponentClassDescription__object; 00053 struct sidl_BaseException__array; 00054 struct sidl_BaseException__object; 00055 struct sidl_BaseInterface__array; 00056 struct sidl_BaseInterface__object; 00057 struct sidl_ClassInfo__array; 00058 struct sidl_ClassInfo__object; 00059 struct sidl_RuntimeException__array; 00060 struct sidl_RuntimeException__object; 00061 struct sidl_rmi_Call__array; 00062 struct sidl_rmi_Call__object; 00063 struct sidl_rmi_Return__array; 00064 struct sidl_rmi_Return__object; 00065 00066 /* 00067 * Declare the method entry point vector. 00068 */ 00069 00070 struct test_script_babel_PrivateRepository__epv { 00071 /* Implicit builtin methods */ 00072 /* 0 */ 00073 void* (*f__cast)( 00074 /* in */ struct test_script_babel_PrivateRepository__object* self, 00075 /* in */ const char* name, 00076 /* out */ struct sidl_BaseInterface__object **_ex); 00077 /* 1 */ 00078 void (*f__delete)( 00079 /* in */ struct test_script_babel_PrivateRepository__object* self, 00080 /* out */ struct sidl_BaseInterface__object **_ex); 00081 /* 2 */ 00082 void (*f__exec)( 00083 /* in */ struct test_script_babel_PrivateRepository__object* self, 00084 /* in */ const char* methodName, 00085 /* in */ struct sidl_rmi_Call__object* inArgs, 00086 /* in */ struct sidl_rmi_Return__object* outArgs, 00087 /* out */ struct sidl_BaseInterface__object **_ex); 00088 /* 3 */ 00089 char* (*f__getURL)( 00090 /* in */ struct test_script_babel_PrivateRepository__object* self, 00091 /* out */ struct sidl_BaseInterface__object **_ex); 00092 /* 4 */ 00093 void (*f__raddRef)( 00094 /* in */ struct test_script_babel_PrivateRepository__object* self, 00095 /* out */ struct sidl_BaseInterface__object **_ex); 00096 /* 5 */ 00097 sidl_bool (*f__isRemote)( 00098 /* in */ struct test_script_babel_PrivateRepository__object* self, 00099 /* out */ struct sidl_BaseInterface__object **_ex); 00100 /* 6 */ 00101 void (*f__set_hooks)( 00102 /* in */ struct test_script_babel_PrivateRepository__object* self, 00103 /* in */ sidl_bool enable, 00104 /* out */ struct sidl_BaseInterface__object **_ex); 00105 /* 7 */ 00106 void (*f__set_contracts)( 00107 /* in */ struct test_script_babel_PrivateRepository__object* self, 00108 /* in */ sidl_bool enable, 00109 /* in */ const char* enfFilename, 00110 /* in */ sidl_bool resetCounters, 00111 /* out */ struct sidl_BaseInterface__object **_ex); 00112 /* 8 */ 00113 void (*f__dump_stats)( 00114 /* in */ struct test_script_babel_PrivateRepository__object* self, 00115 /* in */ const char* filename, 00116 /* in */ const char* prefix, 00117 /* out */ struct sidl_BaseInterface__object **_ex); 00118 /* 9 */ 00119 void (*f__ctor)( 00120 /* in */ struct test_script_babel_PrivateRepository__object* self, 00121 /* out */ struct sidl_BaseInterface__object **_ex); 00122 /* 10 */ 00123 void (*f__ctor2)( 00124 /* in */ struct test_script_babel_PrivateRepository__object* self, 00125 /* in */ void* private_data, 00126 /* out */ struct sidl_BaseInterface__object **_ex); 00127 /* 11 */ 00128 void (*f__dtor)( 00129 /* in */ struct test_script_babel_PrivateRepository__object* self, 00130 /* out */ struct sidl_BaseInterface__object **_ex); 00131 /* 12 */ 00132 void (*f__load)( 00133 /* out */ struct sidl_BaseInterface__object **_ex); 00134 /* Methods introduced in sidl.BaseInterface-v0.9.17 */ 00135 void (*f_addRef)( 00136 /* in */ struct test_script_babel_PrivateRepository__object* self, 00137 /* out */ struct sidl_BaseInterface__object **_ex); 00138 void (*f_deleteRef)( 00139 /* in */ struct test_script_babel_PrivateRepository__object* self, 00140 /* out */ struct sidl_BaseInterface__object **_ex); 00141 sidl_bool (*f_isSame)( 00142 /* in */ struct test_script_babel_PrivateRepository__object* self, 00143 /* in */ struct sidl_BaseInterface__object* iobj, 00144 /* out */ struct sidl_BaseInterface__object **_ex); 00145 sidl_bool (*f_isType)( 00146 /* in */ struct test_script_babel_PrivateRepository__object* self, 00147 /* in */ const char* name, 00148 /* out */ struct sidl_BaseInterface__object **_ex); 00149 struct sidl_ClassInfo__object* (*f_getClassInfo)( 00150 /* in */ struct test_script_babel_PrivateRepository__object* self, 00151 /* out */ struct sidl_BaseInterface__object **_ex); 00152 /* Methods introduced in sidl.BaseClass-v0.9.17 */ 00153 /* Methods introduced in gov.cca.Port-v0.8.5 */ 00154 /* Methods introduced in gov.cca.ports.ComponentRepository-v0.8.5 */ 00155 struct gov_cca_ComponentClassDescription__array* ( 00156 *f_getAvailableComponentClasses)( 00157 /* in */ struct test_script_babel_PrivateRepository__object* self, 00158 /* out */ struct sidl_BaseInterface__object **_ex); 00159 /* Methods introduced in ccaffeine.ports.ComponentFactory-v0.3 */ 00160 struct gov_cca_Component__object* (*f_createComponentInstance)( 00161 /* in */ struct test_script_babel_PrivateRepository__object* self, 00162 /* in */ const char* className, 00163 /* out */ struct sidl_BaseInterface__object **_ex); 00164 void (*f_destroyComponentInstance)( 00165 /* in */ struct test_script_babel_PrivateRepository__object* self, 00166 /* in */ const char* className, 00167 /* in */ struct gov_cca_Component__object* c, 00168 /* out */ struct sidl_BaseInterface__object **_ex); 00169 /* Methods introduced in test.script.babel.PrivateRepository-v0.0 */ 00170 void (*f_addDescription)( 00171 /* in */ struct test_script_babel_PrivateRepository__object* self, 00172 /* in */ const char* className, 00173 /* in */ const char* classAlias, 00174 /* out */ struct sidl_BaseInterface__object **_ex); 00175 }; 00176 00177 /* 00178 * Declare the method pre hooks entry point vector. 00179 */ 00180 00181 struct test_script_babel_PrivateRepository__pre_epv { 00182 void (*f_addDescription_pre)( 00183 /* in */ struct test_script_babel_PrivateRepository__object* self, 00184 /* in */ const char* className, 00185 /* in */ const char* classAlias, 00186 /* out */ struct sidl_BaseInterface__object **_ex); 00187 void (*f_getAvailableComponentClasses_pre)( 00188 /* in */ struct test_script_babel_PrivateRepository__object* self, 00189 /* out */ struct sidl_BaseInterface__object **_ex); 00190 void (*f_createComponentInstance_pre)( 00191 /* in */ struct test_script_babel_PrivateRepository__object* self, 00192 /* in */ const char* className, 00193 /* out */ struct sidl_BaseInterface__object **_ex); 00194 void (*f_destroyComponentInstance_pre)( 00195 /* in */ struct test_script_babel_PrivateRepository__object* self, 00196 /* in */ const char* className, 00197 /* in */ struct gov_cca_Component__object* c, 00198 /* out */ struct sidl_BaseInterface__object **_ex); 00199 }; 00200 00201 /* 00202 * Declare the method post hooks entry point vector. 00203 */ 00204 00205 struct test_script_babel_PrivateRepository__post_epv { 00206 void (*f_addDescription_post)( 00207 /* in */ struct test_script_babel_PrivateRepository__object* self, 00208 /* in */ const char* className, 00209 /* in */ const char* classAlias, 00210 /* out */ struct sidl_BaseInterface__object **_ex); 00211 void (*f_getAvailableComponentClasses_post)( 00212 /* in */ struct test_script_babel_PrivateRepository__object* self, 00213 /* in array<gov.cca.ComponentClassDescription> */ struct 00214 gov_cca_ComponentClassDescription__array* _retval, 00215 /* out */ struct sidl_BaseInterface__object **_ex); 00216 void (*f_createComponentInstance_post)( 00217 /* in */ struct test_script_babel_PrivateRepository__object* self, 00218 /* in */ const char* className, 00219 /* in */ struct gov_cca_Component__object* _retval, 00220 /* out */ struct sidl_BaseInterface__object **_ex); 00221 void (*f_destroyComponentInstance_post)( 00222 /* in */ struct test_script_babel_PrivateRepository__object* self, 00223 /* in */ const char* className, 00224 /* in */ struct gov_cca_Component__object* c, 00225 /* out */ struct sidl_BaseInterface__object **_ex); 00226 }; 00227 00228 /* 00229 * Define the controls and statistics structure. 00230 */ 00231 00232 00233 struct test_script_babel_PrivateRepository__cstats { 00234 sidl_bool use_hooks; 00235 }; 00236 00237 /* 00238 * Define the class object structure. 00239 */ 00240 00241 struct test_script_babel_PrivateRepository__object { 00242 struct sidl_BaseClass__object d_sidl_baseclass; 00243 struct ccaffeine_ports_ComponentFactory__object 00244 d_ccaffeine_ports_componentfactory; 00245 struct gov_cca_Port__object d_gov_cca_port; 00246 struct gov_cca_ports_ComponentRepository__object 00247 d_gov_cca_ports_componentrepository; 00248 struct test_script_babel_PrivateRepository__epv* d_epv; 00249 struct test_script_babel_PrivateRepository__cstats d_cstats; 00250 void* d_data; 00251 }; 00252 00253 struct test_script_babel_PrivateRepository__external { 00254 struct test_script_babel_PrivateRepository__object* 00255 (*createObject)(void* ddata, struct sidl_BaseInterface__object **_ex); 00256 00257 struct sidl_BaseClass__epv*(*getSuperEPV)(void); 00258 int d_ior_major_version; 00259 int d_ior_minor_version; 00260 }; 00261 00262 /* 00263 * This function returns a pointer to a static structure of 00264 * pointers to function entry points. Its purpose is to provide 00265 * one-stop shopping for loading DLLs. 00266 */ 00267 00268 const struct test_script_babel_PrivateRepository__external* 00269 test_script_babel_PrivateRepository__externals(void); 00270 00271 extern struct test_script_babel_PrivateRepository__object* 00272 test_script_babel_PrivateRepository__createObject(void* ddata,struct 00273 sidl_BaseInterface__object ** _ex); 00274 00275 extern void test_script_babel_PrivateRepository__init( 00276 struct test_script_babel_PrivateRepository__object* self, void* ddata, struct 00277 sidl_BaseInterface__object ** _ex); 00278 00279 extern void test_script_babel_PrivateRepository__getEPVs( 00280 struct sidl_BaseInterface__epv **s_arg_epv__sidl_baseinterface, 00281 struct sidl_BaseClass__epv **s_arg_epv__sidl_baseclass, 00282 struct ccaffeine_ports_ComponentFactory__epv 00283 **s_arg_epv__ccaffeine_ports_componentfactory, 00284 struct ccaffeine_ports_ComponentFactory__epv 00285 **s_arg_epv_hooks__ccaffeine_ports_componentfactory, 00286 struct gov_cca_Port__epv **s_arg_epv__gov_cca_port, 00287 struct gov_cca_Port__epv **s_arg_epv_hooks__gov_cca_port, 00288 struct gov_cca_ports_ComponentRepository__epv 00289 **s_arg_epv__gov_cca_ports_componentrepository, 00290 struct gov_cca_ports_ComponentRepository__epv 00291 **s_arg_epv_hooks__gov_cca_ports_componentrepository, 00292 struct test_script_babel_PrivateRepository__epv 00293 **s_arg_epv__test_script_babel_privaterepository, 00294 struct test_script_babel_PrivateRepository__epv 00295 **s_arg_epv_hooks__test_script_babel_privaterepository); 00296 00297 extern void test_script_babel_PrivateRepository__fini( 00298 struct test_script_babel_PrivateRepository__object* self, struct 00299 sidl_BaseInterface__object ** _ex); 00300 00301 extern void test_script_babel_PrivateRepository__IOR_version(int32_t *major, 00302 int32_t *minor); 00303 00304 struct gov_cca_Component__object* 00305 skel_test_script_babel_PrivateRepository_fconnect_gov_cca_Component(const 00306 char* url, sidl_bool ar, struct sidl_BaseInterface__object * *_ex); 00307 struct sidl_BaseInterface__object* 00308 skel_test_script_babel_PrivateRepository_fconnect_sidl_BaseInterface(const 00309 char* url, sidl_bool ar, struct sidl_BaseInterface__object * *_ex); 00310 struct test_script_babel_PrivateRepository__remote{ 00311 int d_refcount; 00312 struct sidl_rmi_InstanceHandle__object *d_ih; 00313 }; 00314 00315 #ifdef __cplusplus 00316 } 00317 #endif 00318 #endif