00001
00002
00003
00004
00005
00006
00007
00008
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
00038
00039
00040
00041
00042 struct ccafe0_PrinterComponent__array;
00043 struct ccafe0_PrinterComponent__object;
00044
00045
00046
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
00068
00069
00070 struct ccafe0_PrinterComponent__epv {
00071
00072
00073 void* (*f__cast)(
00074 struct ccafe0_PrinterComponent__object* self,
00075 const char* name,
00076 struct sidl_BaseInterface__object **_ex);
00077
00078 void (*f__delete)(
00079 struct ccafe0_PrinterComponent__object* self,
00080 struct sidl_BaseInterface__object **_ex);
00081
00082 void (*f__exec)(
00083 struct ccafe0_PrinterComponent__object* self,
00084 const char* methodName,
00085 struct sidl_rmi_Call__object* inArgs,
00086 struct sidl_rmi_Return__object* outArgs,
00087 struct sidl_BaseInterface__object **_ex);
00088
00089 char* (*f__getURL)(
00090 struct ccafe0_PrinterComponent__object* self,
00091 struct sidl_BaseInterface__object **_ex);
00092
00093 void (*f__raddRef)(
00094 struct ccafe0_PrinterComponent__object* self,
00095 struct sidl_BaseInterface__object **_ex);
00096
00097 sidl_bool (*f__isRemote)(
00098 struct ccafe0_PrinterComponent__object* self,
00099 struct sidl_BaseInterface__object **_ex);
00100
00101 void (*f__set_hooks)(
00102 struct ccafe0_PrinterComponent__object* self,
00103 sidl_bool enable,
00104 struct sidl_BaseInterface__object **_ex);
00105
00106 void (*f__set_contracts)(
00107 struct ccafe0_PrinterComponent__object* self,
00108 sidl_bool enable,
00109 const char* enfFilename,
00110 sidl_bool resetCounters,
00111 struct sidl_BaseInterface__object **_ex);
00112
00113 void (*f__dump_stats)(
00114 struct ccafe0_PrinterComponent__object* self,
00115 const char* filename,
00116 const char* prefix,
00117 struct sidl_BaseInterface__object **_ex);
00118
00119 void (*f__ctor)(
00120 struct ccafe0_PrinterComponent__object* self,
00121 struct sidl_BaseInterface__object **_ex);
00122
00123 void (*f__ctor2)(
00124 struct ccafe0_PrinterComponent__object* self,
00125 void* private_data,
00126 struct sidl_BaseInterface__object **_ex);
00127
00128 void (*f__dtor)(
00129 struct ccafe0_PrinterComponent__object* self,
00130 struct sidl_BaseInterface__object **_ex);
00131
00132 void (*f__load)(
00133 struct sidl_BaseInterface__object **_ex);
00134
00135 void (*f_addRef)(
00136 struct ccafe0_PrinterComponent__object* self,
00137 struct sidl_BaseInterface__object **_ex);
00138 void (*f_deleteRef)(
00139 struct ccafe0_PrinterComponent__object* self,
00140 struct sidl_BaseInterface__object **_ex);
00141 sidl_bool (*f_isSame)(
00142 struct ccafe0_PrinterComponent__object* self,
00143 struct sidl_BaseInterface__object* iobj,
00144 struct sidl_BaseInterface__object **_ex);
00145 sidl_bool (*f_isType)(
00146 struct ccafe0_PrinterComponent__object* self,
00147 const char* name,
00148 struct sidl_BaseInterface__object **_ex);
00149 struct sidl_ClassInfo__object* (*f_getClassInfo)(
00150 struct ccafe0_PrinterComponent__object* self,
00151 struct sidl_BaseInterface__object **_ex);
00152
00153
00154
00155 void (*f_setString)(
00156 struct ccafe0_PrinterComponent__object* self,
00157 const char* s,
00158 struct sidl_BaseInterface__object **_ex);
00159
00160 void (*f_setServices)(
00161 struct ccafe0_PrinterComponent__object* self,
00162 struct gov_cca_Services__object* services,
00163 struct sidl_BaseInterface__object **_ex);
00164
00165 };
00166
00167
00168
00169
00170
00171 struct ccafe0_PrinterComponent__pre_epv {
00172 void (*f_setServices_pre)(
00173 struct ccafe0_PrinterComponent__object* self,
00174 struct gov_cca_Services__object* services,
00175 struct sidl_BaseInterface__object **_ex);
00176 void (*f_setString_pre)(
00177 struct ccafe0_PrinterComponent__object* self,
00178 const char* s,
00179 struct sidl_BaseInterface__object **_ex);
00180 };
00181
00182
00183
00184
00185
00186 struct ccafe0_PrinterComponent__post_epv {
00187 void (*f_setServices_post)(
00188 struct ccafe0_PrinterComponent__object* self,
00189 struct gov_cca_Services__object* services,
00190 struct sidl_BaseInterface__object **_ex);
00191 void (*f_setString_post)(
00192 struct ccafe0_PrinterComponent__object* self,
00193 const char* s,
00194 struct sidl_BaseInterface__object **_ex);
00195 };
00196
00197
00198
00199
00200
00201
00202 struct ccafe0_PrinterComponent__cstats {
00203 sidl_bool use_hooks;
00204 };
00205
00206
00207
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
00231
00232
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