CCAFFEINE  0.8.8
ccaffeine_ComponentID_IOR.h
00001 /*
00002  * File:          ccaffeine_ComponentID_IOR.h
00003  * Symbol:        ccaffeine.ComponentID-v0.3
00004  * Symbol Type:   class
00005  * Babel Version: 1.4.0
00006  * Description:   Intermediate Object Representation for ccaffeine.ComponentID
00007  * 
00008  * WARNING: Automatically generated; changes will be lost
00009  * 
00010  */
00011 
00012 #ifndef included_ccaffeine_ComponentID_IOR_h
00013 #define included_ccaffeine_ComponentID_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_ComponentID_IOR_h
00020 #include "gov_cca_ComponentID_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.ComponentID" (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 internals know how to initialize 
00036  * this object.
00037  */
00038 
00039 struct ccaffeine_ComponentID__array;
00040 struct ccaffeine_ComponentID__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 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_ComponentID__epv {
00066   /* Implicit builtin methods */
00067   /* 0 */
00068   void* (*f__cast)(
00069     /* in */ struct ccaffeine_ComponentID__object* self,
00070     /* in */ const char* name,
00071     /* out */ struct sidl_BaseInterface__object **_ex);
00072   /* 1 */
00073   void (*f__delete)(
00074     /* in */ struct ccaffeine_ComponentID__object* self,
00075     /* out */ struct sidl_BaseInterface__object **_ex);
00076   /* 2 */
00077   void (*f__exec)(
00078     /* in */ struct ccaffeine_ComponentID__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_ComponentID__object* self,
00086     /* out */ struct sidl_BaseInterface__object **_ex);
00087   /* 4 */
00088   void (*f__raddRef)(
00089     /* in */ struct ccaffeine_ComponentID__object* self,
00090     /* out */ struct sidl_BaseInterface__object **_ex);
00091   /* 5 */
00092   sidl_bool (*f__isRemote)(
00093     /* in */ struct ccaffeine_ComponentID__object* self,
00094     /* out */ struct sidl_BaseInterface__object **_ex);
00095   /* 6 */
00096   void (*f__set_hooks)(
00097     /* in */ struct ccaffeine_ComponentID__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_ComponentID__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_ComponentID__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_ComponentID__object* self,
00116     /* out */ struct sidl_BaseInterface__object **_ex);
00117   /* 10 */
00118   void (*f__ctor2)(
00119     /* in */ struct ccaffeine_ComponentID__object* self,
00120     /* in */ void* private_data,
00121     /* out */ struct sidl_BaseInterface__object **_ex);
00122   /* 11 */
00123   void (*f__dtor)(
00124     /* in */ struct ccaffeine_ComponentID__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_ComponentID__object* self,
00132     /* out */ struct sidl_BaseInterface__object **_ex);
00133   void (*f_deleteRef)(
00134     /* in */ struct ccaffeine_ComponentID__object* self,
00135     /* out */ struct sidl_BaseInterface__object **_ex);
00136   sidl_bool (*f_isSame)(
00137     /* in */ struct ccaffeine_ComponentID__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_ComponentID__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_ComponentID__object* self,
00146     /* out */ struct sidl_BaseInterface__object **_ex);
00147   /* Methods introduced in sidl.BaseClass-v0.9.17 */
00148   /* Methods introduced in gov.cca.ComponentID-v0.8.5 */
00149   char* (*f_getInstanceName)(
00150     /* in */ struct ccaffeine_ComponentID__object* self,
00151     /* out */ struct sidl_BaseInterface__object **_ex);
00152   char* (*f_getSerialization)(
00153     /* in */ struct ccaffeine_ComponentID__object* self,
00154     /* out */ struct sidl_BaseInterface__object **_ex);
00155   /* Methods introduced in ccaffeine.ComponentID-v0.3 */
00156   void (*f_initialize)(
00157     /* in */ struct ccaffeine_ComponentID__object* self,
00158     /* in */ void* opaque_ComponentID_addr,
00159     /* out */ struct sidl_BaseInterface__object **_ex);
00160 };
00161 
00162 /*
00163  * Declare the method pre hooks entry point vector.
00164  */
00165 
00166 struct ccaffeine_ComponentID__pre_epv {
00167   void (*f_initialize_pre)(
00168     /* in */ struct ccaffeine_ComponentID__object* self,
00169     /* in */ void* opaque_ComponentID_addr,
00170     /* out */ struct sidl_BaseInterface__object **_ex);
00171   void (*f_getInstanceName_pre)(
00172     /* in */ struct ccaffeine_ComponentID__object* self,
00173     /* out */ struct sidl_BaseInterface__object **_ex);
00174   void (*f_getSerialization_pre)(
00175     /* in */ struct ccaffeine_ComponentID__object* self,
00176     /* out */ struct sidl_BaseInterface__object **_ex);
00177 };
00178 
00179 /*
00180  * Declare the method post hooks entry point vector.
00181  */
00182 
00183 struct ccaffeine_ComponentID__post_epv {
00184   void (*f_initialize_post)(
00185     /* in */ struct ccaffeine_ComponentID__object* self,
00186     /* in */ void* opaque_ComponentID_addr,
00187     /* out */ struct sidl_BaseInterface__object **_ex);
00188   void (*f_getInstanceName_post)(
00189     /* in */ struct ccaffeine_ComponentID__object* self,
00190     /* in */ const char* _retval,
00191     /* out */ struct sidl_BaseInterface__object **_ex);
00192   void (*f_getSerialization_post)(
00193     /* in */ struct ccaffeine_ComponentID__object* self,
00194     /* in */ const char* _retval,
00195     /* out */ struct sidl_BaseInterface__object **_ex);
00196 };
00197 
00198 /*
00199  * Define the controls and statistics structure.
00200  */
00201 
00202 
00203 struct ccaffeine_ComponentID__cstats {
00204   sidl_bool use_hooks;
00205 };
00206 
00207 /*
00208  * Define the class object structure.
00209  */
00210 
00211 struct ccaffeine_ComponentID__object {
00212   struct sidl_BaseClass__object        d_sidl_baseclass;
00213   struct gov_cca_ComponentID__object   d_gov_cca_componentid;
00214   struct ccaffeine_ComponentID__epv*   d_epv;
00215   struct ccaffeine_ComponentID__cstats d_cstats;
00216   void*                                d_data;
00217 };
00218 
00219 struct ccaffeine_ComponentID__external {
00220   struct ccaffeine_ComponentID__object*
00221   (*createObject)(void* ddata, struct sidl_BaseInterface__object **_ex);
00222 
00223   struct sidl_BaseClass__epv*(*getSuperEPV)(void);
00224   int d_ior_major_version;
00225   int d_ior_minor_version;
00226 };
00227 
00228 /*
00229  * This function returns a pointer to a static structure of
00230  * pointers to function entry points.  Its purpose is to provide
00231  * one-stop shopping for loading DLLs.
00232  */
00233 
00234 const struct ccaffeine_ComponentID__external*
00235 ccaffeine_ComponentID__externals(void);
00236 
00237 extern struct ccaffeine_ComponentID__object*
00238 ccaffeine_ComponentID__createObject(void* ddata,struct 
00239   sidl_BaseInterface__object ** _ex);
00240 
00241 extern void ccaffeine_ComponentID__init(
00242   struct ccaffeine_ComponentID__object* self, void* ddata, struct 
00243     sidl_BaseInterface__object ** _ex);
00244 
00245 extern void ccaffeine_ComponentID__getEPVs(
00246   struct sidl_BaseInterface__epv **s_arg_epv__sidl_baseinterface,
00247   struct sidl_BaseClass__epv **s_arg_epv__sidl_baseclass,
00248   struct gov_cca_ComponentID__epv **s_arg_epv__gov_cca_componentid,
00249   struct gov_cca_ComponentID__epv **s_arg_epv_hooks__gov_cca_componentid,
00250   struct ccaffeine_ComponentID__epv **s_arg_epv__ccaffeine_componentid,
00251   struct ccaffeine_ComponentID__epv **s_arg_epv_hooks__ccaffeine_componentid);
00252 
00253 extern void ccaffeine_ComponentID__fini(
00254   struct ccaffeine_ComponentID__object* self, struct sidl_BaseInterface__object 
00255     ** _ex);
00256 
00257 extern void ccaffeine_ComponentID__IOR_version(int32_t *major, int32_t *minor);
00258 
00259 struct sidl_BaseInterface__object* 
00260   skel_ccaffeine_ComponentID_fconnect_sidl_BaseInterface(const char* url, 
00261   sidl_bool ar, struct sidl_BaseInterface__object * *_ex);
00262 struct ccaffeine_ComponentID__remote{
00263   int d_refcount;
00264   struct sidl_rmi_InstanceHandle__object *d_ih;
00265 };
00266 
00267 #ifdef __cplusplus
00268 }
00269 #endif
00270 #endif