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

HxCorbaVideoPlayer.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 ___HxCorbaVideoPlayer_h__
00016 #define ___HxCorbaVideoPlayer_h__
00017 
00018 #ifndef OB_INTEGER_VERSION
00019 #   error No ORBacus version defined! Is <OB/CORBA.h> included?
00020 #endif
00021 
00022 #ifndef OB_NO_VERSION_CHECK
00023 #   if (OB_INTEGER_VERSION != 4000500L)
00024 #       error ORBacus version mismatch!
00025 #   endif
00026 #endif
00027 
00028 namespace HxCorba
00029 {
00030 
00031 class VideoPlayer;
00032 typedef VideoPlayer* VideoPlayer_ptr;
00033 typedef VideoPlayer* VideoPlayerRef;
00034 
00035 extern OB::TypeCodeConst _tc_VideoPlayer;
00036 
00037 class VideoPlayerFactory;
00038 typedef VideoPlayerFactory* VideoPlayerFactory_ptr;
00039 typedef VideoPlayerFactory* VideoPlayerFactoryRef;
00040 
00041 extern OB::TypeCodeConst _tc_VideoPlayerFactory;
00042 
00043 } // End of namespace HxCorba
00044 
00045 void OBDuplicate(HxCorba::VideoPlayer_ptr);
00046 void OBRelease(HxCorba::VideoPlayer_ptr);
00047 
00048 void OBMarshal(HxCorba::VideoPlayer_ptr, OB::OutputStreamImpl*);
00049 void OBUnmarshal(HxCorba::VideoPlayer_ptr&, OB::InputStreamImpl*);
00050 
00051 void OBDuplicate(HxCorba::VideoPlayerFactory_ptr);
00052 void OBRelease(HxCorba::VideoPlayerFactory_ptr);
00053 
00054 void OBMarshal(HxCorba::VideoPlayerFactory_ptr, OB::OutputStreamImpl*);
00055 void OBUnmarshal(HxCorba::VideoPlayerFactory_ptr&, OB::InputStreamImpl*);
00056 
00057 namespace HxCorba
00058 {
00059 
00060 typedef OB::ObjVar< VideoPlayer > VideoPlayer_var;
00061 typedef OB::ObjOut< VideoPlayer > VideoPlayer_out;
00062 
00063 typedef OB::ObjVar< VideoPlayerFactory > VideoPlayerFactory_var;
00064 typedef OB::ObjOut< VideoPlayerFactory > VideoPlayerFactory_out;
00065 
00066 } // End of namespace HxCorba
00067 
00068 namespace OBStubImpl_HxCorba
00069 {
00070 
00071 class VideoPlayer;
00072 typedef VideoPlayer* VideoPlayer_ptr;
00073 
00074 class VideoPlayerFactory;
00075 typedef VideoPlayerFactory* VideoPlayerFactory_ptr;
00076 
00077 } // End of namespace OBStubImpl_HxCorba
00078 
00079 void OBDuplicate(OBStubImpl_HxCorba::VideoPlayer_ptr);
00080 void OBRelease(OBStubImpl_HxCorba::VideoPlayer_ptr);
00081 
00082 void OBDuplicate(OBStubImpl_HxCorba::VideoPlayerFactory_ptr);
00083 void OBRelease(OBStubImpl_HxCorba::VideoPlayerFactory_ptr);
00084 
00085 namespace OBStubImpl_HxCorba
00086 {
00087 
00088 typedef OB::ObjVar< VideoPlayer > VideoPlayer_var;
00089 
00090 typedef OB::ObjVar< VideoPlayerFactory > VideoPlayerFactory_var;
00091 
00092 } // End of namespace OBStubImpl_HxCorba
00093 
00094 //
00095 // IDL:HxCorba:1.0
00096 //
00097 namespace HxCorba
00098 {
00099 
00100 //
00101 // IDL:HxCorba/VideoPlayer:1.0
00102 //
00103 class VideoPlayer : virtual public CORBA::Object
00104 {
00105     VideoPlayer(const VideoPlayer&);
00106     void operator=(const VideoPlayer&);
00107 
00108     static const char* ids_[];
00109 
00110 protected:
00111 
00112     virtual OB::MarshalStubImpl_ptr _OB_createMarshalStubImpl();
00113 
00114 public:
00115 
00116     VideoPlayer() { }
00117     virtual ~VideoPlayer() { }
00118 
00119     typedef VideoPlayer_ptr _ptr_type;
00120     typedef VideoPlayer_var _var_type;
00121 
00122     static inline VideoPlayer_ptr
00123     _duplicate(VideoPlayer_ptr p)
00124     {
00125         if(p)
00126             p -> _OB_incRef();
00127         return p;
00128     }
00129 
00130     static inline VideoPlayer_ptr
00131     _nil()
00132     {
00133         return 0;
00134     }
00135 
00136     static VideoPlayer_ptr _narrow(CORBA::Object_ptr);
00137     static VideoPlayer_ptr _narrow(CORBA::AbstractBase_ptr);
00138 
00139     virtual const char** _OB_ids() const;
00140     static const char** _OB_staticIds();
00141 
00142     //
00143     // IDL:HxCorba/VideoPlayer/play:1.0
00144     //
00145     void play();
00146 
00147     //
00148     // IDL:HxCorba/VideoPlayer/stop:1.0
00149     //
00150     void stop();
00151 
00152     //
00153     // IDL:HxCorba/VideoPlayer/seek:1.0
00154     //
00155     void seek(CORBA::Long frame);
00156 
00157     //
00158     // IDL:HxCorba/VideoPlayer/close:1.0
00159     //
00160     void close();
00161 };
00162 
00163 //
00164 // IDL:HxCorba/VideoPlayerFactory:1.0
00165 //
00166 class VideoPlayerFactory : virtual public CORBA::Object
00167 {
00168     VideoPlayerFactory(const VideoPlayerFactory&);
00169     void operator=(const VideoPlayerFactory&);
00170 
00171     static const char* ids_[];
00172 
00173 protected:
00174 
00175     virtual OB::MarshalStubImpl_ptr _OB_createMarshalStubImpl();
00176 
00177 public:
00178 
00179     VideoPlayerFactory() { }
00180     virtual ~VideoPlayerFactory() { }
00181 
00182     typedef VideoPlayerFactory_ptr _ptr_type;
00183     typedef VideoPlayerFactory_var _var_type;
00184 
00185     static inline VideoPlayerFactory_ptr
00186     _duplicate(VideoPlayerFactory_ptr p)
00187     {
00188         if(p)
00189             p -> _OB_incRef();
00190         return p;
00191     }
00192 
00193     static inline VideoPlayerFactory_ptr
00194     _nil()
00195     {
00196         return 0;
00197     }
00198 
00199     static VideoPlayerFactory_ptr _narrow(CORBA::Object_ptr);
00200     static VideoPlayerFactory_ptr _narrow(CORBA::AbstractBase_ptr);
00201 
00202     virtual const char** _OB_ids() const;
00203     static const char** _OB_staticIds();
00204 
00205     //
00206     // IDL:HxCorba/VideoPlayerFactory/makeFullPlayer:1.0
00207     //
00208     VideoPlayer_ptr makeFullPlayer(const char* fileName);
00209 
00210     //
00211     // IDL:HxCorba/VideoPlayerFactory/makeAudioPlayer:1.0
00212     //
00213     VideoPlayer_ptr makeAudioPlayer(const char* fileName);
00214 };
00215 
00216 } // End of namespace HxCorba
00217 
00218 //
00219 // IDL:HxCorba:1.0
00220 //
00221 namespace OBStubImpl_HxCorba
00222 {
00223 
00224 //
00225 // IDL:HxCorba/VideoPlayer:1.0
00226 //
00227 class VideoPlayer : virtual public OB::StubImplBase
00228 {
00229     VideoPlayer(const VideoPlayer&);
00230     void operator=(const VideoPlayer&);
00231 
00232 protected:
00233 
00234     VideoPlayer() { }
00235 
00236 public:
00237 
00238     static inline VideoPlayer_ptr
00239     _duplicate(VideoPlayer_ptr p)
00240     {
00241         if(p)
00242             p -> _OB_incRef();
00243         return p;
00244     }
00245 
00246     static inline VideoPlayer_ptr
00247     _nil()
00248     {
00249         return 0;
00250     }
00251 
00252     //
00253     // IDL:HxCorba/VideoPlayer/play:1.0
00254     //
00255     virtual void play() = 0;
00256 
00257     //
00258     // IDL:HxCorba/VideoPlayer/stop:1.0
00259     //
00260     virtual void stop() = 0;
00261 
00262     //
00263     // IDL:HxCorba/VideoPlayer/seek:1.0
00264     //
00265     virtual void seek(CORBA::Long frame) = 0;
00266 
00267     //
00268     // IDL:HxCorba/VideoPlayer/close:1.0
00269     //
00270     virtual void close() = 0;
00271 };
00272 
00273 //
00274 // IDL:HxCorba/VideoPlayerFactory:1.0
00275 //
00276 class VideoPlayerFactory : virtual public OB::StubImplBase
00277 {
00278     VideoPlayerFactory(const VideoPlayerFactory&);
00279     void operator=(const VideoPlayerFactory&);
00280 
00281 protected:
00282 
00283     VideoPlayerFactory() { }
00284 
00285 public:
00286 
00287     static inline VideoPlayerFactory_ptr
00288     _duplicate(VideoPlayerFactory_ptr p)
00289     {
00290         if(p)
00291             p -> _OB_incRef();
00292         return p;
00293     }
00294 
00295     static inline VideoPlayerFactory_ptr
00296     _nil()
00297     {
00298         return 0;
00299     }
00300 
00301     //
00302     // IDL:HxCorba/VideoPlayerFactory/makeFullPlayer:1.0
00303     //
00304     virtual HxCorba::VideoPlayer_ptr makeFullPlayer(const char* fileName) = 0;
00305 
00306     //
00307     // IDL:HxCorba/VideoPlayerFactory/makeAudioPlayer:1.0
00308     //
00309     virtual HxCorba::VideoPlayer_ptr makeAudioPlayer(const char* fileName) = 0;
00310 };
00311 
00312 } // End of namespace OBStubImpl_HxCorba
00313 
00314 //
00315 // IDL:HxCorba:1.0
00316 //
00317 namespace OBMarshalStubImpl_HxCorba
00318 {
00319 
00320 //
00321 // IDL:HxCorba/VideoPlayer:1.0
00322 //
00323 class VideoPlayer : virtual public OBStubImpl_HxCorba::VideoPlayer,
00324                     virtual public OB::MarshalStubImpl
00325 {
00326     VideoPlayer(const VideoPlayer&);
00327     void operator=(const VideoPlayer&);
00328 
00329 protected:
00330 
00331     VideoPlayer() { }
00332     friend class HxCorba::VideoPlayer;
00333 
00334 public:
00335 
00336     //
00337     // IDL:HxCorba/VideoPlayer/play:1.0
00338     //
00339     virtual void play();
00340 
00341     //
00342     // IDL:HxCorba/VideoPlayer/stop:1.0
00343     //
00344     virtual void stop();
00345 
00346     //
00347     // IDL:HxCorba/VideoPlayer/seek:1.0
00348     //
00349     virtual void seek(CORBA::Long frame);
00350 
00351     //
00352     // IDL:HxCorba/VideoPlayer/close:1.0
00353     //
00354     virtual void close();
00355 };
00356 
00357 //
00358 // IDL:HxCorba/VideoPlayerFactory:1.0
00359 //
00360 class VideoPlayerFactory : virtual public OBStubImpl_HxCorba::VideoPlayerFactory,
00361                            virtual public OB::MarshalStubImpl
00362 {
00363     VideoPlayerFactory(const VideoPlayerFactory&);
00364     void operator=(const VideoPlayerFactory&);
00365 
00366 protected:
00367 
00368     VideoPlayerFactory() { }
00369     friend class HxCorba::VideoPlayerFactory;
00370 
00371 public:
00372 
00373     //
00374     // IDL:HxCorba/VideoPlayerFactory/makeFullPlayer:1.0
00375     //
00376     virtual HxCorba::VideoPlayer_ptr makeFullPlayer(const char* fileName);
00377 
00378     //
00379     // IDL:HxCorba/VideoPlayerFactory/makeAudioPlayer:1.0
00380     //
00381     virtual HxCorba::VideoPlayer_ptr makeAudioPlayer(const char* fileName);
00382 };
00383 
00384 } // End of namespace OBMarshalStubImpl_HxCorba
00385 
00386 //
00387 // IDL:HxCorba:1.0
00388 //
00389 namespace OBV_HxCorba
00390 {
00391 
00392 } // End of namespace OBV_HxCorba
00393 
00394 //
00395 // IDL:HxCorba/VideoPlayer:1.0
00396 //
00397 namespace CORBA
00398 {
00399 
00400 inline void
00401 release(HxCorba::VideoPlayer_ptr p)
00402 {
00403     if(p)
00404         p -> _OB_decRef();
00405 }
00406 
00407 inline Boolean
00408 is_nil(HxCorba::VideoPlayer_ptr p)
00409 {
00410     return p == 0;
00411 }
00412 
00413 inline void
00414 release(OBStubImpl_HxCorba::VideoPlayer_ptr p)
00415 {
00416     if(p)
00417         p -> _OB_decRef();
00418 }
00419 
00420 inline Boolean
00421 is_nil(OBStubImpl_HxCorba::VideoPlayer_ptr p)
00422 {
00423     return p == 0;
00424 }
00425 
00426 } // End of namespace CORBA
00427 
00428 void operator<<=(CORBA::Any&, HxCorba::VideoPlayer_ptr*);
00429 void operator<<=(CORBA::Any&, HxCorba::VideoPlayer_ptr);
00430 CORBA::Boolean operator>>=(const CORBA::Any&, HxCorba::VideoPlayer_ptr&);
00431 
00432 inline void
00433 operator<<=(CORBA::Any_var& any, HxCorba::VideoPlayer_ptr* val)
00434 {
00435     any.inout() <<= val;
00436 }
00437 
00438 inline void
00439 operator<<=(CORBA::Any_var& any, HxCorba::VideoPlayer_ptr val)
00440 {
00441     any.inout() <<= val;
00442 }
00443 
00444 inline CORBA::Boolean
00445 operator>>=(const CORBA::Any_var& any, HxCorba::VideoPlayer_ptr& val)
00446 {
00447     return any.in() >>= val;
00448 }
00449 
00450 //
00451 // IDL:HxCorba/VideoPlayerFactory:1.0
00452 //
00453 namespace CORBA
00454 {
00455 
00456 inline void
00457 release(HxCorba::VideoPlayerFactory_ptr p)
00458 {
00459     if(p)
00460         p -> _OB_decRef();
00461 }
00462 
00463 inline Boolean
00464 is_nil(HxCorba::VideoPlayerFactory_ptr p)
00465 {
00466     return p == 0;
00467 }
00468 
00469 inline void
00470 release(OBStubImpl_HxCorba::VideoPlayerFactory_ptr p)
00471 {
00472     if(p)
00473         p -> _OB_decRef();
00474 }
00475 
00476 inline Boolean
00477 is_nil(OBStubImpl_HxCorba::VideoPlayerFactory_ptr p)
00478 {
00479     return p == 0;
00480 }
00481 
00482 } // End of namespace CORBA
00483 
00484 void operator<<=(CORBA::Any&, HxCorba::VideoPlayerFactory_ptr*);
00485 void operator<<=(CORBA::Any&, HxCorba::VideoPlayerFactory_ptr);
00486 CORBA::Boolean operator>>=(const CORBA::Any&, HxCorba::VideoPlayerFactory_ptr&);
00487 
00488 inline void
00489 operator<<=(CORBA::Any_var& any, HxCorba::VideoPlayerFactory_ptr* val)
00490 {
00491     any.inout() <<= val;
00492 }
00493 
00494 inline void
00495 operator<<=(CORBA::Any_var& any, HxCorba::VideoPlayerFactory_ptr val)
00496 {
00497     any.inout() <<= val;
00498 }
00499 
00500 inline CORBA::Boolean
00501 operator>>=(const CORBA::Any_var& any, HxCorba::VideoPlayerFactory_ptr& val)
00502 {
00503     return any.in() >>= val;
00504 }
00505 
00506 #endif

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