CCAFFEINE  0.8.8
ccaffeine_ports_ServiceRegistryWrap_IOR.h
00001 /*
00002  * File:          ccaffeine_ports_ServiceRegistryWrap_IOR.h
00003  * Symbol:        ccaffeine.ports.ServiceRegistryWrap-v0.3
00004  * Symbol Type:   class
00005  * Babel Version: 1.4.0
00006  * Description:   Intermediate Object Representation for ccaffeine.ports.ServiceRegistryWrap
00007  * 
00008  * WARNING: Automatically generated; changes will be lost
00009  * 
00010  */
00011 
00012 #ifndef included_ccaffeine_ports_ServiceRegistryWrap_IOR_h
00013 #define included_ccaffeine_ports_ServiceRegistryWrap_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_ServiceRegistry_IOR_h
00023 #include "gov_cca_ports_ServiceRegistry_IOR.h"
00024 #endif
00025 #ifndef included_sidl_BaseClass_IOR_h
00026 #include "sidl_BaseClass_IOR.h"
00027 #endif
00028 
00029 #ifdef __cplusplus
00030 extern "C" {
00031 #endif
00032 
00033 /*
00034  * Symbol "ccaffeine.ports.ServiceRegistryWrap" (version 0.3)
00035  */
00036 
00037 struct ccaffeine_ports_ServiceRegistryWrap__array;
00038 struct ccaffeine_ports_ServiceRegistryWrap__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_ports_ServiceProvider__array;
00047 struct gov_cca_ports_ServiceProvider__object;
00048 struct sidl_BaseException__array;
00049 struct sidl_BaseException__object;
00050 struct sidl_BaseInterface__array;
00051 struct sidl_BaseInterface__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_ServiceRegistryWrap__epv {
00066   /* Implicit builtin methods */
00067   /* 0 */
00068   void* (*f__cast)(
00069     /* in */ struct ccaffeine_ports_ServiceRegistryWrap__object* self,
00070     /* in */ const char* name,
00071     /* out */ struct sidl_BaseInterface__object **_ex);
00072   /* 1 */
00073   void (*f__delete)(
00074     /* in */ struct ccaffeine_ports_ServiceRegistryWrap__object* self,
00075     /* out */ struct sidl_BaseInterface__object **_ex);
00076   /* 2 */
00077   void (*f__exec)(
00078     /* in */ struct ccaffeine_ports_ServiceRegistryWrap__object* 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 */ struct ccaffeine_ports_ServiceRegistryWrap__object* self,
00086     /* out */ struct sidl_BaseInterface__object **_ex);
00087   /* 4 */
00088   void (*f__raddRef)(
00089     /* in */ struct ccaffeine_ports_ServiceRegistryWrap__object* self,
00090     /* out */ struct sidl_BaseInterface__object **_ex);
00091   /* 5 */
00092   sidl_bool (*f__isRemote)(
00093     /* in */ struct ccaffeine_ports_ServiceRegistryWrap__object* self,
00094     /* out */ struct sidl_BaseInterface__object **_ex);
00095   /* 6 */
00096   void (*f__set_hooks)(
00097     /* in */ struct ccaffeine_ports_ServiceRegistryWrap__object* self,
00098     /* in */ sidl_bool enable,
00099     /* out */ struct sidl_BaseInterface__object **_ex);
00100   /* 7 */
00101   void (*f__set_contracts)(
00102     /* in */ struct ccaffeine_ports_ServiceRegistryWrap__object* 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 */ struct ccaffeine_ports_ServiceRegistryWrap__object* self,
00110     /* in */ const char* filename,
00111     /* in */ const char* prefix,
00112     /* out */ struct sidl_BaseInterface__object **_ex);
00113   /* 9 */
00114   void (*f__ctor)(
00115     /* in */ struct ccaffeine_ports_ServiceRegistryWrap__object* self,
00116     /* out */ struct sidl_BaseInterface__object **_ex);
00117   /* 10 */
00118   void (*f__ctor2)(
00119     /* in */ struct ccaffeine_ports_ServiceRegistryWrap__object* self,
00120     /* in */ void* private_data,
00121     /* out */ struct sidl_BaseInterface__object **_ex);
00122   /* 11 */
00123   void (*f__dtor)(
00124     /* in */ struct ccaffeine_ports_ServiceRegistryWrap__object* self,
00125     /* out */ struct sidl_BaseInterface__object **_ex);
00126   /* 12 */
00127   void (*f__load)(
00128     /* out */ struct sidl_BaseInterface__object **_ex);
00129   /* Methods introduced in sidl.BaseInterface-v0.9.17 */
00130   void (*f_addRef)(
00131     /* in */ struct ccaffeine_ports_ServiceRegistryWrap__object* self,
00132     /* out */ struct sidl_BaseInterface__object **_ex);
00133   void (*f_deleteRef)(
00134     /* in */ struct ccaffeine_ports_ServiceRegistryWrap__object* self,
00135     /* out */ struct sidl_BaseInterface__object **_ex);
00136   sidl_bool (*f_isSame)(
00137     /* in */ struct ccaffeine_ports_ServiceRegistryWrap__object* self,
00138     /* in */ struct sidl_BaseInterface__object* iobj,
00139     /* out */ struct sidl_BaseInterface__object **_ex);
00140   sidl_bool (*f_isType)(
00141     /* in */ struct ccaffeine_ports_ServiceRegistryWrap__object* self,
00142     /* in */ const char* name,
00143     /* out */ struct sidl_BaseInterface__object **_ex);
00144   struct sidl_ClassInfo__object* (*f_getClassInfo)(
00145     /* in */ struct ccaffeine_ports_ServiceRegistryWrap__object* self,
00146     /* out */ struct sidl_BaseInterface__object **_ex);
00147   /* Methods introduced in sidl.BaseClass-v0.9.17 */
00148   /* Methods introduced in gov.cca.Port-v0.8.5 */
00149   /* Methods introduced in gov.cca.ports.ServiceRegistry-v0.8.5 */
00150   sidl_bool (*f_addService)(
00151     /* in */ struct ccaffeine_ports_ServiceRegistryWrap__object* self,
00152     /* in */ const char* serviceType,
00153     /* in */ struct gov_cca_ports_ServiceProvider__object* portProvider,
00154     /* out */ struct sidl_BaseInterface__object **_ex);
00155   sidl_bool (*f_addSingletonService)(
00156     /* in */ struct ccaffeine_ports_ServiceRegistryWrap__object* self,
00157     /* in */ const char* serviceType,
00158     /* in */ struct gov_cca_Port__object* server,
00159     /* out */ struct sidl_BaseInterface__object **_ex);
00160   void (*f_removeService)(
00161     /* in */ struct ccaffeine_ports_ServiceRegistryWrap__object* self,
00162     /* in */ const char* serviceType,
00163     /* out */ struct sidl_BaseInterface__object **_ex);
00164   /* Methods introduced in ccaffeine.ports.ServiceRegistryWrap-v0.3 */
00165   void (*f_initialize)(
00166     /* in */ struct ccaffeine_ports_ServiceRegistryWrap__object* self,
00167     /* in */ void* ccafeopq_ServiceRegistry_star,
00168     /* in */ void* opaque_ComponentID_addr,
00169     /* out */ struct sidl_BaseInterface__object **_ex);
00170   void* (*f_getWrapped)(
00171     /* in */ struct ccaffeine_ports_ServiceRegistryWrap__object* self,
00172     /* in */ const char* className,
00173     /* out */ struct sidl_BaseInterface__object **_ex);
00174   void (*f_getProviderID)(
00175     /* in */ struct ccaffeine_ports_ServiceRegistryWrap__object* self,
00176     /* inout */ void** opaque_ComponentID_addr,
00177     /* out */ struct sidl_BaseInterface__object **_ex);
00178 };
00179 
00180 /*
00181  * Declare the method pre hooks entry point vector.
00182  */
00183 
00184 struct ccaffeine_ports_ServiceRegistryWrap__pre_epv {
00185   void (*f_initialize_pre)(
00186     /* in */ struct ccaffeine_ports_ServiceRegistryWrap__object* self,
00187     /* in */ void* ccafeopq_ServiceRegistry_star,
00188     /* in */ void* opaque_ComponentID_addr,
00189     /* out */ struct sidl_BaseInterface__object **_ex);
00190   void (*f_getWrapped_pre)(
00191     /* in */ struct ccaffeine_ports_ServiceRegistryWrap__object* self,
00192     /* in */ const char* className,
00193     /* out */ struct sidl_BaseInterface__object **_ex);
00194   void (*f_getProviderID_pre)(
00195     /* in */ struct ccaffeine_ports_ServiceRegistryWrap__object* self,
00196     /* in */ void* opaque_ComponentID_addr,
00197     /* out */ struct sidl_BaseInterface__object **_ex);
00198   void (*f_addService_pre)(
00199     /* in */ struct ccaffeine_ports_ServiceRegistryWrap__object* self,
00200     /* in */ const char* serviceType,
00201     /* in */ struct gov_cca_ports_ServiceProvider__object* portProvider,
00202     /* out */ struct sidl_BaseInterface__object **_ex);
00203   void (*f_addSingletonService_pre)(
00204     /* in */ struct ccaffeine_ports_ServiceRegistryWrap__object* self,
00205     /* in */ const char* serviceType,
00206     /* in */ struct gov_cca_Port__object* server,
00207     /* out */ struct sidl_BaseInterface__object **_ex);
00208   void (*f_removeService_pre)(
00209     /* in */ struct ccaffeine_ports_ServiceRegistryWrap__object* self,
00210     /* in */ const char* serviceType,
00211     /* out */ struct sidl_BaseInterface__object **_ex);
00212 };
00213 
00214 /*
00215  * Declare the method post hooks entry point vector.
00216  */
00217 
00218 struct ccaffeine_ports_ServiceRegistryWrap__post_epv {
00219   void (*f_initialize_post)(
00220     /* in */ struct ccaffeine_ports_ServiceRegistryWrap__object* self,
00221     /* in */ void* ccafeopq_ServiceRegistry_star,
00222     /* in */ void* opaque_ComponentID_addr,
00223     /* out */ struct sidl_BaseInterface__object **_ex);
00224   void (*f_getWrapped_post)(
00225     /* in */ struct ccaffeine_ports_ServiceRegistryWrap__object* self,
00226     /* in */ const char* className,
00227     /* in */ void* _retval,
00228     /* out */ struct sidl_BaseInterface__object **_ex);
00229   void (*f_getProviderID_post)(
00230     /* in */ struct ccaffeine_ports_ServiceRegistryWrap__object* self,
00231     /* in */ void* opaque_ComponentID_addr,
00232     /* out */ struct sidl_BaseInterface__object **_ex);
00233   void (*f_addService_post)(
00234     /* in */ struct ccaffeine_ports_ServiceRegistryWrap__object* self,
00235     /* in */ const char* serviceType,
00236     /* in */ struct gov_cca_ports_ServiceProvider__object* portProvider,
00237     /* in */ sidl_bool _retval,
00238     /* out */ struct sidl_BaseInterface__object **_ex);
00239   void (*f_addSingletonService_post)(
00240     /* in */ struct ccaffeine_ports_ServiceRegistryWrap__object* self,
00241     /* in */ const char* serviceType,
00242     /* in */ struct gov_cca_Port__object* server,
00243     /* in */ sidl_bool _retval,
00244     /* out */ struct sidl_BaseInterface__object **_ex);
00245   void (*f_removeService_post)(
00246     /* in */ struct ccaffeine_ports_ServiceRegistryWrap__object* self,
00247     /* in */ const char* serviceType,
00248     /* out */ struct sidl_BaseInterface__object **_ex);
00249 };
00250 
00251 /*
00252  * Define the controls and statistics structure.
00253  */
00254 
00255 
00256 struct ccaffeine_ports_ServiceRegistryWrap__cstats {
00257   sidl_bool use_hooks;
00258 };
00259 
00260 /*
00261  * Define the class object structure.
00262  */
00263 
00264 struct ccaffeine_ports_ServiceRegistryWrap__object {
00265   struct sidl_BaseClass__object                      d_sidl_baseclass;
00266   struct gov_cca_Port__object                        d_gov_cca_port;
00267   struct gov_cca_ports_ServiceRegistry__object       
00268     d_gov_cca_ports_serviceregistry;
00269   struct ccaffeine_ports_ServiceRegistryWrap__epv*   d_epv;
00270   struct ccaffeine_ports_ServiceRegistryWrap__cstats d_cstats;
00271   void*                                              d_data;
00272 };
00273 
00274 struct ccaffeine_ports_ServiceRegistryWrap__external {
00275   struct ccaffeine_ports_ServiceRegistryWrap__object*
00276   (*createObject)(void* ddata, struct sidl_BaseInterface__object **_ex);
00277 
00278   struct sidl_BaseClass__epv*(*getSuperEPV)(void);
00279   int d_ior_major_version;
00280   int d_ior_minor_version;
00281 };
00282 
00283 /*
00284  * This function returns a pointer to a static structure of
00285  * pointers to function entry points.  Its purpose is to provide
00286  * one-stop shopping for loading DLLs.
00287  */
00288 
00289 const struct ccaffeine_ports_ServiceRegistryWrap__external*
00290 ccaffeine_ports_ServiceRegistryWrap__externals(void);
00291 
00292 extern struct ccaffeine_ports_ServiceRegistryWrap__object*
00293 ccaffeine_ports_ServiceRegistryWrap__createObject(void* ddata,struct 
00294   sidl_BaseInterface__object ** _ex);
00295 
00296 extern void ccaffeine_ports_ServiceRegistryWrap__init(
00297   struct ccaffeine_ports_ServiceRegistryWrap__object* self, void* ddata, struct 
00298     sidl_BaseInterface__object ** _ex);
00299 
00300 extern void ccaffeine_ports_ServiceRegistryWrap__getEPVs(
00301   struct sidl_BaseInterface__epv **s_arg_epv__sidl_baseinterface,
00302   struct sidl_BaseClass__epv **s_arg_epv__sidl_baseclass,
00303   struct gov_cca_Port__epv **s_arg_epv__gov_cca_port,
00304   struct gov_cca_Port__epv **s_arg_epv_hooks__gov_cca_port,
00305   struct gov_cca_ports_ServiceRegistry__epv 
00306     **s_arg_epv__gov_cca_ports_serviceregistry,
00307   struct gov_cca_ports_ServiceRegistry__epv 
00308     **s_arg_epv_hooks__gov_cca_ports_serviceregistry,
00309   struct ccaffeine_ports_ServiceRegistryWrap__epv 
00310     **s_arg_epv__ccaffeine_ports_serviceregistrywrap,
00311   struct ccaffeine_ports_ServiceRegistryWrap__epv 
00312     **s_arg_epv_hooks__ccaffeine_ports_serviceregistrywrap);
00313 
00314 extern void ccaffeine_ports_ServiceRegistryWrap__fini(
00315   struct ccaffeine_ports_ServiceRegistryWrap__object* self, struct 
00316     sidl_BaseInterface__object ** _ex);
00317 
00318 extern void ccaffeine_ports_ServiceRegistryWrap__IOR_version(int32_t *major, 
00319   int32_t *minor);
00320 
00321 struct gov_cca_Port__object* 
00322   skel_ccaffeine_ports_ServiceRegistryWrap_fconnect_gov_cca_Port(const char* 
00323   url, sidl_bool ar, struct sidl_BaseInterface__object * *_ex);
00324 struct gov_cca_ports_ServiceProvider__object* 
00325   skel_ccaffeine_ports_ServiceRegistryWrap_fconnect_gov_cca_ports_ServiceProvider
00326   (const char* url, sidl_bool ar, struct sidl_BaseInterface__object * *_ex);
00327 struct sidl_BaseInterface__object* 
00328   skel_ccaffeine_ports_ServiceRegistryWrap_fconnect_sidl_BaseInterface(const 
00329   char* url, sidl_bool ar, struct sidl_BaseInterface__object * *_ex);
00330 struct ccaffeine_ports_ServiceRegistryWrap__remote{
00331   int d_refcount;
00332   struct sidl_rmi_InstanceHandle__object *d_ih;
00333 };
00334 
00335 #ifdef __cplusplus
00336 }
00337 #endif
00338 #endif