CCAFFEINE  0.8.8
ccaffeine_ports_ComponentFactory_IOR.h
00001 /*
00002  * File:          ccaffeine_ports_ComponentFactory_IOR.h
00003  * Symbol:        ccaffeine.ports.ComponentFactory-v0.3
00004  * Symbol Type:   interface
00005  * Babel Version: 1.4.0
00006  * Description:   Intermediate Object Representation for ccaffeine.ports.ComponentFactory
00007  * 
00008  * WARNING: Automatically generated; changes will be lost
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  * Symbol "ccaffeine.ports.ComponentFactory" (version 0.3)
00035  */
00036 
00037 struct ccaffeine_ports_ComponentFactory__array;
00038 struct ccaffeine_ports_ComponentFactory__object;
00039 
00040 /*
00041  * Forward references for external classes and interfaces.
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  * Declare the method entry point vector.
00063  */
00064 
00065 struct ccaffeine_ports_ComponentFactory__epv {
00066   /* Implicit builtin methods */
00067   /* 0 */
00068   void* (*f__cast)(
00069     /* in */ void* self,
00070     /* in */ const char* name,
00071     /* out */ struct sidl_BaseInterface__object **_ex);
00072   /* 1 */
00073   void (*f__delete)(
00074     /* in */ void* self,
00075     /* out */ struct sidl_BaseInterface__object **_ex);
00076   /* 2 */
00077   void (*f__exec)(
00078     /* in */ void* self,
00079     /* in */ const char* methodName,
00080     /* in */ struct sidl_rmi_Call__object* inArgs,
00081     /* in */ struct sidl_rmi_Return__object* outArgs,
00082     /* out */ struct sidl_BaseInterface__object **_ex);
00083   /* 3 */
00084   char* (*f__getURL)(
00085     /* in */ void* self,
00086     /* out */ struct sidl_BaseInterface__object **_ex);
00087   /* 4 */
00088   void (*f__raddRef)(
00089     /* in */ void* self,
00090     /* out */ struct sidl_BaseInterface__object **_ex);
00091   /* 5 */
00092   sidl_bool (*f__isRemote)(
00093     /* in */ void* self,
00094     /* out */ struct sidl_BaseInterface__object **_ex);
00095   /* 6 */
00096   void (*f__set_hooks)(
00097     /* in */ void* self,
00098     /* in */ sidl_bool enable,
00099     /* out */ struct sidl_BaseInterface__object **_ex);
00100   /* 7 */
00101   void (*f__set_contracts)(
00102     /* in */ void* self,
00103     /* in */ sidl_bool enable,
00104     /* in */ const char* enfFilename,
00105     /* in */ sidl_bool resetCounters,
00106     /* out */ struct sidl_BaseInterface__object **_ex);
00107   /* 8 */
00108   void (*f__dump_stats)(
00109     /* in */ void* self,
00110     /* in */ const char* filename,
00111     /* in */ const char* prefix,
00112     /* out */ struct sidl_BaseInterface__object **_ex);
00113   /* Methods introduced in sidl.BaseInterface-v0.9.17 */
00114   void (*f_addRef)(
00115     /* in */ void* self,
00116     /* out */ struct sidl_BaseInterface__object **_ex);
00117   void (*f_deleteRef)(
00118     /* in */ void* self,
00119     /* out */ struct sidl_BaseInterface__object **_ex);
00120   sidl_bool (*f_isSame)(
00121     /* in */ void* self,
00122     /* in */ struct sidl_BaseInterface__object* iobj,
00123     /* out */ struct sidl_BaseInterface__object **_ex);
00124   sidl_bool (*f_isType)(
00125     /* in */ void* self,
00126     /* in */ const char* name,
00127     /* out */ struct sidl_BaseInterface__object **_ex);
00128   struct sidl_ClassInfo__object* (*f_getClassInfo)(
00129     /* in */ void* self,
00130     /* out */ struct sidl_BaseInterface__object **_ex);
00131   /* Methods introduced in gov.cca.Port-v0.8.5 */
00132   /* Methods introduced in gov.cca.ports.ComponentRepository-v0.8.5 */
00133   struct gov_cca_ComponentClassDescription__array* (
00134     *f_getAvailableComponentClasses)(
00135     /* in */ void* self,
00136     /* out */ struct sidl_BaseInterface__object **_ex);
00137   /* Methods introduced in ccaffeine.ports.ComponentFactory-v0.3 */
00138   struct gov_cca_Component__object* (*f_createComponentInstance)(
00139     /* in */ void* self,
00140     /* in */ const char* className,
00141     /* out */ struct sidl_BaseInterface__object **_ex);
00142   void (*f_destroyComponentInstance)(
00143     /* in */ void* self,
00144     /* in */ const char* className,
00145     /* in */ struct gov_cca_Component__object* c,
00146     /* out */ struct sidl_BaseInterface__object **_ex);
00147 };
00148 
00149 /*
00150  * Declare the method pre hooks entry point vector.
00151  */
00152 
00153 struct ccaffeine_ports_ComponentFactory__pre_epv {
00154   void (*f_createComponentInstance_pre)(
00155     /* in */ void* self,
00156     /* in */ const char* className,
00157     /* out */ struct sidl_BaseInterface__object **_ex);
00158   void (*f_destroyComponentInstance_pre)(
00159     /* in */ void* self,
00160     /* in */ const char* className,
00161     /* in */ struct gov_cca_Component__object* c,
00162     /* out */ struct sidl_BaseInterface__object **_ex);
00163 };
00164 
00165 /*
00166  * Declare the method post hooks entry point vector.
00167  */
00168 
00169 struct ccaffeine_ports_ComponentFactory__post_epv {
00170   void (*f_createComponentInstance_post)(
00171     /* in */ void* self,
00172     /* in */ const char* className,
00173     /* in */ struct gov_cca_Component__object* _retval,
00174     /* out */ struct sidl_BaseInterface__object **_ex);
00175   void (*f_destroyComponentInstance_post)(
00176     /* in */ void* self,
00177     /* in */ const char* className,
00178     /* in */ struct gov_cca_Component__object* c,
00179     /* out */ struct sidl_BaseInterface__object **_ex);
00180 };
00181 
00182 /*
00183  * Define the interface object structure.
00184  */
00185 
00186 struct ccaffeine_ports_ComponentFactory__object {
00187   struct ccaffeine_ports_ComponentFactory__epv* d_epv;
00188   void*                                         d_object;
00189 };
00190 
00198 /*
00199  * Symbol "ccaffeine.ports._ComponentFactory" (version 1.0)
00200  */
00201 
00202 struct ccaffeine_ports__ComponentFactory__array;
00203 struct ccaffeine_ports__ComponentFactory__object;
00204 
00205 /*
00206  * Declare the method entry point vector.
00207  */
00208 
00209 struct ccaffeine_ports__ComponentFactory__epv {
00210   /* Implicit builtin methods */
00211   void* (*f__cast)(
00212     /* in */ struct ccaffeine_ports__ComponentFactory__object* self,
00213     /* in */ const char* name,
00214     /* out */ struct sidl_BaseInterface__object **_ex);
00215   void (*f__delete)(
00216     /* in */ struct ccaffeine_ports__ComponentFactory__object* self,
00217     /* out */ struct sidl_BaseInterface__object **_ex);
00218   void (*f__exec)(
00219     /* in */ struct ccaffeine_ports__ComponentFactory__object* self,
00220     /* in */ const char* methodName,
00221     /* in */ struct sidl_rmi_Call__object* inArgs,
00222     /* in */ struct sidl_rmi_Return__object* outArgs,
00223     /* out */ struct sidl_BaseInterface__object **_ex);
00224   char* (*f__getURL)(
00225     /* in */ struct ccaffeine_ports__ComponentFactory__object* self,
00226     /* out */ struct sidl_BaseInterface__object **_ex);
00227   void (*f__raddRef)(
00228     /* in */ struct ccaffeine_ports__ComponentFactory__object* self,
00229     /* out */ struct sidl_BaseInterface__object **_ex);
00230   sidl_bool (*f__isRemote)(
00231     /* in */ struct ccaffeine_ports__ComponentFactory__object* self,
00232     /* out */ struct sidl_BaseInterface__object **_ex);
00233   void (*f__set_hooks)(
00234     /* in */ struct ccaffeine_ports__ComponentFactory__object* self,
00235     /* in */ sidl_bool enable,
00236     /* out */ struct sidl_BaseInterface__object **_ex);
00237   void (*f__set_contracts)(
00238     /* in */ struct ccaffeine_ports__ComponentFactory__object* self,
00239     /* in */ sidl_bool enable,
00240     /* in */ const char* enfFilename,
00241     /* in */ sidl_bool resetCounters,
00242     /* out */ struct sidl_BaseInterface__object **_ex);
00243   void (*f__dump_stats)(
00244     /* in */ struct ccaffeine_ports__ComponentFactory__object* self,
00245     /* in */ const char* filename,
00246     /* in */ const char* prefix,
00247     /* out */ struct sidl_BaseInterface__object **_ex);
00248   void (*f__ctor)(
00249     /* in */ struct ccaffeine_ports__ComponentFactory__object* self,
00250     /* out */ struct sidl_BaseInterface__object **_ex);
00251   void (*f__ctor2)(
00252     /* in */ struct ccaffeine_ports__ComponentFactory__object* self,
00253     /* in */ void* private_data,
00254     /* out */ struct sidl_BaseInterface__object **_ex);
00255   void (*f__dtor)(
00256     /* in */ struct ccaffeine_ports__ComponentFactory__object* self,
00257     /* out */ struct sidl_BaseInterface__object **_ex);
00258   /* Methods introduced in sidl.BaseInterface-v0.9.17 */
00259   void (*f_addRef)(
00260     /* in */ struct ccaffeine_ports__ComponentFactory__object* self,
00261     /* out */ struct sidl_BaseInterface__object **_ex);
00262   void (*f_deleteRef)(
00263     /* in */ struct ccaffeine_ports__ComponentFactory__object* self,
00264     /* out */ struct sidl_BaseInterface__object **_ex);
00265   sidl_bool (*f_isSame)(
00266     /* in */ struct ccaffeine_ports__ComponentFactory__object* self,
00267     /* in */ struct sidl_BaseInterface__object* iobj,
00268     /* out */ struct sidl_BaseInterface__object **_ex);
00269   sidl_bool (*f_isType)(
00270     /* in */ struct ccaffeine_ports__ComponentFactory__object* self,
00271     /* in */ const char* name,
00272     /* out */ struct sidl_BaseInterface__object **_ex);
00273   struct sidl_ClassInfo__object* (*f_getClassInfo)(
00274     /* in */ struct ccaffeine_ports__ComponentFactory__object* self,
00275     /* out */ struct sidl_BaseInterface__object **_ex);
00276   /* Methods introduced in gov.cca.Port-v0.8.5 */
00277   /* Methods introduced in gov.cca.ports.ComponentRepository-v0.8.5 */
00278   struct gov_cca_ComponentClassDescription__array* (
00279     *f_getAvailableComponentClasses)(
00280     /* in */ struct ccaffeine_ports__ComponentFactory__object* self,
00281     /* out */ struct sidl_BaseInterface__object **_ex);
00282   /* Methods introduced in ccaffeine.ports.ComponentFactory-v0.3 */
00283   struct gov_cca_Component__object* (*f_createComponentInstance)(
00284     /* in */ struct ccaffeine_ports__ComponentFactory__object* self,
00285     /* in */ const char* className,
00286     /* out */ struct sidl_BaseInterface__object **_ex);
00287   void (*f_destroyComponentInstance)(
00288     /* in */ struct ccaffeine_ports__ComponentFactory__object* self,
00289     /* in */ const char* className,
00290     /* in */ struct gov_cca_Component__object* c,
00291     /* out */ struct sidl_BaseInterface__object **_ex);
00292   /* Methods introduced in ccaffeine.ports._ComponentFactory-v1.0 */
00293 };
00294 
00295 /*
00296  * Define the controls and statistics structure.
00297  */
00298 
00299 
00300 struct ccaffeine_ports__ComponentFactory__cstats {
00301   sidl_bool use_hooks;
00302 };
00303 
00304 /*
00305  * Define the class object structure.
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