00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #ifndef included_ccaffeine_ports_ComponentFactory_IOR_h
00013 #define included_ccaffeine_ports_ComponentFactory_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_Port_IOR_h
00020 #include "gov_cca_Port_IOR.h"
00021 #endif
00022 #ifndef included_gov_cca_ports_ComponentRepository_IOR_h
00023 #include "gov_cca_ports_ComponentRepository_IOR.h"
00024 #endif
00025 #ifndef included_sidl_BaseInterface_IOR_h
00026 #include "sidl_BaseInterface_IOR.h"
00027 #endif
00028
00029 #ifdef __cplusplus
00030 extern "C" {
00031 #endif
00032
00033
00034
00035
00036
00037 struct ccaffeine_ports_ComponentFactory__array;
00038 struct ccaffeine_ports_ComponentFactory__object;
00039
00040
00041
00042
00043
00044 struct gov_cca_CCAException__array;
00045 struct gov_cca_CCAException__object;
00046 struct gov_cca_Component__array;
00047 struct gov_cca_Component__object;
00048 struct gov_cca_ComponentClassDescription__array;
00049 struct gov_cca_ComponentClassDescription__object;
00050 struct sidl_BaseException__array;
00051 struct sidl_BaseException__object;
00052 struct sidl_ClassInfo__array;
00053 struct sidl_ClassInfo__object;
00054 struct sidl_RuntimeException__array;
00055 struct sidl_RuntimeException__object;
00056 struct sidl_rmi_Call__array;
00057 struct sidl_rmi_Call__object;
00058 struct sidl_rmi_Return__array;
00059 struct sidl_rmi_Return__object;
00060
00061
00062
00063
00064
00065 struct ccaffeine_ports_ComponentFactory__epv {
00066
00067
00068 void* (*f__cast)(
00069 void* self,
00070 const char* name,
00071 struct sidl_BaseInterface__object **_ex);
00072
00073 void (*f__delete)(
00074 void* self,
00075 struct sidl_BaseInterface__object **_ex);
00076
00077 void (*f__exec)(
00078 void* self,
00079 const char* methodName,
00080 struct sidl_rmi_Call__object* inArgs,
00081 struct sidl_rmi_Return__object* outArgs,
00082 struct sidl_BaseInterface__object **_ex);
00083
00084 char* (*f__getURL)(
00085 void* self,
00086 struct sidl_BaseInterface__object **_ex);
00087
00088 void (*f__raddRef)(
00089 void* self,
00090 struct sidl_BaseInterface__object **_ex);
00091
00092 sidl_bool (*f__isRemote)(
00093 void* self,
00094 struct sidl_BaseInterface__object **_ex);
00095
00096 void (*f__set_hooks)(
00097 void* self,
00098 sidl_bool enable,
00099 struct sidl_BaseInterface__object **_ex);
00100
00101 void (*f__set_contracts)(
00102 void* self,
00103 sidl_bool enable,
00104 const char* enfFilename,
00105 sidl_bool resetCounters,
00106 struct sidl_BaseInterface__object **_ex);
00107
00108 void (*f__dump_stats)(
00109 void* self,
00110 const char* filename,
00111 const char* prefix,
00112 struct sidl_BaseInterface__object **_ex);
00113
00114 void (*f_addRef)(
00115 void* self,
00116 struct sidl_BaseInterface__object **_ex);
00117 void (*f_deleteRef)(
00118 void* self,
00119 struct sidl_BaseInterface__object **_ex);
00120 sidl_bool (*f_isSame)(
00121 void* self,
00122 struct sidl_BaseInterface__object* iobj,
00123 struct sidl_BaseInterface__object **_ex);
00124 sidl_bool (*f_isType)(
00125 void* self,
00126 const char* name,
00127 struct sidl_BaseInterface__object **_ex);
00128 struct sidl_ClassInfo__object* (*f_getClassInfo)(
00129 void* self,
00130 struct sidl_BaseInterface__object **_ex);
00131
00132
00133 struct gov_cca_ComponentClassDescription__array* (
00134 *f_getAvailableComponentClasses)(
00135 void* self,
00136 struct sidl_BaseInterface__object **_ex);
00137
00138 struct gov_cca_Component__object* (*f_createComponentInstance)(
00139 void* self,
00140 const char* className,
00141 struct sidl_BaseInterface__object **_ex);
00142 void (*f_destroyComponentInstance)(
00143 void* self,
00144 const char* className,
00145 struct gov_cca_Component__object* c,
00146 struct sidl_BaseInterface__object **_ex);
00147 };
00148
00149
00150
00151
00152
00153 struct ccaffeine_ports_ComponentFactory__pre_epv {
00154 void (*f_createComponentInstance_pre)(
00155 void* self,
00156 const char* className,
00157 struct sidl_BaseInterface__object **_ex);
00158 void (*f_destroyComponentInstance_pre)(
00159 void* self,
00160 const char* className,
00161 struct gov_cca_Component__object* c,
00162 struct sidl_BaseInterface__object **_ex);
00163 };
00164
00165
00166
00167
00168
00169 struct ccaffeine_ports_ComponentFactory__post_epv {
00170 void (*f_createComponentInstance_post)(
00171 void* self,
00172 const char* className,
00173 struct gov_cca_Component__object* _retval,
00174 struct sidl_BaseInterface__object **_ex);
00175 void (*f_destroyComponentInstance_post)(
00176 void* self,
00177 const char* className,
00178 struct gov_cca_Component__object* c,
00179 struct sidl_BaseInterface__object **_ex);
00180 };
00181
00182
00183
00184
00185
00186 struct ccaffeine_ports_ComponentFactory__object {
00187 struct ccaffeine_ports_ComponentFactory__epv* d_epv;
00188 void* d_object;
00189 };
00190
00198
00199
00200
00201
00202 struct ccaffeine_ports__ComponentFactory__array;
00203 struct ccaffeine_ports__ComponentFactory__object;
00204
00205
00206
00207
00208
00209 struct ccaffeine_ports__ComponentFactory__epv {
00210
00211 void* (*f__cast)(
00212 struct ccaffeine_ports__ComponentFactory__object* self,
00213 const char* name,
00214 struct sidl_BaseInterface__object **_ex);
00215 void (*f__delete)(
00216 struct ccaffeine_ports__ComponentFactory__object* self,
00217 struct sidl_BaseInterface__object **_ex);
00218 void (*f__exec)(
00219 struct ccaffeine_ports__ComponentFactory__object* self,
00220 const char* methodName,
00221 struct sidl_rmi_Call__object* inArgs,
00222 struct sidl_rmi_Return__object* outArgs,
00223 struct sidl_BaseInterface__object **_ex);
00224 char* (*f__getURL)(
00225 struct ccaffeine_ports__ComponentFactory__object* self,
00226 struct sidl_BaseInterface__object **_ex);
00227 void (*f__raddRef)(
00228 struct ccaffeine_ports__ComponentFactory__object* self,
00229 struct sidl_BaseInterface__object **_ex);
00230 sidl_bool (*f__isRemote)(
00231 struct ccaffeine_ports__ComponentFactory__object* self,
00232 struct sidl_BaseInterface__object **_ex);
00233 void (*f__set_hooks)(
00234 struct ccaffeine_ports__ComponentFactory__object* self,
00235 sidl_bool enable,
00236 struct sidl_BaseInterface__object **_ex);
00237 void (*f__set_contracts)(
00238 struct ccaffeine_ports__ComponentFactory__object* self,
00239 sidl_bool enable,
00240 const char* enfFilename,
00241 sidl_bool resetCounters,
00242 struct sidl_BaseInterface__object **_ex);
00243 void (*f__dump_stats)(
00244 struct ccaffeine_ports__ComponentFactory__object* self,
00245 const char* filename,
00246 const char* prefix,
00247 struct sidl_BaseInterface__object **_ex);
00248 void (*f__ctor)(
00249 struct ccaffeine_ports__ComponentFactory__object* self,
00250 struct sidl_BaseInterface__object **_ex);
00251 void (*f__ctor2)(
00252 struct ccaffeine_ports__ComponentFactory__object* self,
00253 void* private_data,
00254 struct sidl_BaseInterface__object **_ex);
00255 void (*f__dtor)(
00256 struct ccaffeine_ports__ComponentFactory__object* self,
00257 struct sidl_BaseInterface__object **_ex);
00258
00259 void (*f_addRef)(
00260 struct ccaffeine_ports__ComponentFactory__object* self,
00261 struct sidl_BaseInterface__object **_ex);
00262 void (*f_deleteRef)(
00263 struct ccaffeine_ports__ComponentFactory__object* self,
00264 struct sidl_BaseInterface__object **_ex);
00265 sidl_bool (*f_isSame)(
00266 struct ccaffeine_ports__ComponentFactory__object* self,
00267 struct sidl_BaseInterface__object* iobj,
00268 struct sidl_BaseInterface__object **_ex);
00269 sidl_bool (*f_isType)(
00270 struct ccaffeine_ports__ComponentFactory__object* self,
00271 const char* name,
00272 struct sidl_BaseInterface__object **_ex);
00273 struct sidl_ClassInfo__object* (*f_getClassInfo)(
00274 struct ccaffeine_ports__ComponentFactory__object* self,
00275 struct sidl_BaseInterface__object **_ex);
00276
00277
00278 struct gov_cca_ComponentClassDescription__array* (
00279 *f_getAvailableComponentClasses)(
00280 struct ccaffeine_ports__ComponentFactory__object* self,
00281 struct sidl_BaseInterface__object **_ex);
00282
00283 struct gov_cca_Component__object* (*f_createComponentInstance)(
00284 struct ccaffeine_ports__ComponentFactory__object* self,
00285 const char* className,
00286 struct sidl_BaseInterface__object **_ex);
00287 void (*f_destroyComponentInstance)(
00288 struct ccaffeine_ports__ComponentFactory__object* self,
00289 const char* className,
00290 struct gov_cca_Component__object* c,
00291 struct sidl_BaseInterface__object **_ex);
00292
00293 };
00294
00295
00296
00297
00298
00299
00300 struct ccaffeine_ports__ComponentFactory__cstats {
00301 sidl_bool use_hooks;
00302 };
00303
00304
00305
00306
00307
00308 struct ccaffeine_ports__ComponentFactory__object {
00309 struct ccaffeine_ports_ComponentFactory__object
00310 d_ccaffeine_ports_componentfactory;
00311 struct gov_cca_Port__object d_gov_cca_port;
00312 struct gov_cca_ports_ComponentRepository__object
00313 d_gov_cca_ports_componentrepository;
00314 struct sidl_BaseInterface__object d_sidl_baseinterface;
00315 struct ccaffeine_ports__ComponentFactory__epv* d_epv;
00316 void* d_data;
00317 };
00318
00319
00320 struct ccaffeine_ports__ComponentFactory__remote{
00321 int d_refcount;
00322 struct sidl_rmi_InstanceHandle__object *d_ih;
00323 };
00324
00325 #ifdef __cplusplus
00326 }
00327 #endif
00328 #endif