CCAFFEINE  0.8.8
ccafe1_StarterComponent_IOR.h
00001 /*
00002  * File:          ccafe1_StarterComponent_IOR.h
00003  * Symbol:        ccafe1.StarterComponent-v0.1
00004  * Symbol Type:   class
00005  * Babel Version: 1.4.0
00006  * Description:   Intermediate Object Representation for ccafe1.StarterComponent
00007  * 
00008  * WARNING: Automatically generated; changes will be lost
00009  * 
00010  */
00011 
00012 #ifndef included_ccafe1_StarterComponent_IOR_h
00013 #define included_ccafe1_StarterComponent_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_Component_IOR_h
00020 #include "gov_cca_Component_IOR.h"
00021 #endif
00022 #ifndef included_gov_cca_Port_IOR_h
00023 #include "gov_cca_Port_IOR.h"
00024 #endif
00025 #ifndef included_gov_cca_ports_GoPort_IOR_h
00026 #include "gov_cca_ports_GoPort_IOR.h"
00027 #endif
00028 #ifndef included_sidl_BaseClass_IOR_h
00029 #include "sidl_BaseClass_IOR.h"
00030 #endif
00031 
00032 #ifdef __cplusplus
00033 extern "C" {
00034 #endif
00035 
00036 /*
00037  * Symbol "ccafe1.StarterComponent" (version 0.1)
00038  * 
00039  *  When the GoPort is hit, use the StringConsumerPort to send a
00040  * string. 
00041  */
00042 
00043 struct ccafe1_StarterComponent__array;
00044 struct ccafe1_StarterComponent__object;
00045 
00046 /*
00047  * Forward references for external classes and interfaces.
00048  */
00049 
00050 struct gov_cca_CCAException__array;
00051 struct gov_cca_CCAException__object;
00052 struct gov_cca_Services__array;
00053 struct gov_cca_Services__object;
00054 struct sidl_BaseException__array;
00055 struct sidl_BaseException__object;
00056 struct sidl_BaseInterface__array;
00057 struct sidl_BaseInterface__object;
00058 struct sidl_ClassInfo__array;
00059 struct sidl_ClassInfo__object;
00060 struct sidl_RuntimeException__array;
00061 struct sidl_RuntimeException__object;
00062 struct sidl_rmi_Call__array;
00063 struct sidl_rmi_Call__object;
00064 struct sidl_rmi_Return__array;
00065 struct sidl_rmi_Return__object;
00066 
00067 /*
00068  * Declare the method entry point vector.
00069  */
00070 
00071 struct ccafe1_StarterComponent__epv {
00072   /* Implicit builtin methods */
00073   /* 0 */
00074   void* (*f__cast)(
00075     /* in */ struct ccafe1_StarterComponent__object* self,
00076     /* in */ const char* name,
00077     /* out */ struct sidl_BaseInterface__object **_ex);
00078   /* 1 */
00079   void (*f__delete)(
00080     /* in */ struct ccafe1_StarterComponent__object* self,
00081     /* out */ struct sidl_BaseInterface__object **_ex);
00082   /* 2 */
00083   void (*f__exec)(
00084     /* in */ struct ccafe1_StarterComponent__object* self,
00085     /* in */ const char* methodName,
00086     /* in */ struct sidl_rmi_Call__object* inArgs,
00087     /* in */ struct sidl_rmi_Return__object* outArgs,
00088     /* out */ struct sidl_BaseInterface__object **_ex);
00089   /* 3 */
00090   char* (*f__getURL)(
00091     /* in */ struct ccafe1_StarterComponent__object* self,
00092     /* out */ struct sidl_BaseInterface__object **_ex);
00093   /* 4 */
00094   void (*f__raddRef)(
00095     /* in */ struct ccafe1_StarterComponent__object* self,
00096     /* out */ struct sidl_BaseInterface__object **_ex);
00097   /* 5 */
00098   sidl_bool (*f__isRemote)(
00099     /* in */ struct ccafe1_StarterComponent__object* self,
00100     /* out */ struct sidl_BaseInterface__object **_ex);
00101   /* 6 */
00102   void (*f__set_hooks)(
00103     /* in */ struct ccafe1_StarterComponent__object* self,
00104     /* in */ sidl_bool enable,
00105     /* out */ struct sidl_BaseInterface__object **_ex);
00106   /* 7 */
00107   void (*f__set_contracts)(
00108     /* in */ struct ccafe1_StarterComponent__object* self,
00109     /* in */ sidl_bool enable,
00110     /* in */ const char* enfFilename,
00111     /* in */ sidl_bool resetCounters,
00112     /* out */ struct sidl_BaseInterface__object **_ex);
00113   /* 8 */
00114   void (*f__dump_stats)(
00115     /* in */ struct ccafe1_StarterComponent__object* self,
00116     /* in */ const char* filename,
00117     /* in */ const char* prefix,
00118     /* out */ struct sidl_BaseInterface__object **_ex);
00119   /* 9 */
00120   void (*f__ctor)(
00121     /* in */ struct ccafe1_StarterComponent__object* self,
00122     /* out */ struct sidl_BaseInterface__object **_ex);
00123   /* 10 */
00124   void (*f__ctor2)(
00125     /* in */ struct ccafe1_StarterComponent__object* self,
00126     /* in */ void* private_data,
00127     /* out */ struct sidl_BaseInterface__object **_ex);
00128   /* 11 */
00129   void (*f__dtor)(
00130     /* in */ struct ccafe1_StarterComponent__object* self,
00131     /* out */ struct sidl_BaseInterface__object **_ex);
00132   /* 12 */
00133   void (*f__load)(
00134     /* out */ struct sidl_BaseInterface__object **_ex);
00135   /* Methods introduced in sidl.BaseInterface-v0.9.17 */
00136   void (*f_addRef)(
00137     /* in */ struct ccafe1_StarterComponent__object* self,
00138     /* out */ struct sidl_BaseInterface__object **_ex);
00139   void (*f_deleteRef)(
00140     /* in */ struct ccafe1_StarterComponent__object* self,
00141     /* out */ struct sidl_BaseInterface__object **_ex);
00142   sidl_bool (*f_isSame)(
00143     /* in */ struct ccafe1_StarterComponent__object* self,
00144     /* in */ struct sidl_BaseInterface__object* iobj,
00145     /* out */ struct sidl_BaseInterface__object **_ex);
00146   sidl_bool (*f_isType)(
00147     /* in */ struct ccafe1_StarterComponent__object* self,
00148     /* in */ const char* name,
00149     /* out */ struct sidl_BaseInterface__object **_ex);
00150   struct sidl_ClassInfo__object* (*f_getClassInfo)(
00151     /* in */ struct ccafe1_StarterComponent__object* self,
00152     /* out */ struct sidl_BaseInterface__object **_ex);
00153   /* Methods introduced in sidl.BaseClass-v0.9.17 */
00154   /* Methods introduced in gov.cca.Component-v0.8.5 */
00155   void (*f_setServices)(
00156     /* in */ struct ccafe1_StarterComponent__object* self,
00157     /* in */ struct gov_cca_Services__object* services,
00158     /* out */ struct sidl_BaseInterface__object **_ex);
00159   /* Methods introduced in gov.cca.Port-v0.8.5 */
00160   /* Methods introduced in gov.cca.ports.GoPort-v0.8.5 */
00161   int32_t (*f_go)(
00162     /* in */ struct ccafe1_StarterComponent__object* self,
00163     /* out */ struct sidl_BaseInterface__object **_ex);
00164   /* Methods introduced in ccafe1.StarterComponent-v0.1 */
00165 };
00166 
00167 /*
00168  * Declare the method pre hooks entry point vector.
00169  */
00170 
00171 struct ccafe1_StarterComponent__pre_epv {
00172   void (*f_setServices_pre)(
00173     /* in */ struct ccafe1_StarterComponent__object* self,
00174     /* in */ struct gov_cca_Services__object* services,
00175     /* out */ struct sidl_BaseInterface__object **_ex);
00176   void (*f_go_pre)(
00177     /* in */ struct ccafe1_StarterComponent__object* self,
00178     /* out */ struct sidl_BaseInterface__object **_ex);
00179 };
00180 
00181 /*
00182  * Declare the method post hooks entry point vector.
00183  */
00184 
00185 struct ccafe1_StarterComponent__post_epv {
00186   void (*f_setServices_post)(
00187     /* in */ struct ccafe1_StarterComponent__object* self,
00188     /* in */ struct gov_cca_Services__object* services,
00189     /* out */ struct sidl_BaseInterface__object **_ex);
00190   void (*f_go_post)(
00191     /* in */ struct ccafe1_StarterComponent__object* self,
00192     /* in */ int32_t _retval,
00193     /* out */ struct sidl_BaseInterface__object **_ex);
00194 };
00195 
00196 /*
00197  * Define the controls and statistics structure.
00198  */
00199 
00200 
00201 struct ccafe1_StarterComponent__cstats {
00202   sidl_bool use_hooks;
00203 };
00204 
00205 /*
00206  * Define the class object structure.
00207  */
00208 
00209 struct ccafe1_StarterComponent__object {
00210   struct sidl_BaseClass__object          d_sidl_baseclass;
00211   struct gov_cca_Component__object       d_gov_cca_component;
00212   struct gov_cca_Port__object            d_gov_cca_port;
00213   struct gov_cca_ports_GoPort__object    d_gov_cca_ports_goport;
00214   struct ccafe1_StarterComponent__epv*   d_epv;
00215   struct ccafe1_StarterComponent__cstats d_cstats;
00216   void*                                  d_data;
00217 };
00218 
00219 struct ccafe1_StarterComponent__external {
00220   struct ccafe1_StarterComponent__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 ccafe1_StarterComponent__external*
00235 ccafe1_StarterComponent__externals(void);
00236 
00237 extern struct ccafe1_StarterComponent__object*
00238 ccafe1_StarterComponent__createObject(void* ddata,struct 
00239   sidl_BaseInterface__object ** _ex);
00240 
00241 extern void ccafe1_StarterComponent__init(
00242   struct ccafe1_StarterComponent__object* self, void* ddata, struct 
00243     sidl_BaseInterface__object ** _ex);
00244 
00245 extern void ccafe1_StarterComponent__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_Component__epv **s_arg_epv__gov_cca_component,
00249   struct gov_cca_Component__epv **s_arg_epv_hooks__gov_cca_component,
00250   struct gov_cca_Port__epv **s_arg_epv__gov_cca_port,
00251   struct gov_cca_Port__epv **s_arg_epv_hooks__gov_cca_port,
00252   struct gov_cca_ports_GoPort__epv **s_arg_epv__gov_cca_ports_goport,
00253   struct gov_cca_ports_GoPort__epv **s_arg_epv_hooks__gov_cca_ports_goport,
00254   struct ccafe1_StarterComponent__epv **s_arg_epv__ccafe1_startercomponent,
00255   struct ccafe1_StarterComponent__epv 
00256     **s_arg_epv_hooks__ccafe1_startercomponent);
00257 
00258 extern void ccafe1_StarterComponent__fini(
00259   struct ccafe1_StarterComponent__object* self, struct 
00260     sidl_BaseInterface__object ** _ex);
00261 
00262 extern void ccafe1_StarterComponent__IOR_version(int32_t *major, int32_t 
00263   *minor);
00264 
00265 struct gov_cca_Services__object* 
00266   skel_ccafe1_StarterComponent_fconnect_gov_cca_Services(const char* url, 
00267   sidl_bool ar, struct sidl_BaseInterface__object * *_ex);
00268 struct sidl_BaseInterface__object* 
00269   skel_ccafe1_StarterComponent_fconnect_sidl_BaseInterface(const char* url, 
00270   sidl_bool ar, struct sidl_BaseInterface__object * *_ex);
00271 struct ccafe1_StarterComponent__remote{
00272   int d_refcount;
00273   struct sidl_rmi_InstanceHandle__object *d_ih;
00274 };
00275 
00276 #ifdef __cplusplus
00277 }
00278 #endif
00279 #endif