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 != 4000500L)
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 static const char* ids_[];
00088
00089 protected:
00090
00091 virtual OB::MarshalStubImpl_ptr _OB_createMarshalStubImpl();
00092
00093 public:
00094
00095 TVCapture() { }
00096 virtual ~TVCapture() { }
00097
00098 typedef TVCapture_ptr _ptr_type;
00099 typedef TVCapture_var _var_type;
00100
00101 static inline TVCapture_ptr
00102 _duplicate(TVCapture_ptr p)
00103 {
00104 if(p)
00105 p -> _OB_incRef();
00106 return p;
00107 }
00108
00109 static inline TVCapture_ptr
00110 _nil()
00111 {
00112 return 0;
00113 }
00114
00115 static TVCapture_ptr _narrow(CORBA::Object_ptr);
00116 static TVCapture_ptr _narrow(CORBA::AbstractBase_ptr);
00117
00118 virtual const char** _OB_ids() const;
00119 static const char** _OB_staticIds();
00120
00121
00122
00123
00124 Sizes getSizes();
00125
00126
00127
00128
00129 RgbSeq* getRgb();
00130
00131
00132
00133
00134 void close();
00135 };
00136
00137 }
00138
00139
00140
00141
00142 namespace OBStubImpl_HxCorba
00143 {
00144
00145
00146
00147
00148 class TVCapture : virtual public OB::StubImplBase
00149 {
00150 TVCapture(const TVCapture&);
00151 void operator=(const TVCapture&);
00152
00153 protected:
00154
00155 TVCapture() { }
00156
00157 public:
00158
00159 static inline TVCapture_ptr
00160 _duplicate(TVCapture_ptr p)
00161 {
00162 if(p)
00163 p -> _OB_incRef();
00164 return p;
00165 }
00166
00167 static inline TVCapture_ptr
00168 _nil()
00169 {
00170 return 0;
00171 }
00172
00173
00174
00175
00176 virtual HxCorba::Sizes getSizes() = 0;
00177
00178
00179
00180
00181 virtual HxCorba::RgbSeq* getRgb() = 0;
00182
00183
00184
00185
00186 virtual void close() = 0;
00187 };
00188
00189 }
00190
00191
00192
00193
00194 namespace OBMarshalStubImpl_HxCorba
00195 {
00196
00197
00198
00199
00200 class TVCapture : virtual public OBStubImpl_HxCorba::TVCapture,
00201 virtual public OB::MarshalStubImpl
00202 {
00203 TVCapture(const TVCapture&);
00204 void operator=(const TVCapture&);
00205
00206 protected:
00207
00208 TVCapture() { }
00209 friend class HxCorba::TVCapture;
00210
00211 public:
00212
00213
00214
00215
00216 virtual HxCorba::Sizes getSizes();
00217
00218
00219
00220
00221 virtual HxCorba::RgbSeq* getRgb();
00222
00223
00224
00225
00226 virtual void close();
00227 };
00228
00229 }
00230
00231
00232
00233
00234 namespace OBV_HxCorba
00235 {
00236
00237 }
00238
00239
00240
00241
00242 namespace CORBA
00243 {
00244
00245 inline void
00246 release(HxCorba::TVCapture_ptr p)
00247 {
00248 if(p)
00249 p -> _OB_decRef();
00250 }
00251
00252 inline Boolean
00253 is_nil(HxCorba::TVCapture_ptr p)
00254 {
00255 return p == 0;
00256 }
00257
00258 inline void
00259 release(OBStubImpl_HxCorba::TVCapture_ptr p)
00260 {
00261 if(p)
00262 p -> _OB_decRef();
00263 }
00264
00265 inline Boolean
00266 is_nil(OBStubImpl_HxCorba::TVCapture_ptr p)
00267 {
00268 return p == 0;
00269 }
00270
00271 }
00272
00273 void operator<<=(CORBA::Any&, HxCorba::TVCapture_ptr*);
00274 void operator<<=(CORBA::Any&, HxCorba::TVCapture_ptr);
00275 CORBA::Boolean operator>>=(const CORBA::Any&, HxCorba::TVCapture_ptr&);
00276
00277 inline void
00278 operator<<=(CORBA::Any_var& any, HxCorba::TVCapture_ptr* val)
00279 {
00280 any.inout() <<= val;
00281 }
00282
00283 inline void
00284 operator<<=(CORBA::Any_var& any, HxCorba::TVCapture_ptr val)
00285 {
00286 any.inout() <<= val;
00287 }
00288
00289 inline CORBA::Boolean
00290 operator>>=(const CORBA::Any_var& any, HxCorba::TVCapture_ptr& val)
00291 {
00292 return any.in() >>= val;
00293 }
00294
00295 #endif