CCAFFEINE  0.8.8
ccaffeine_ConnectionID_IOR.h
00001 /*
00002  * File:          ccaffeine_ConnectionID_IOR.h
00003  * Symbol:        ccaffeine.ConnectionID-v0.3
00004  * Symbol Type:   class
00005  * Babel Version: 1.4.0
00006  * Description:   Intermediate Object Representation for ccaffeine.ConnectionID
00007  * 
00008  * WARNING: Automatically generated; changes will be lost
00009  * 
00010  */
00011 
00012 #ifndef included_ccaffeine_ConnectionID_IOR_h
00013 #define included_ccaffeine_ConnectionID_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_ConnectionID_IOR_h
00020 #include "gov_cca_ConnectionID_IOR.h"
00021 #endif
00022 #ifndef included_sidl_BaseClass_IOR_h
00023 #include "sidl_BaseClass_IOR.h"
00024 #endif
00025 
00026 #ifdef __cplusplus
00027 extern "C" {
00028 #endif
00029 
00030 /*
00031  * Symbol "ccaffeine.ConnectionID" (version 0.3)
00032  * 
00033  *  This is a wrapper class. It cannot be successfully
00034  * constructed directly from component or client code.
00035  * Only the ccaffeine framework
00036  * internals know how to initialize this object.
00037  */
00038 
00039 struct ccaffeine_ConnectionID__array;
00040 struct ccaffeine_ConnectionID__object;
00041 
00042 /*
00043  * Forward references for external classes and interfaces.
00044  */
00045 
00046 struct gov_cca_CCAException__array;
00047 struct gov_cca_CCAException__object;
00048 struct gov_cca_ComponentID__array;
00049 struct gov_cca_ComponentID__object;
00050 struct sidl_BaseException__array;
00051 struct sidl_BaseException__object;
00052 struct sidl_BaseInterface__array;
00053 struct sidl_BaseInterface__object;
00054 struct sidl_ClassInfo__array;
00055 struct sidl_ClassInfo__object;
00056 struct sidl_RuntimeException__array;
00057 struct sidl_RuntimeException__object;
00058 struct sidl_rmi_Call__array;
00059 struct sidl_rmi_Call__object;
00060 struct sidl_rmi_Return__array;
00061 struct sidl_rmi_Return__object;
00062 
00063 /*
00064  * Declare the method entry point vector.
00065  */
00066 
00067 struct ccaffeine_ConnectionID__epv {
00068   /* Implicit builtin methods */
00069   /* 0 */
00070   void* (*f__cast)(
00071     /* in */ struct ccaffeine_ConnectionID__object* self,
00072     /* in */ const char* name,
00073     /* out */ struct sidl_BaseInterface__object **_ex);
00074   /* 1 */
00075   void (*f__delete)(
00076     /* in */ struct ccaffeine_ConnectionID__object* self,
00077     /* out */ struct sidl_BaseInterface__object **_ex);
00078   /* 2 */
00079   void (*f__exec)(
00080     /* in */ struct ccaffeine_ConnectionID__object* self,
00081     /* in */ const char* methodName,
00082     /* in */ struct sidl_rmi_Call__object* inArgs,
00083     /* in */ struct sidl_rmi_Return__object* outArgs,
00084     /* out */ struct sidl_BaseInterface__object **_ex);
00085   /* 3 */
00086   char* (*f__getURL)(
00087     /* in */ struct ccaffeine_ConnectionID__object* self,
00088     /* out */ struct sidl_BaseInterface__object **_ex);
00089   /* 4 */
00090   void (*f__raddRef)(
00091     /* in */ struct ccaffeine_ConnectionID__object* self,
00092     /* out */ struct sidl_BaseInterface__object **_ex);
00093   /* 5 */
00094   sidl_bool (*f__isRemote)(
00095     /* in */ struct ccaffeine_ConnectionID__object* self,
00096     /* out */ struct sidl_BaseInterface__object **_ex);
00097   /* 6 */
00098   void (*f__set_hooks)(
00099     /* in */ struct ccaffeine_ConnectionID__object* self,
00100     /* in */ sidl_bool enable,
00101     /* out */ struct sidl_BaseInterface__object **_ex);
00102   /* 7 */
00103   void (*f__set_contracts)(
00104     /* in */ struct ccaffeine_ConnectionID__object* self,
00105     /* in */ sidl_bool enable,
00106     /* in */ const char* enfFilename,
00107     /* in */ sidl_bool resetCounters,
00108     /* out */ struct sidl_BaseInterface__object **_ex);
00109   /* 8 */
00110   void (*f__dump_stats)(
00111     /* in */ struct ccaffeine_ConnectionID__object* self,
00112     /* in */ const char* filename,
00113     /* in */ const char* prefix,
00114     /* out */ struct sidl_BaseInterface__object **_ex);
00115   /* 9 */
00116   void (*f__ctor)(
00117     /* in */ struct ccaffeine_ConnectionID__object* self,
00118     /* out */ struct sidl_BaseInterface__object **_ex);
00119   /* 10 */
00120   void (*f__ctor2)(
00121     /* in */ struct ccaffeine_ConnectionID__object* self,
00122     /* in */ void* private_data,
00123     /* out */ struct sidl_BaseInterface__object **_ex);
00124   /* 11 */
00125   void (*f__dtor)(
00126     /* in */ struct ccaffeine_ConnectionID__object* self,
00127     /* out */ struct sidl_BaseInterface__object **_ex);
00128   /* 12 */
00129   void (*f__load)(
00130     /* out */ struct sidl_BaseInterface__object **_ex);
00131   /* Methods introduced in sidl.BaseInterface-v0.9.17 */
00132   void (*f_addRef)(
00133     /* in */ struct ccaffeine_ConnectionID__object* self,
00134     /* out */ struct sidl_BaseInterface__object **_ex);
00135   void (*f_deleteRef)(
00136     /* in */ struct ccaffeine_ConnectionID__object* self,
00137     /* out */ struct sidl_BaseInterface__object **_ex);
00138   sidl_bool (*f_isSame)(
00139     /* in */ struct ccaffeine_ConnectionID__object* self,
00140     /* in */ struct sidl_BaseInterface__object* iobj,
00141     /* out */ struct sidl_BaseInterface__object **_ex);
00142   sidl_bool (*f_isType)(
00143     /* in */ struct ccaffeine_ConnectionID__object* self,
00144     /* in */ const char* name,
00145     /* out */ struct sidl_BaseInterface__object **_ex);
00146   struct sidl_ClassInfo__object* (*f_getClassInfo)(
00147     /* in */ struct ccaffeine_ConnectionID__object* self,
00148     /* out */ struct sidl_BaseInterface__object **_ex);
00149   /* Methods introduced in sidl.BaseClass-v0.9.17 */
00150   /* Methods introduced in gov.cca.ConnectionID-v0.8.5 */
00151   struct gov_cca_ComponentID__object* (*f_getProvider)(
00152     /* in */ struct ccaffeine_ConnectionID__object* self,
00153     /* out */ struct sidl_BaseInterface__object **_ex);
00154   struct gov_cca_ComponentID__object* (*f_getUser)(
00155     /* in */ struct ccaffeine_ConnectionID__object* self,
00156     /* out */ struct sidl_BaseInterface__object **_ex);
00157   char* (*f_getProviderPortName)(
00158     /* in */ struct ccaffeine_ConnectionID__object* self,
00159     /* out */ struct sidl_BaseInterface__object **_ex);
00160   char* (*f_getUserPortName)(
00161     /* in */ struct ccaffeine_ConnectionID__object* self,
00162     /* out */ struct sidl_BaseInterface__object **_ex);
00163   /* Methods introduced in ccaffeine.ConnectionID-v0.3 */
00164   void (*f_initialize)(
00165     /* in */ struct ccaffeine_ConnectionID__object* self,
00166     /* in */ void* opaque_ConnectionID_addr,
00167     /* out */ struct sidl_BaseInterface__object **_ex);
00168 };
00169 
00170 /*
00171  * Declare the method pre hooks entry point vector.
00172  */
00173 
00174 struct ccaffeine_ConnectionID__pre_epv {
00175   void (*f_initialize_pre)(
00176     /* in */ struct ccaffeine_ConnectionID__object* self,
00177     /* in */ void* opaque_ConnectionID_addr,
00178     /* out */ struct sidl_BaseInterface__object **_ex);
00179   void (*f_getProvider_pre)(
00180     /* in */ struct ccaffeine_ConnectionID__object* self,
00181     /* out */ struct sidl_BaseInterface__object **_ex);
00182   void (*f_getUser_pre)(
00183     /* in */ struct ccaffeine_ConnectionID__object* self,
00184     /* out */ struct sidl_BaseInterface__object **_ex);
00185   void (*f_getProviderPortName_pre)(
00186     /* in */ struct ccaffeine_ConnectionID__object* self,
00187     /* out */ struct sidl_BaseInterface__object **_ex);
00188   void (*f_getUserPortName_pre)(
00189     /* in */ struct ccaffeine_ConnectionID__object* self,
00190     /* out */ struct sidl_BaseInterface__object **_ex);
00191 };
00192 
00193 /*
00194  * Declare the method post hooks entry point vector.
00195  */
00196 
00197 struct ccaffeine_ConnectionID__post_epv {
00198   void (*f_initialize_post)(
00199     /* in */ struct ccaffeine_ConnectionID__object* self,
00200     /* in */ void* opaque_ConnectionID_addr,
00201     /* out */ struct sidl_BaseInterface__object **_ex);
00202   void (*f_getProvider_post)(
00203     /* in */ struct ccaffeine_ConnectionID__object* self,
00204     /* in */ struct gov_cca_ComponentID__object* _retval,
00205     /* out */ struct sidl_BaseInterface__object **_ex);
00206   void (*f_getUser_post)(
00207     /* in */ struct ccaffeine_ConnectionID__object* self,
00208     /* in */ struct gov_cca_ComponentID__object* _retval,
00209     /* out */ struct sidl_BaseInterface__object **_ex);
00210   void (*f_getProviderPortName_post)(
00211     /* in */ struct ccaffeine_ConnectionID__object* self,
00212     /* in */ const char* _retval,
00213     /* out */ struct sidl_BaseInterface__object **_ex);
00214   void (*f_getUserPortName_post)(
00215     /* in */ struct ccaffeine_ConnectionID__object* self,
00216     /* in */ const char* _retval,
00217     /* out */ struct sidl_BaseInterface__object **_ex);
00218 };
00219 
00220 /*
00221  * Define the controls and statistics structure.
00222  */
00223 
00224 
00225 struct ccaffeine_ConnectionID__cstats {
00226   sidl_bool use_hooks;
00227 };
00228 
00229 /*
00230  * Define the class object structure.
00231  */
00232 
00233 struct ccaffeine_ConnectionID__object {
00234   struct sidl_BaseClass__object         d_sidl_baseclass;
00235   struct gov_cca_ConnectionID__object   d_gov_cca_connectionid;
00236   struct ccaffeine_ConnectionID__epv*   d_epv;
00237   struct ccaffeine_ConnectionID__cstats d_cstats;
00238   void*                                 d_data;
00239 };
00240 
00241 struct ccaffeine_ConnectionID__external {
00242   struct ccaffeine_ConnectionID__object*
00243   (*createObject)(void* ddata, struct sidl_BaseInterface__object **_ex);
00244 
00245   struct sidl_BaseClass__epv*(*getSuperEPV)(void);
00246   int d_ior_major_version;
00247   int d_ior_minor_version;
00248 };
00249 
00250 /*
00251  * This function returns a pointer to a static structure of
00252  * pointers to function entry points.  Its purpose is to provide
00253  * one-stop shopping for loading DLLs.
00254  */
00255 
00256 const struct ccaffeine_ConnectionID__external*
00257 ccaffeine_ConnectionID__externals(void);
00258 
00259 extern struct ccaffeine_ConnectionID__object*
00260 ccaffeine_ConnectionID__createObject(void* ddata,struct 
00261   sidl_BaseInterface__object ** _ex);
00262 
00263 extern void ccaffeine_ConnectionID__init(
00264   struct ccaffeine_ConnectionID__object* self, void* ddata, struct 
00265     sidl_BaseInterface__object ** _ex);
00266 
00267 extern void ccaffeine_ConnectionID__getEPVs(
00268   struct sidl_BaseInterface__epv **s_arg_epv__sidl_baseinterface,
00269   struct sidl_BaseClass__epv **s_arg_epv__sidl_baseclass,
00270   struct gov_cca_ConnectionID__epv **s_arg_epv__gov_cca_connectionid,
00271   struct gov_cca_ConnectionID__epv **s_arg_epv_hooks__gov_cca_connectionid,
00272   struct ccaffeine_ConnectionID__epv **s_arg_epv__ccaffeine_connectionid,
00273   struct ccaffeine_ConnectionID__epv **s_arg_epv_hooks__ccaffeine_connectionid);
00274 
00275 extern void ccaffeine_ConnectionID__fini(
00276   struct ccaffeine_ConnectionID__object* self, struct 
00277     sidl_BaseInterface__object ** _ex);
00278 
00279 extern void ccaffeine_ConnectionID__IOR_version(int32_t *major, int32_t *minor);
00280 
00281 struct sidl_BaseInterface__object* 
00282   skel_ccaffeine_ConnectionID_fconnect_sidl_BaseInterface(const char* url, 
00283   sidl_bool ar, struct sidl_BaseInterface__object * *_ex);
00284 struct ccaffeine_ConnectionID__remote{
00285   int d_refcount;
00286   struct sidl_rmi_InstanceHandle__object *d_ih;
00287 };
00288 
00289 #ifdef __cplusplus
00290 }
00291 #endif
00292 #endif