Horus Doc || IDL Reference || C++ Binding   Java Binding || Doxygen's quick Index  

HxCorbaVideoWriter.h

Go to the documentation of this file.
00001 // **********************************************************************
00002 //
00003 // Generated by the ORBacus IDL-to-C++ Translator
00004 //
00005 // Copyright (c) 2001
00006 // IONA Technologies, Inc.
00007 // Waltham, MA, USA
00008 //
00009 // All Rights Reserved
00010 //
00011 // **********************************************************************
00012 
00013 // Version: 4.1.0
00014 
00015 #ifndef ___HxCorbaVideoWriter_h__
00016 #define ___HxCorbaVideoWriter_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 VideoWriter;
00034 typedef VideoWriter* VideoWriter_ptr;
00035 typedef VideoWriter* VideoWriterRef;
00036 
00037 extern OB::TypeCodeConst _tc_VideoWriter;
00038 
00039 class VideoWriterFactory;
00040 typedef VideoWriterFactory* VideoWriterFactory_ptr;
00041 typedef VideoWriterFactory* VideoWriterFactoryRef;
00042 
00043 extern OB::TypeCodeConst _tc_VideoWriterFactory;
00044 
00045 } // End of namespace HxCorba
00046 
00047 void OBDuplicate(HxCorba::VideoWriter_ptr);
00048 void OBRelease(HxCorba::VideoWriter_ptr);
00049 
00050 void OBMarshal(HxCorba::VideoWriter_ptr, OB::OutputStreamImpl*);
00051 void OBUnmarshal(HxCorba::VideoWriter_ptr&, OB::InputStreamImpl*);
00052 
00053 void OBDuplicate(HxCorba::VideoWriterFactory_ptr);
00054 void OBRelease(HxCorba::VideoWriterFactory_ptr);
00055 
00056 void OBMarshal(HxCorba::VideoWriterFactory_ptr, OB::OutputStreamImpl*);
00057 void OBUnmarshal(HxCorba::VideoWriterFactory_ptr&, OB::InputStreamImpl*);
00058 
00059 namespace HxCorba
00060 {
00061 
00062 typedef OB::ObjVar< VideoWriter > VideoWriter_var;
00063 typedef OB::ObjOut< VideoWriter > VideoWriter_out;
00064 
00065 typedef OB::ObjVar< VideoWriterFactory > VideoWriterFactory_var;
00066 typedef OB::ObjOut< VideoWriterFactory > VideoWriterFactory_out;
00067 
00068 } // End of namespace HxCorba
00069 
00070 namespace OBStubImpl_HxCorba
00071 {
00072 
00073 class VideoWriter;
00074 typedef VideoWriter* VideoWriter_ptr;
00075 
00076 class VideoWriterFactory;
00077 typedef VideoWriterFactory* VideoWriterFactory_ptr;
00078 
00079 } // End of namespace OBStubImpl_HxCorba
00080 
00081 void OBDuplicate(OBStubImpl_HxCorba::VideoWriter_ptr);
00082 void OBRelease(OBStubImpl_HxCorba::VideoWriter_ptr);
00083 
00084 void OBDuplicate(OBStubImpl_HxCorba::VideoWriterFactory_ptr);
00085 void OBRelease(OBStubImpl_HxCorba::VideoWriterFactory_ptr);
00086 
00087 namespace OBStubImpl_HxCorba
00088 {
00089 
00090 typedef OB::ObjVar< VideoWriter > VideoWriter_var;
00091 
00092 typedef OB::ObjVar< VideoWriterFactory > VideoWriterFactory_var;
00093 
00094 } // End of namespace OBStubImpl_HxCorba
00095 
00096 //
00097 // IDL:HxCorba:1.0
00098 //
00099 namespace HxCorba
00100 {
00101 
00102 //
00103 // IDL:HxCorba/VideoWriter:1.0
00104 //
00105 class VideoWriter : virtual public CORBA::Object
00106 {
00107     VideoWriter(const VideoWriter&);
00108     void operator=(const VideoWriter&);
00109 
00110 protected:
00111 
00112     static const char* ids_[];
00113 
00114 public:
00115 
00116     VideoWriter() { }
00117     virtual ~VideoWriter() { }
00118 
00119     typedef VideoWriter_ptr _ptr_type;
00120     typedef VideoWriter_var _var_type;
00121 
00122     static inline VideoWriter_ptr
00123     _duplicate(VideoWriter_ptr p)
00124     {
00125         if(p)
00126             p -> _add_ref();
00127         return p;
00128     }
00129 
00130     static inline VideoWriter_ptr
00131     _nil()
00132     {
00133         return 0;
00134     }
00135 
00136     static VideoWriter_ptr _narrow(CORBA::Object_ptr);
00137     static VideoWriter_ptr _unchecked_narrow(CORBA::Object_ptr);
00138 
00139     static VideoWriter_ptr _narrow(CORBA::AbstractBase_ptr);
00140     static VideoWriter_ptr _unchecked_narrow(CORBA::AbstractBase_ptr);
00141 
00142     static const char** _OB_staticIds();
00143 
00144     //
00145     // IDL:HxCorba/VideoWriter/putFrame:1.0
00146     //
00147     virtual void putFrame(CORBA::Octet r,
00148                           CORBA::Octet g,
00149                           CORBA::Octet b) = 0;
00150 
00151     //
00152     // IDL:HxCorba/VideoWriter/putImage:1.0
00153     //
00154     virtual void putImage(ImageRep_ptr img,
00155                           const char* mode) = 0;
00156 
00157     //
00158     // IDL:HxCorba/VideoWriter/closeVideo:1.0
00159     //
00160     virtual void closeVideo() = 0;
00161 };
00162 
00163 //
00164 // IDL:HxCorba/VideoWriterFactory:1.0
00165 //
00166 class VideoWriterFactory : virtual public CORBA::Object
00167 {
00168     VideoWriterFactory(const VideoWriterFactory&);
00169     void operator=(const VideoWriterFactory&);
00170 
00171 protected:
00172 
00173     static const char* ids_[];
00174 
00175 public:
00176 
00177     VideoWriterFactory() { }
00178     virtual ~VideoWriterFactory() { }
00179 
00180     typedef VideoWriterFactory_ptr _ptr_type;
00181     typedef VideoWriterFactory_var _var_type;
00182 
00183     static inline VideoWriterFactory_ptr
00184     _duplicate(VideoWriterFactory_ptr p)
00185     {
00186         if(p)
00187             p -> _add_ref();
00188         return p;
00189     }
00190 
00191     static inline VideoWriterFactory_ptr
00192     _nil()
00193     {
00194         return 0;
00195     }
00196 
00197     static VideoWriterFactory_ptr _narrow(CORBA::Object_ptr);
00198     static VideoWriterFactory_ptr _unchecked_narrow(CORBA::Object_ptr);
00199 
00200     static VideoWriterFactory_ptr _narrow(CORBA::AbstractBase_ptr);
00201     static VideoWriterFactory_ptr _unchecked_narrow(CORBA::AbstractBase_ptr);
00202 
00203     static const char** _OB_staticIds();
00204 
00205     //
00206     // IDL:HxCorba/VideoWriterFactory/openVideo:1.0
00207     //
00208     virtual VideoWriter_ptr openVideo(const char* videoName,
00209                                       CORBA::Long w,
00210                                       CORBA::Long h) = 0;
00211 };
00212 
00213 } // End of namespace HxCorba
00214 
00215 //
00216 // IDL:HxCorba:1.0
00217 //
00218 namespace OBProxy_HxCorba
00219 {
00220 
00221 //
00222 // IDL:HxCorba/VideoWriter:1.0
00223 //
00224 class VideoWriter : virtual public ::HxCorba::VideoWriter,
00225                     virtual public OBCORBA::Object
00226 {
00227     VideoWriter(const VideoWriter&);
00228     void operator=(const VideoWriter&);
00229 
00230 protected:
00231 
00232     virtual OB::MarshalStubImpl_ptr _OB_createMarshalStubImpl();
00233 
00234 public:
00235 
00236     VideoWriter() { }
00237     virtual ~VideoWriter() { }
00238 
00239     virtual const char** _OB_ids() const;
00240 
00241     //
00242     // IDL:HxCorba/VideoWriter/putFrame:1.0
00243     //
00244     void putFrame(CORBA::Octet r,
00245                   CORBA::Octet g,
00246                   CORBA::Octet b);
00247 
00248     //
00249     // IDL:HxCorba/VideoWriter/putImage:1.0
00250     //
00251     void putImage(::HxCorba::ImageRep_ptr img,
00252                   const char* mode);
00253 
00254     //
00255     // IDL:HxCorba/VideoWriter/closeVideo:1.0
00256     //
00257     void closeVideo();
00258 };
00259 
00260 //
00261 // IDL:HxCorba/VideoWriterFactory:1.0
00262 //
00263 class VideoWriterFactory : virtual public ::HxCorba::VideoWriterFactory,
00264                            virtual public OBCORBA::Object
00265 {
00266     VideoWriterFactory(const VideoWriterFactory&);
00267     void operator=(const VideoWriterFactory&);
00268 
00269 protected:
00270 
00271     virtual OB::MarshalStubImpl_ptr _OB_createMarshalStubImpl();
00272 
00273 public:
00274 
00275     VideoWriterFactory() { }
00276     virtual ~VideoWriterFactory() { }
00277 
00278     virtual const char** _OB_ids() const;
00279 
00280     //
00281     // IDL:HxCorba/VideoWriterFactory/openVideo:1.0
00282     //
00283     ::HxCorba::VideoWriter_ptr openVideo(const char* videoName,
00284                                          CORBA::Long w,
00285                                          CORBA::Long h);
00286 };
00287 
00288 } // End of namespace OBProxy_HxCorba
00289 
00290 //
00291 // IDL:HxCorba:1.0
00292 //
00293 namespace OBStubImpl_HxCorba
00294 {
00295 
00296 //
00297 // IDL:HxCorba/VideoWriter:1.0
00298 //
00299 class VideoWriter : virtual public OB::StubImplBase
00300 {
00301     VideoWriter(const VideoWriter&);
00302     void operator=(const VideoWriter&);
00303 
00304 protected:
00305 
00306     VideoWriter() { }
00307 
00308 public:
00309 
00310     static inline VideoWriter_ptr
00311     _duplicate(VideoWriter_ptr p)
00312     {
00313         if(p)
00314             p -> _OB_incRef();
00315         return p;
00316     }
00317 
00318     static inline VideoWriter_ptr
00319     _nil()
00320     {
00321         return 0;
00322     }
00323 
00324     //
00325     // IDL:HxCorba/VideoWriter/putFrame:1.0
00326     //
00327     virtual void putFrame(CORBA::Octet r,
00328                           CORBA::Octet g,
00329                           CORBA::Octet b) = 0;
00330 
00331     //
00332     // IDL:HxCorba/VideoWriter/putImage:1.0
00333     //
00334     virtual void putImage(::HxCorba::ImageRep_ptr img,
00335                           const char* mode) = 0;
00336 
00337     //
00338     // IDL:HxCorba/VideoWriter/closeVideo:1.0
00339     //
00340     virtual void closeVideo() = 0;
00341 };
00342 
00343 //
00344 // IDL:HxCorba/VideoWriterFactory:1.0
00345 //
00346 class VideoWriterFactory : virtual public OB::StubImplBase
00347 {
00348     VideoWriterFactory(const VideoWriterFactory&);
00349     void operator=(const VideoWriterFactory&);
00350 
00351 protected:
00352 
00353     VideoWriterFactory() { }
00354 
00355 public:
00356 
00357     static inline VideoWriterFactory_ptr
00358     _duplicate(VideoWriterFactory_ptr p)
00359     {
00360         if(p)
00361             p -> _OB_incRef();
00362         return p;
00363     }
00364 
00365     static inline VideoWriterFactory_ptr
00366     _nil()
00367     {
00368         return 0;
00369     }
00370 
00371     //
00372     // IDL:HxCorba/VideoWriterFactory/openVideo:1.0
00373     //
00374     virtual ::HxCorba::VideoWriter_ptr openVideo(const char* videoName,
00375                                                  CORBA::Long w,
00376                                                  CORBA::Long h) = 0;
00377 };
00378 
00379 } // End of namespace OBStubImpl_HxCorba
00380 
00381 //
00382 // IDL:HxCorba:1.0
00383 //
00384 namespace OBMarshalStubImpl_HxCorba
00385 {
00386 
00387 //
00388 // IDL:HxCorba/VideoWriter:1.0
00389 //
00390 class VideoWriter : virtual public OBStubImpl_HxCorba::VideoWriter,
00391                     virtual public OB::MarshalStubImpl
00392 {
00393     VideoWriter(const VideoWriter&);
00394     void operator=(const VideoWriter&);
00395 
00396 protected:
00397 
00398     VideoWriter() { }
00399     friend class OBProxy_HxCorba::VideoWriter;
00400 
00401 public:
00402 
00403     //
00404     // IDL:HxCorba/VideoWriter/putFrame:1.0
00405     //
00406     virtual void putFrame(CORBA::Octet r,
00407                           CORBA::Octet g,
00408                           CORBA::Octet b);
00409 
00410     //
00411     // IDL:HxCorba/VideoWriter/putImage:1.0
00412     //
00413     virtual void putImage(::HxCorba::ImageRep_ptr img,
00414                           const char* mode);
00415 
00416     //
00417     // IDL:HxCorba/VideoWriter/closeVideo:1.0
00418     //
00419     virtual void closeVideo();
00420 };
00421 
00422 //
00423 // IDL:HxCorba/VideoWriterFactory:1.0
00424 //
00425 class VideoWriterFactory : virtual public OBStubImpl_HxCorba::VideoWriterFactory,
00426                            virtual public OB::MarshalStubImpl
00427 {
00428     VideoWriterFactory(const VideoWriterFactory&);
00429     void operator=(const VideoWriterFactory&);
00430 
00431 protected:
00432 
00433     VideoWriterFactory() { }
00434     friend class OBProxy_HxCorba::VideoWriterFactory;
00435 
00436 public:
00437 
00438     //
00439     // IDL:HxCorba/VideoWriterFactory/openVideo:1.0
00440     //
00441     virtual ::HxCorba::VideoWriter_ptr openVideo(const char* videoName,
00442                                                  CORBA::Long w,
00443                                                  CORBA::Long h);
00444 };
00445 
00446 } // End of namespace OBMarshalStubImpl_HxCorba
00447 
00448 //
00449 // IDL:HxCorba:1.0
00450 //
00451 namespace OBV_HxCorba
00452 {
00453 
00454 } // End of namespace OBV_HxCorba
00455 
00456 //
00457 // IDL:HxCorba/VideoWriter:1.0
00458 //
00459 namespace CORBA
00460 {
00461 
00462 inline void
00463 release(::HxCorba::VideoWriter_ptr p)
00464 {
00465     if(p)
00466         p -> _remove_ref();
00467 }
00468 
00469 inline Boolean
00470 is_nil(::HxCorba::VideoWriter_ptr p)
00471 {
00472     return p == 0;
00473 }
00474 
00475 inline void
00476 release(OBStubImpl_HxCorba::VideoWriter_ptr p)
00477 {
00478     if(p)
00479         p -> _OB_decRef();
00480 }
00481 
00482 inline Boolean
00483 is_nil(OBStubImpl_HxCorba::VideoWriter_ptr p)
00484 {
00485     return p == 0;
00486 }
00487 
00488 } // End of namespace CORBA
00489 
00490 void operator<<=(CORBA::Any&, HxCorba::VideoWriter_ptr*);
00491 void operator<<=(CORBA::Any&, HxCorba::VideoWriter_ptr);
00492 CORBA::Boolean operator>>=(const CORBA::Any&, HxCorba::VideoWriter_ptr&);
00493 
00494 inline void
00495 operator<<=(CORBA::Any_var& any, HxCorba::VideoWriter_ptr* val)
00496 {
00497     any.inout() <<= val;
00498 }
00499 
00500 inline void
00501 operator<<=(CORBA::Any_var& any, HxCorba::VideoWriter_ptr val)
00502 {
00503     any.inout() <<= val;
00504 }
00505 
00506 inline CORBA::Boolean
00507 operator>>=(const CORBA::Any_var& any, HxCorba::VideoWriter_ptr& val)
00508 {
00509     return any.in() >>= val;
00510 }
00511 
00512 //
00513 // IDL:HxCorba/VideoWriterFactory:1.0
00514 //
00515 namespace CORBA
00516 {
00517 
00518 inline void
00519 release(::HxCorba::VideoWriterFactory_ptr p)
00520 {
00521     if(p)
00522         p -> _remove_ref();
00523 }
00524 
00525 inline Boolean
00526 is_nil(::HxCorba::VideoWriterFactory_ptr p)
00527 {
00528     return p == 0;
00529 }
00530 
00531 inline void
00532 release(OBStubImpl_HxCorba::VideoWriterFactory_ptr p)
00533 {
00534     if(p)
00535         p -> _OB_decRef();
00536 }
00537 
00538 inline Boolean
00539 is_nil(OBStubImpl_HxCorba::VideoWriterFactory_ptr p)
00540 {
00541     return p == 0;
00542 }
00543 
00544 } // End of namespace CORBA
00545 
00546 void operator<<=(CORBA::Any&, HxCorba::VideoWriterFactory_ptr*);
00547 void operator<<=(CORBA::Any&, HxCorba::VideoWriterFactory_ptr);
00548 CORBA::Boolean operator>>=(const CORBA::Any&, HxCorba::VideoWriterFactory_ptr&);
00549 
00550 inline void
00551 operator<<=(CORBA::Any_var& any, HxCorba::VideoWriterFactory_ptr* val)
00552 {
00553     any.inout() <<= val;
00554 }
00555 
00556 inline void
00557 operator<<=(CORBA::Any_var& any, HxCorba::VideoWriterFactory_ptr val)
00558 {
00559     any.inout() <<= val;
00560 }
00561 
00562 inline CORBA::Boolean
00563 operator>>=(const CORBA::Any_var& any, HxCorba::VideoWriterFactory_ptr& val)
00564 {
00565     return any.in() >>= val;
00566 }
00567 
00568 #endif

Generated on Mon Jan 27 15:08:01 2003 for C++Binding by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001