CCAFFEINE
0.8.8
|
00001 /* 00002 * File: ccafe0_PrinterComponent_IOR.h 00003 * Symbol: ccafe0.PrinterComponent-v0.0 00004 * Symbol Type: class 00005 * Babel Version: 1.4.0 00006 * Description: Intermediate Object Representation for ccafe0.PrinterComponent 00007 * 00008 * WARNING: Automatically generated; changes will be lost 00009 * 00010 */ 00011 00012 #ifndef included_ccafe0_PrinterComponent_IOR_h 00013 #define included_ccafe0_PrinterComponent_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_ccafe3_StringConsumerPort_IOR_h 00020 #include "ccafe3_StringConsumerPort_IOR.h" 00021 #endif 00022 #ifndef included_gov_cca_Component_IOR_h 00023 #include "gov_cca_Component_IOR.h" 00024 #endif 00025 #ifndef included_gov_cca_Port_IOR_h 00026 #include "gov_cca_Port_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 "ccafe0.PrinterComponent" (version 0.0) 00038 * 00039 * When a string is set on this component, it prints it out. 00040 */ 00041 00042 struct ccafe0_PrinterComponent__array; 00043 struct ccafe0_PrinterComponent__object; 00044 00045 /* 00046 * Forward references for external classes and interfaces. 00047 */ 00048 00049 struct gov_cca_CCAException__array; 00050 struct gov_cca_CCAException__object; 00051 struct gov_cca_Services__array; 00052 struct gov_cca_Services__object; 00053 struct sidl_BaseException__array; 00054 struct sidl_BaseException__object; 00055 struct sidl_BaseInterface__array; 00056 struct sidl_BaseInterface__object; 00057 struct sidl_ClassInfo__array; 00058 struct sidl_ClassInfo__object; 00059 struct sidl_RuntimeException__array; 00060 struct sidl_RuntimeException__object; 00061 struct sidl_rmi_Call__array; 00062 struct sidl_rmi_Call__object; 00063 struct sidl_rmi_Return__array; 00064 struct sidl_rmi_Return__object; 00065 00066 /* 00067 * Declare the method entry point vector. 00068 */ 00069 00070 struct ccafe0_PrinterComponent__epv { 00071 /* Implicit builtin methods */ 00072 /* 0 */ 00073 void* (*f__cast)( 00074 /* in */ struct ccafe0_PrinterComponent__object* self, 00075 /* in */ const char* name, 00076 /* out */ struct sidl_BaseInterface__object **_ex); 00077 /* 1 */ 00078 void (*f__delete)( 00079 /* in */ struct ccafe0_PrinterComponent__object* self, 00080 /* out */ struct sidl_BaseInterface__object **_ex); 00081 /* 2 */ 00082 void (*f__exec)( 00083 /* in */ struct ccafe0_PrinterComponent__object* self, 00084 /* in */ const char* methodName, 00085 /* in */ struct sidl_rmi_Call__object* inArgs, 00086 /* in */ struct sidl_rmi_Return__object* outArgs, 00087 /* out */ struct sidl_BaseInterface__object **_ex); 00088 /* 3 */ 00089 char* (*f__getURL)( 00090 /* in */ struct ccafe0_PrinterComponent__object* self, 00091 /* out */ struct sidl_BaseInterface__object **_ex); 00092 /* 4 */ 00093 void (*f__raddRef)( 00094 /* in */ struct ccafe0_PrinterComponent__object* self, 00095 /* out */ struct sidl_BaseInterface__object **_ex); 00096 /* 5 */ 00097 sidl_bool (*f__isRemote)( 00098 /* in */ struct ccafe0_PrinterComponent__object* self, 00099 /* out */ struct sidl_BaseInterface__object **_ex); 00100 /* 6 */ 00101 void (*f__set_hooks)( 00102 /* in */ struct ccafe0_PrinterComponent__object* self, 00103 /* in */ sidl_bool enable, 00104 /* out */ struct sidl_BaseInterface__object **_ex); 00105 /* 7 */ 00106 void (*f__set_contracts)( 00107 /* in */ struct ccafe0_PrinterComponent__object* self, 00108 /* in */ sidl_bool enable, 00109 /* in */ const char* enfFilename, 00110 /* in */ sidl_bool resetCounters, 00111 /* out */ struct sidl_BaseInterface__object **_ex); 00112 /* 8 */ 00113 void (*f__dump_stats)( 00114 /* in */ struct ccafe0_PrinterComponent__object* self, 00115 /* in */ const char* filename, 00116 /* in */ const char* prefix, 00117 /* out */ struct sidl_BaseInterface__object **_ex); 00118 /* 9 */ 00119 void (*f__ctor)( 00120 /* in */ struct ccafe0_PrinterComponent__object* self, 00121 /* out */ struct sidl_BaseInterface__object **_ex); 00122 /* 10 */ 00123 void (*f__ctor2)( 00124 /* in */ struct ccafe0_PrinterComponent__object* self, 00125 /* in */ void* private_data, 00126 /* out */ struct sidl_BaseInterface__object **_ex); 00127 /* 11 */ 00128 void (*f__dtor)( 00129 /* in */ struct ccafe0_PrinterComponent__object* self, 00130 /* out */ struct sidl_BaseInterface__object **_ex); 00131 /* 12 */ 00132 void (*f__load)( 00133 /* out */ struct sidl_BaseInterface__object **_ex); 00134 /* Methods introduced in sidl.BaseInterface-v0.9.17 */ 00135 void (*f_addRef)( 00136 /* in */ struct ccafe0_PrinterComponent__object* self, 00137 /* out */ struct sidl_BaseInterface__object **_ex); 00138 void (*f_deleteRef)( 00139 /* in */ struct ccafe0_PrinterComponent__object* self, 00140 /* out */ struct sidl_BaseInterface__object **_ex); 00141 sidl_bool (*f_isSame)( 00142 /* in */ struct ccafe0_PrinterComponent__object* self, 00143 /* in */ struct sidl_BaseInterface__object* iobj, 00144 /* out */ struct sidl_BaseInterface__object **_ex); 00145 sidl_bool (*f_isType)( 00146 /* in */ struct ccafe0_PrinterComponent__object* self, 00147 /* in */ const char* name, 00148 /* out */ struct sidl_BaseInterface__object **_ex); 00149 struct sidl_ClassInfo__object* (*f_getClassInfo)( 00150 /* in */ struct ccafe0_PrinterComponent__object* self, 00151 /* out */ struct sidl_BaseInterface__object **_ex); 00152 /* Methods introduced in sidl.BaseClass-v0.9.17 */ 00153 /* Methods introduced in gov.cca.Port-v0.8.5 */ 00154 /* Methods introduced in ccafe3.StringConsumerPort-v0.0 */ 00155 void (*f_setString)( 00156 /* in */ struct ccafe0_PrinterComponent__object* self, 00157 /* in */ const char* s, 00158 /* out */ struct sidl_BaseInterface__object **_ex); 00159 /* Methods introduced in gov.cca.Component-v0.8.5 */ 00160 void (*f_setServices)( 00161 /* in */ struct ccafe0_PrinterComponent__object* self, 00162 /* in */ struct gov_cca_Services__object* services, 00163 /* out */ struct sidl_BaseInterface__object **_ex); 00164 /* Methods introduced in ccafe0.PrinterComponent-v0.0 */ 00165 }; 00166 00167 /* 00168 * Declare the method pre hooks entry point vector. 00169 */ 00170 00171 struct ccafe0_PrinterComponent__pre_epv { 00172 void (*f_setServices_pre)( 00173 /* in */ struct ccafe0_PrinterComponent__object* self, 00174 /* in */ struct gov_cca_Services__object* services, 00175 /* out */ struct sidl_BaseInterface__object **_ex); 00176 void (*f_setString_pre)( 00177 /* in */ struct ccafe0_PrinterComponent__object* self, 00178 /* in */ const char* s, 00179 /* out */ struct sidl_BaseInterface__object **_ex); 00180 }; 00181 00182 /* 00183 * Declare the method post hooks entry point vector. 00184 */ 00185 00186 struct ccafe0_PrinterComponent__post_epv { 00187 void (*f_setServices_post)( 00188 /* in */ struct ccafe0_PrinterComponent__object* self, 00189 /* in */ struct gov_cca_Services__object* services, 00190 /* out */ struct sidl_BaseInterface__object **_ex); 00191 void (*f_setString_post)( 00192 /* in */ struct ccafe0_PrinterComponent__object* self, 00193 /* in */ const char* s, 00194 /* out */ struct sidl_BaseInterface__object **_ex); 00195 }; 00196 00197 /* 00198 * Define the controls and statistics structure. 00199 */ 00200 00201 00202 struct ccafe0_PrinterComponent__cstats { 00203 sidl_bool use_hooks; 00204 }; 00205 00206 /* 00207 * Define the class object structure. 00208 */ 00209 00210 struct ccafe0_PrinterComponent__object { 00211 struct sidl_BaseClass__object d_sidl_baseclass; 00212 struct ccafe3_StringConsumerPort__object d_ccafe3_stringconsumerport; 00213 struct gov_cca_Component__object d_gov_cca_component; 00214 struct gov_cca_Port__object d_gov_cca_port; 00215 struct ccafe0_PrinterComponent__epv* d_epv; 00216 struct ccafe0_PrinterComponent__cstats d_cstats; 00217 void* d_data; 00218 }; 00219 00220 struct ccafe0_PrinterComponent__external { 00221 struct ccafe0_PrinterComponent__object* 00222 (*createObject)(void* ddata, struct sidl_BaseInterface__object **_ex); 00223 00224 struct sidl_BaseClass__epv*(*getSuperEPV)(void); 00225 int d_ior_major_version; 00226 int d_ior_minor_version; 00227 }; 00228 00229 /* 00230 * This function returns a pointer to a static structure of 00231 * pointers to function entry points. Its purpose is to provide 00232 * one-stop shopping for loading DLLs. 00233 */ 00234 00235 const struct ccafe0_PrinterComponent__external* 00236 ccafe0_PrinterComponent__externals(void); 00237 00238 extern struct ccafe0_PrinterComponent__object* 00239 ccafe0_PrinterComponent__createObject(void* ddata,struct 00240 sidl_BaseInterface__object ** _ex); 00241 00242 extern void ccafe0_PrinterComponent__init( 00243 struct ccafe0_PrinterComponent__object* self, void* ddata, struct 00244 sidl_BaseInterface__object ** _ex); 00245 00246 extern void ccafe0_PrinterComponent__getEPVs( 00247 struct sidl_BaseInterface__epv **s_arg_epv__sidl_baseinterface, 00248 struct sidl_BaseClass__epv **s_arg_epv__sidl_baseclass, 00249 struct ccafe3_StringConsumerPort__epv **s_arg_epv__ccafe3_stringconsumerport, 00250 struct ccafe3_StringConsumerPort__epv 00251 **s_arg_epv_hooks__ccafe3_stringconsumerport, 00252 struct gov_cca_Component__epv **s_arg_epv__gov_cca_component, 00253 struct gov_cca_Component__epv **s_arg_epv_hooks__gov_cca_component, 00254 struct gov_cca_Port__epv **s_arg_epv__gov_cca_port, 00255 struct gov_cca_Port__epv **s_arg_epv_hooks__gov_cca_port, 00256 struct ccafe0_PrinterComponent__epv **s_arg_epv__ccafe0_printercomponent, 00257 struct ccafe0_PrinterComponent__epv 00258 **s_arg_epv_hooks__ccafe0_printercomponent); 00259 00260 extern void ccafe0_PrinterComponent__fini( 00261 struct ccafe0_PrinterComponent__object* self, struct 00262 sidl_BaseInterface__object ** _ex); 00263 00264 extern void ccafe0_PrinterComponent__IOR_version(int32_t *major, int32_t 00265 *minor); 00266 00267 struct gov_cca_Services__object* 00268 skel_ccafe0_PrinterComponent_fconnect_gov_cca_Services(const char* url, 00269 sidl_bool ar, struct sidl_BaseInterface__object * *_ex); 00270 struct sidl_BaseInterface__object* 00271 skel_ccafe0_PrinterComponent_fconnect_sidl_BaseInterface(const char* url, 00272 sidl_bool ar, struct sidl_BaseInterface__object * *_ex); 00273 struct ccafe0_PrinterComponent__remote{ 00274 int d_refcount; 00275 struct sidl_rmi_InstanceHandle__object *d_ih; 00276 }; 00277 00278 #ifdef __cplusplus 00279 } 00280 #endif 00281 #endif