Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

HxCorbaVideoWriter.h

Go to the documentation of this file.
00001 // **********************************************************************
00002 //
00003 // Generated by the ORBacus IDL-to-C++ Translator
00004 //
00005 // Copyright (c) 2000
00006 // Object Oriented Concepts, Inc.
00007 // Billerica, MA, USA
00008 //
00009 // All Rights Reserved
00010 //
00011 // **********************************************************************
00012 
00013 // Version: 4.0.5
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 != 4000500L)
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     static const char* ids_[];
00111 
00112 protected:
00113 
00114     virtual OB::MarshalStubImpl_ptr _OB_createMarshalStubImpl();
00115 
00116 public:
00117 
00118     VideoWriter() { }
00119     virtual ~VideoWriter() { }
00120 
00121     typedef VideoWriter_ptr _ptr_type;
00122     typedef VideoWriter_var _var_type;
00123 
00124     static inline VideoWriter_ptr
00125     _duplicate(VideoWriter_ptr p)
00126     {
00127         if(p)
00128             p -> _OB_incRef();
00129         return p;
00130     }
00131 
00132     static inline VideoWriter_ptr
00133     _nil()
00134     {
00135         return 0;
00136     }
00137 
00138     static VideoWriter_ptr _narrow(CORBA::Object_ptr);
00139     static VideoWriter_ptr _narrow(CORBA::AbstractBase_ptr);
00140 
00141     virtual const char** _OB_ids() const;
00142     static const char** _OB_staticIds();
00143 
00144     //
00145     // IDL:HxCorba/VideoWriter/putFrame:1.0
00146     //
00147     void putFrame(CORBA::Octet r,
00148                   CORBA::Octet g,
00149                   CORBA::Octet b);
00150 
00151     //
00152     // IDL:HxCorba/VideoWriter/putImage:1.0
00153     //
00154     void putImage(ImageRep_ptr img,
00155                   const char* mode);
00156 
00157     //
00158     // IDL:HxCorba/VideoWriter/closeVideo:1.0
00159     //
00160     void closeVideo();
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     static const char* ids_[];
00172 
00173 protected:
00174 
00175     virtual OB::MarshalStubImpl_ptr _OB_createMarshalStubImpl();
00176 
00177 public:
00178 
00179     VideoWriterFactory() { }
00180     virtual ~VideoWriterFactory() { }
00181 
00182     typedef VideoWriterFactory_ptr _ptr_type;
00183     typedef VideoWriterFactory_var _var_type;
00184 
00185     static inline VideoWriterFactory_ptr
00186     _duplicate(VideoWriterFactory_ptr p)
00187     {
00188         if(p)
00189             p -> _OB_incRef();
00190         return p;
00191     }
00192 
00193     static inline VideoWriterFactory_ptr
00194     _nil()
00195     {
00196         return 0;
00197     }
00198 
00199     static VideoWriterFactory_ptr _narrow(CORBA::Object_ptr);
00200     static VideoWriterFactory_ptr _narrow(CORBA::AbstractBase_ptr);
00201 
00202     virtual const char** _OB_ids() const;
00203     static const char** _OB_staticIds();
00204 
00205     //
00206     // IDL:HxCorba/VideoWriterFactory/openVideo:1.0
00207     //
00208     VideoWriter_ptr openVideo(const char* videoName,
00209                               CORBA::Long w,
00210                               CORBA::Long h);
00211 };
00212 
00213 } // End of namespace HxCorba
00214 
00215 //
00216 // IDL:HxCorba:1.0
00217 //
00218 namespace OBStubImpl_HxCorba
00219 {
00220 
00221 //
00222 // IDL:HxCorba/VideoWriter:1.0
00223 //
00224 class VideoWriter : virtual public OB::StubImplBase
00225 {
00226     VideoWriter(const VideoWriter&);
00227     void operator=(const VideoWriter&);
00228 
00229 protected:
00230 
00231     VideoWriter() { }
00232 
00233 public:
00234 
00235     static inline VideoWriter_ptr
00236     _duplicate(VideoWriter_ptr p)
00237     {
00238         if(p)
00239             p -> _OB_incRef();
00240         return p;
00241     }
00242 
00243     static inline VideoWriter_ptr
00244     _nil()
00245     {
00246         return 0;
00247     }
00248 
00249     //
00250     // IDL:HxCorba/VideoWriter/putFrame:1.0
00251     //
00252     virtual void putFrame(CORBA::Octet r,
00253                           CORBA::Octet g,
00254                           CORBA::Octet b) = 0;
00255 
00256     //
00257     // IDL:HxCorba/VideoWriter/putImage:1.0
00258     //
00259     virtual void putImage(HxCorba::ImageRep_ptr img,
00260                           const char* mode) = 0;
00261 
00262     //
00263     // IDL:HxCorba/VideoWriter/closeVideo:1.0
00264     //
00265     virtual void closeVideo() = 0;
00266 };
00267 
00268 //
00269 // IDL:HxCorba/VideoWriterFactory:1.0
00270 //
00271 class VideoWriterFactory : virtual public OB::StubImplBase
00272 {
00273     VideoWriterFactory(const VideoWriterFactory&);
00274     void operator=(const VideoWriterFactory&);
00275 
00276 protected:
00277 
00278     VideoWriterFactory() { }
00279 
00280 public:
00281 
00282     static inline VideoWriterFactory_ptr
00283     _duplicate(VideoWriterFactory_ptr p)
00284     {
00285         if(p)
00286             p -> _OB_incRef();
00287         return p;
00288     }
00289 
00290     static inline VideoWriterFactory_ptr
00291     _nil()
00292     {
00293         return 0;
00294     }
00295 
00296     //
00297     // IDL:HxCorba/VideoWriterFactory/openVideo:1.0
00298     //
00299     virtual HxCorba::VideoWriter_ptr openVideo(const char* videoName,
00300                                                CORBA::Long w,
00301                                                CORBA::Long h) = 0;
00302 };
00303 
00304 } // End of namespace OBStubImpl_HxCorba
00305 
00306 //
00307 // IDL:HxCorba:1.0
00308 //
00309 namespace OBMarshalStubImpl_HxCorba
00310 {
00311 
00312 //
00313 // IDL:HxCorba/VideoWriter:1.0
00314 //
00315 class VideoWriter : virtual public OBStubImpl_HxCorba::VideoWriter,
00316                     virtual public OB::MarshalStubImpl
00317 {
00318     VideoWriter(const VideoWriter&);
00319     void operator=(const VideoWriter&);
00320 
00321 protected:
00322 
00323     VideoWriter() { }
00324     friend class HxCorba::VideoWriter;
00325 
00326 public:
00327 
00328     //
00329     // IDL:HxCorba/VideoWriter/putFrame:1.0
00330     //
00331     virtual void putFrame(CORBA::Octet r,
00332                           CORBA::Octet g,
00333                           CORBA::Octet b);
00334 
00335     //
00336     // IDL:HxCorba/VideoWriter/putImage:1.0
00337     //
00338     virtual void putImage(HxCorba::ImageRep_ptr img,
00339                           const char* mode);
00340 
00341     //
00342     // IDL:HxCorba/VideoWriter/closeVideo:1.0
00343     //
00344     virtual void closeVideo();
00345 };
00346 
00347 //
00348 // IDL:HxCorba/VideoWriterFactory:1.0
00349 //
00350 class VideoWriterFactory : virtual public OBStubImpl_HxCorba::VideoWriterFactory,
00351                            virtual public OB::MarshalStubImpl
00352 {
00353     VideoWriterFactory(const VideoWriterFactory&);
00354     void operator=(const VideoWriterFactory&);
00355 
00356 protected:
00357 
00358     VideoWriterFactory() { }
00359     friend class HxCorba::VideoWriterFactory;
00360 
00361 public:
00362 
00363     //
00364     // IDL:HxCorba/VideoWriterFactory/openVideo:1.0
00365     //
00366     virtual HxCorba::VideoWriter_ptr openVideo(const char* videoName,
00367                                                CORBA::Long w,
00368                                                CORBA::Long h);
00369 };
00370 
00371 } // End of namespace OBMarshalStubImpl_HxCorba
00372 
00373 //
00374 // IDL:HxCorba:1.0
00375 //
00376 namespace OBV_HxCorba
00377 {
00378 
00379 } // End of namespace OBV_HxCorba
00380 
00381 //
00382 // IDL:HxCorba/VideoWriter:1.0
00383 //
00384 namespace CORBA
00385 {
00386 
00387 inline void
00388 release(HxCorba::VideoWriter_ptr p)
00389 {
00390     if(p)
00391         p -> _OB_decRef();
00392 }
00393 
00394 inline Boolean
00395 is_nil(HxCorba::VideoWriter_ptr p)
00396 {
00397     return p == 0;
00398 }
00399 
00400 inline void
00401 release(OBStubImpl_HxCorba::VideoWriter_ptr p)
00402 {
00403     if(p)
00404         p -> _OB_decRef();
00405 }
00406 
00407 inline Boolean
00408 is_nil(OBStubImpl_HxCorba::VideoWriter_ptr p)
00409 {
00410     return p == 0;
00411 }
00412 
00413 } // End of namespace CORBA
00414 
00415 void operator<<=(CORBA::Any&, HxCorba::VideoWriter_ptr*);
00416 void operator<<=(CORBA::Any&, HxCorba::VideoWriter_ptr);
00417 CORBA::Boolean operator>>=(const CORBA::Any&, HxCorba::VideoWriter_ptr&);
00418 
00419 inline void
00420 operator<<=(CORBA::Any_var& any, HxCorba::VideoWriter_ptr* val)
00421 {
00422     any.inout() <<= val;
00423 }
00424 
00425 inline void
00426 operator<<=(CORBA::Any_var& any, HxCorba::VideoWriter_ptr val)
00427 {
00428     any.inout() <<= val;
00429 }
00430 
00431 inline CORBA::Boolean
00432 operator>>=(const CORBA::Any_var& any, HxCorba::VideoWriter_ptr& val)
00433 {
00434     return any.in() >>= val;
00435 }
00436 
00437 //
00438 // IDL:HxCorba/VideoWriterFactory:1.0
00439 //
00440 namespace CORBA
00441 {
00442 
00443 inline void
00444 release(HxCorba::VideoWriterFactory_ptr p)
00445 {
00446     if(p)
00447         p -> _OB_decRef();
00448 }
00449 
00450 inline Boolean
00451 is_nil(HxCorba::VideoWriterFactory_ptr p)
00452 {
00453     return p == 0;
00454 }
00455 
00456 inline void
00457 release(OBStubImpl_HxCorba::VideoWriterFactory_ptr p)
00458 {
00459     if(p)
00460         p -> _OB_decRef();
00461 }
00462 
00463 inline Boolean
00464 is_nil(OBStubImpl_HxCorba::VideoWriterFactory_ptr p)
00465 {
00466     return p == 0;
00467 }
00468 
00469 } // End of namespace CORBA
00470 
00471 void operator<<=(CORBA::Any&, HxCorba::VideoWriterFactory_ptr*);
00472 void operator<<=(CORBA::Any&, HxCorba::VideoWriterFactory_ptr);
00473 CORBA::Boolean operator>>=(const CORBA::Any&, HxCorba::VideoWriterFactory_ptr&);
00474 
00475 inline void
00476 operator<<=(CORBA::Any_var& any, HxCorba::VideoWriterFactory_ptr* val)
00477 {
00478     any.inout() <<= val;
00479 }
00480 
00481 inline void
00482 operator<<=(CORBA::Any_var& any, HxCorba::VideoWriterFactory_ptr val)
00483 {
00484     any.inout() <<= val;
00485 }
00486 
00487 inline CORBA::Boolean
00488 operator>>=(const CORBA::Any_var& any, HxCorba::VideoWriterFactory_ptr& val)
00489 {
00490     return any.in() >>= val;
00491 }
00492 
00493 #endif

Generated on Tue Jan 8 13:57:04 2002 for C++Binding by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001