00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef ___HxCorbaTVCapture_h__
00016 #define ___HxCorbaTVCapture_h__
00017
00018 #include <HxCorbaImageRep.h>
00019
00020 #ifndef OB_INTEGER_VERSION
00021 # error No ORBacus version defined! Is <OB/CORBA.h> included?
00022 #endif
00023
00024 #ifndef OB_NO_VERSION_CHECK
00025 # if (OB_INTEGER_VERSION != 4010000L)
00026 # error ORBacus version mismatch!
00027 # endif
00028 #endif
00029
00030 namespace HxCorba
00031 {
00032
00033 class TVCapture;
00034 typedef TVCapture* TVCapture_ptr;
00035 typedef TVCapture* TVCaptureRef;
00036
00037 extern OB::TypeCodeConst _tc_TVCapture;
00038
00039 }
00040
00041 void OBDuplicate(HxCorba::TVCapture_ptr);
00042 void OBRelease(HxCorba::TVCapture_ptr);
00043
00044 void OBMarshal(HxCorba::TVCapture_ptr, OB::OutputStreamImpl*);
00045 void OBUnmarshal(HxCorba::TVCapture_ptr&, OB::InputStreamImpl*);
00046
00047 namespace HxCorba
00048 {
00049
00050 typedef OB::ObjVar< TVCapture > TVCapture_var;
00051 typedef OB::ObjOut< TVCapture > TVCapture_out;
00052
00053 }
00054
00055 namespace OBStubImpl_HxCorba
00056 {
00057
00058 class TVCapture;
00059 typedef TVCapture* TVCapture_ptr;
00060
00061 }
00062
00063 void OBDuplicate(OBStubImpl_HxCorba::TVCapture_ptr);
00064 void OBRelease(OBStubImpl_HxCorba::TVCapture_ptr);
00065
00066 namespace OBStubImpl_HxCorba
00067 {
00068
00069 typedef OB::ObjVar< TVCapture > TVCapture_var;
00070
00071 }
00072
00073
00074
00075
00076 namespace HxCorba
00077 {
00078
00079
00080
00081
00082 class TVCapture : virtual public CORBA::Object
00083 {
00084 TVCapture(const TVCapture&);
00085 void operator=(const TVCapture&);
00086
00087 protected:
00088
00089 static const char* ids_[];
00090
00091 public:
00092
00093 TVCapture() { }
00094 virtual ~TVCapture() { }
00095
00096 typedef TVCapture_ptr _ptr_type;
00097 typedef TVCapture_var _var_type;
00098
00099 static inline TVCapture_ptr
00100 _duplicate(TVCapture_ptr p)
00101 {
00102 if(p)
00103 p -> _add_ref();
00104 return p;
00105 }
00106
00107 static inline TVCapture_ptr
00108 _nil()
00109 {
00110 return 0;
00111 }
00112
00113 static TVCapture_ptr _narrow(CORBA::Object_ptr);
00114 static TVCapture_ptr _unchecked_narrow(CORBA::Object_ptr);
00115
00116 static TVCapture_ptr _narrow(CORBA::AbstractBase_ptr);
00117 static TVCapture_ptr _unchecked_narrow(CORBA::AbstractBase_ptr);
00118
00119 static const char** _OB_staticIds();
00120
00121
00122
00123
00124 virtual Sizes getSizes() = 0;
00125
00126
00127
00128
00129 virtual RgbSeq* getRgb() = 0;
00130
00131
00132
00133
00134 virtual void close() = 0;
00135 };
00136
00137 }
00138
00139
00140
00141
00142 namespace OBProxy_HxCorba
00143 {
00144
00145
00146
00147
00148 class TVCapture : virtual public ::HxCorba::TVCapture,
00149 virtual public OBCORBA::Object
00150 {
00151 TVCapture(const TVCapture&);
00152 void operator=(const TVCapture&);
00153
00154 protected:
00155
00156 virtual OB::MarshalStubImpl_ptr _OB_createMarshalStubImpl();
00157
00158 public:
00159
00160 TVCapture() { }
00161 virtual ~TVCapture() { }
00162
00163 virtual const char** _OB_ids() const;
00164
00165
00166
00167
00168 ::HxCorba::Sizes getSizes();
00169
00170
00171
00172
00173 ::HxCorba::RgbSeq* getRgb();
00174
00175
00176
00177
00178 void close();
00179 };
00180
00181 }
00182
00183
00184
00185
00186 namespace OBStubImpl_HxCorba
00187 {
00188
00189
00190
00191
00192 class TVCapture : virtual public OB::StubImplBase
00193 {
00194 TVCapture(const TVCapture&);
00195 void operator=(const TVCapture&);
00196
00197 protected:
00198
00199 TVCapture() { }
00200
00201 public:
00202
00203 static inline TVCapture_ptr
00204 _duplicate(TVCapture_ptr p)
00205 {
00206 if(p)
00207 p -> _OB_incRef();
00208 return p;
00209 }
00210
00211 static inline TVCapture_ptr
00212 _nil()
00213 {
00214 return 0;
00215 }
00216
00217
00218
00219
00220 virtual ::HxCorba::Sizes getSizes() = 0;
00221
00222
00223
00224
00225 virtual ::HxCorba::RgbSeq* getRgb() = 0;
00226
00227
00228
00229
00230 virtual void close() = 0;
00231 };
00232
00233 }
00234
00235
00236
00237
00238 namespace OBMarshalStubImpl_HxCorba
00239 {
00240
00241
00242
00243
00244 class TVCapture : virtual public OBStubImpl_HxCorba::TVCapture,
00245 virtual public OB::MarshalStubImpl
00246 {
00247 TVCapture(const TVCapture&);
00248 void operator=(const TVCapture&);
00249
00250 protected:
00251
00252 TVCapture() { }
00253 friend class OBProxy_HxCorba::TVCapture;
00254
00255 public:
00256
00257
00258
00259
00260 virtual ::HxCorba::Sizes getSizes();
00261
00262
00263
00264
00265 virtual ::HxCorba::RgbSeq* getRgb();
00266
00267
00268
00269
00270 virtual void close();
00271 };
00272
00273 }
00274
00275
00276
00277
00278 namespace OBV_HxCorba
00279 {
00280
00281 }
00282
00283
00284
00285
00286 namespace CORBA
00287 {
00288
00289 inline void
00290 release(::HxCorba::TVCapture_ptr p)
00291 {
00292 if(p)
00293 p -> _remove_ref();
00294 }
00295
00296 inline Boolean
00297 is_nil(::HxCorba::TVCapture_ptr p)
00298 {
00299 return p == 0;
00300 }
00301
00302 inline void
00303 release(OBStubImpl_HxCorba::TVCapture_ptr p)
00304 {
00305 if(p)
00306 p -> _OB_decRef();
00307 }
00308
00309 inline Boolean
00310 is_nil(OBStubImpl_HxCorba::TVCapture_ptr p)
00311 {
00312 return p == 0;
00313 }
00314
00315 }
00316
00317 void operator<<=(CORBA::Any&, HxCorba::TVCapture_ptr*);
00318 void operator<<=(CORBA::Any&, HxCorba::TVCapture_ptr);
00319 CORBA::Boolean operator>>=(const CORBA::Any&, HxCorba::TVCapture_ptr&);
00320
00321 inline void
00322 operator<<=(CORBA::Any_var& any, HxCorba::TVCapture_ptr* val)
00323 {
00324 any.inout() <<= val;
00325 }
00326
00327 inline void
00328 operator<<=(CORBA::Any_var& any, HxCorba::TVCapture_ptr val)
00329 {
00330 any.inout() <<= val;
00331 }
00332
00333 inline CORBA::Boolean
00334 operator>>=(const CORBA::Any_var& any, HxCorba::TVCapture_ptr& val)
00335 {
00336 return any.in() >>= val;
00337 }
00338
00339 #endif