CCAFFEINE  0.8.8
ccaffeine_ComponentClassDescription_IOR.h
00001 /*
00002  * File:          ccaffeine_ComponentClassDescription_IOR.h
00003  * Symbol:        ccaffeine.ComponentClassDescription-v0.3
00004  * Symbol Type:   class
00005  * Babel Version: 1.4.0
00006  * Description:   Intermediate Object Representation for ccaffeine.ComponentClassDescription
00007  * 
00008  * WARNING: Automatically generated; changes will be lost
00009  * 
00010  */
00011 
00012 #ifndef included_ccaffeine_ComponentClassDescription_IOR_h
00013 #define included_ccaffeine_ComponentClassDescription_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_ComponentClassDescription_IOR_h
00020 #include "gov_cca_ComponentClassDescription_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.ComponentClassDescription" (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_ComponentClassDescription__array;
00040 struct ccaffeine_ComponentClassDescription__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_ComponentClassDescription__epv {
00066   /* Implicit builtin methods */
00067   /* 0 */
00068   void* (*f__cast)(
00069     /* in */ struct ccaffeine_ComponentClassDescription__object* self,
00070     /* in */ const char* name,
00071     /* out */ struct sidl_BaseInterface__object **_ex);
00072   /* 1 */
00073   void (*f__delete)(
00074     /* in */ struct ccaffeine_ComponentClassDescription__object* self,
00075     /* out */ struct sidl_BaseInterface__object **_ex);
00076   /* 2 */
00077   void (*f__exec)(
00078     /* in */ struct ccaffeine_ComponentClassDescription__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_ComponentClassDescription__object* self,
00086     /* out */ struct sidl_BaseInterface__object **_ex);
00087   /* 4 */
00088   void (*f__raddRef)(
00089     /* in */ struct ccaffeine_ComponentClassDescription__object* self,
00090     /* out */ struct sidl_BaseInterface__object **_ex);
00091   /* 5 */
00092   sidl_bool (*f__isRemote)(
00093     /* in */ struct ccaffeine_ComponentClassDescription__object* self,
00094     /* out */ struct sidl_BaseInterface__object **_ex);
00095   /* 6 */
00096   void (*f__set_hooks)(
00097     /* in */ struct ccaffeine_ComponentClassDescription__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_ComponentClassDescription__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_ComponentClassDescription__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_ComponentClassDescription__object* self,
00116     /* out */ struct sidl_BaseInterface__object **_ex);
00117   /* 10 */
00118   void (*f__ctor2)(
00119     /* in */ struct ccaffeine_ComponentClassDescription__object* self,
00120     /* in */ void* private_data,
00121     /* out */ struct sidl_BaseInterface__object **_ex);
00122   /* 11 */
00123   void (*f__dtor)(
00124     /* in */ struct ccaffeine_ComponentClassDescription__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_ComponentClassDescription__object* self,
00132     /* out */ struct sidl_BaseInterface__object **_ex);
00133   void (*f_deleteRef)(
00134     /* in */ struct ccaffeine_ComponentClassDescription__object* self,
00135     /* out */ struct sidl_BaseInterface__object **_ex);
00136   sidl_bool (*f_isSame)(
00137     /* in */ struct ccaffeine_ComponentClassDescription__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_ComponentClassDescription__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_ComponentClassDescription__object* self,
00146     /* out */ struct sidl_BaseInterface__object **_ex);
00147   /* Methods introduced in sidl.BaseClass-v0.9.17 */
00148   /* Methods introduced in gov.cca.ComponentClassDescription-v0.8.5 */
00149   char* (*f_getComponentClassName)(
00150     /* in */ struct ccaffeine_ComponentClassDescription__object* self,
00151     /* out */ struct sidl_BaseInterface__object **_ex);
00152   /* Methods introduced in ccaffeine.ComponentClassDescription-v0.3 */
00153   void (*f_initialize)(
00154     /* in */ struct ccaffeine_ComponentClassDescription__object* self,
00155     /* in */ void* opaque_CCDescription_addr,
00156     /* out */ struct sidl_BaseInterface__object **_ex);
00157 };
00158 
00159 /*
00160  * Declare the method pre hooks entry point vector.
00161  */
00162 
00163 struct ccaffeine_ComponentClassDescription__pre_epv {
00164   void (*f_initialize_pre)(
00165     /* in */ struct ccaffeine_ComponentClassDescription__object* self,
00166     /* in */ void* opaque_CCDescription_addr,
00167     /* out */ struct sidl_BaseInterface__object **_ex);
00168   void (*f_getComponentClassName_pre)(
00169     /* in */ struct ccaffeine_ComponentClassDescription__object* self,
00170     /* out */ struct sidl_BaseInterface__object **_ex);
00171 };
00172 
00173 /*
00174  * Declare the method post hooks entry point vector.
00175  */
00176 
00177 struct ccaffeine_ComponentClassDescription__post_epv {
00178   void (*f_initialize_post)(
00179     /* in */ struct ccaffeine_ComponentClassDescription__object* self,
00180     /* in */ void* opaque_CCDescription_addr,
00181     /* out */ struct sidl_BaseInterface__object **_ex);
00182   void (*f_getComponentClassName_post)(
00183     /* in */ struct ccaffeine_ComponentClassDescription__object* self,
00184     /* in */ const char* _retval,
00185     /* out */ struct sidl_BaseInterface__object **_ex);
00186 };
00187 
00188 /*
00189  * Define the controls and statistics structure.
00190  */
00191 
00192 
00193 struct ccaffeine_ComponentClassDescription__cstats {
00194   sidl_bool use_hooks;
00195 };
00196 
00197 /*
00198  * Define the class object structure.
00199  */
00200 
00201 struct ccaffeine_ComponentClassDescription__object {
00202   struct sidl_BaseClass__object                      d_sidl_baseclass;
00203   struct gov_cca_ComponentClassDescription__object   
00204     d_gov_cca_componentclassdescription;
00205   struct ccaffeine_ComponentClassDescription__epv*   d_epv;
00206   struct ccaffeine_ComponentClassDescription__cstats d_cstats;
00207   void*                                              d_data;
00208 };
00209 
00210 struct ccaffeine_ComponentClassDescription__external {
00211   struct ccaffeine_ComponentClassDescription__object*
00212   (*createObject)(void* ddata, struct sidl_BaseInterface__object **_ex);
00213 
00214   struct sidl_BaseClass__epv*(*getSuperEPV)(void);
00215   int d_ior_major_version;
00216   int d_ior_minor_version;
00217 };
00218 
00219 /*
00220  * This function returns a pointer to a static structure of
00221  * pointers to function entry points.  Its purpose is to provide
00222  * one-stop shopping for loading DLLs.
00223  */
00224 
00225 const struct ccaffeine_ComponentClassDescription__external*
00226 ccaffeine_ComponentClassDescription__externals(void);
00227 
00228 extern struct ccaffeine_ComponentClassDescription__object*
00229 ccaffeine_ComponentClassDescription__createObject(void* ddata,struct 
00230   sidl_BaseInterface__object ** _ex);
00231 
00232 extern void ccaffeine_ComponentClassDescription__init(
00233   struct ccaffeine_ComponentClassDescription__object* self, void* ddata, struct 
00234     sidl_BaseInterface__object ** _ex);
00235 
00236 extern void ccaffeine_ComponentClassDescription__getEPVs(
00237   struct sidl_BaseInterface__epv **s_arg_epv__sidl_baseinterface,
00238   struct sidl_BaseClass__epv **s_arg_epv__sidl_baseclass,
00239   struct gov_cca_ComponentClassDescription__epv 
00240     **s_arg_epv__gov_cca_componentclassdescription,
00241   struct gov_cca_ComponentClassDescription__epv 
00242     **s_arg_epv_hooks__gov_cca_componentclassdescription,
00243   struct ccaffeine_ComponentClassDescription__epv 
00244     **s_arg_epv__ccaffeine_componentclassdescription,
00245   struct ccaffeine_ComponentClassDescription__epv 
00246     **s_arg_epv_hooks__ccaffeine_componentclassdescription);
00247 
00248 extern void ccaffeine_ComponentClassDescription__fini(
00249   struct ccaffeine_ComponentClassDescription__object* self, struct 
00250     sidl_BaseInterface__object ** _ex);
00251 
00252 extern void ccaffeine_ComponentClassDescription__IOR_version(int32_t *major, 
00253   int32_t *minor);
00254 
00255 struct sidl_BaseInterface__object* 
00256   skel_ccaffeine_ComponentClassDescription_fconnect_sidl_BaseInterface(const 
00257   char* url, sidl_bool ar, struct sidl_BaseInterface__object * *_ex);
00258 struct ccaffeine_ComponentClassDescription__remote{
00259   int d_refcount;
00260   struct sidl_rmi_InstanceHandle__object *d_ih;
00261 };
00262 
00263 #ifdef __cplusplus
00264 }
00265 #endif
00266 #endif