00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef ___HxCorbaVideoPlayer_skel_h__
00016 #define ___HxCorbaVideoPlayer_skel_h__
00017
00018 #include <HxCorbaVideoPlayer.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
00031
00032
00033 namespace POA_HxCorba
00034 {
00035
00036
00037
00038
00039 class VideoPlayer : virtual public PortableServer::ServantBase
00040 {
00041 VideoPlayer(const VideoPlayer&);
00042 void operator=(const VideoPlayer&);
00043
00044 protected:
00045
00046
00047
00048
00049 void _OB_op_play(OB::Upcall_ptr);
00050
00051
00052
00053
00054 void _OB_op_stop(OB::Upcall_ptr);
00055
00056
00057
00058
00059 void _OB_op_seek(OB::Upcall_ptr);
00060
00061
00062
00063
00064 void _OB_op_close(OB::Upcall_ptr);
00065
00066 public:
00067
00068 VideoPlayer() { }
00069
00070 virtual CORBA::Boolean _is_a(const char*)
00071 throw(CORBA::SystemException);
00072
00073 virtual CORBA::RepositoryId _primary_interface(const PortableServer::ObjectId&,
00074 PortableServer::POA_ptr);
00075
00076 HxCorba::VideoPlayer_ptr _this();
00077
00078 virtual OB::DirectStubImpl_ptr _OB_createDirectStubImpl(PortableServer::POA_ptr,
00079 const PortableServer::ObjectId&);
00080 virtual void _OB_dispatch(OB::Upcall_ptr);
00081
00082
00083
00084
00085 virtual void play()
00086 throw(CORBA::SystemException) = 0;
00087
00088
00089
00090
00091 virtual void stop()
00092 throw(CORBA::SystemException) = 0;
00093
00094
00095
00096
00097 virtual void seek(CORBA::Long frame)
00098 throw(CORBA::SystemException) = 0;
00099
00100
00101
00102
00103 virtual void close()
00104 throw(CORBA::SystemException) = 0;
00105 };
00106
00107
00108
00109
00110 class VideoPlayerFactory : virtual public PortableServer::ServantBase
00111 {
00112 VideoPlayerFactory(const VideoPlayerFactory&);
00113 void operator=(const VideoPlayerFactory&);
00114
00115 protected:
00116
00117
00118
00119
00120 void _OB_op_makeFullPlayer(OB::Upcall_ptr);
00121
00122
00123
00124
00125 void _OB_op_makeAudioPlayer(OB::Upcall_ptr);
00126
00127 public:
00128
00129 VideoPlayerFactory() { }
00130
00131 virtual CORBA::Boolean _is_a(const char*)
00132 throw(CORBA::SystemException);
00133
00134 virtual CORBA::RepositoryId _primary_interface(const PortableServer::ObjectId&,
00135 PortableServer::POA_ptr);
00136
00137 HxCorba::VideoPlayerFactory_ptr _this();
00138
00139 virtual OB::DirectStubImpl_ptr _OB_createDirectStubImpl(PortableServer::POA_ptr,
00140 const PortableServer::ObjectId&);
00141 virtual void _OB_dispatch(OB::Upcall_ptr);
00142
00143
00144
00145
00146 virtual HxCorba::VideoPlayer_ptr makeFullPlayer(const char* fileName)
00147 throw(CORBA::SystemException) = 0;
00148
00149
00150
00151
00152 virtual HxCorba::VideoPlayer_ptr makeAudioPlayer(const char* fileName)
00153 throw(CORBA::SystemException) = 0;
00154 };
00155
00156 }
00157
00158
00159
00160
00161 namespace OBDirectStubImpl_HxCorba
00162 {
00163
00164
00165
00166
00167 class VideoPlayer : virtual public OBStubImpl_HxCorba::VideoPlayer,
00168 virtual public OB::DirectStubImpl
00169 {
00170 VideoPlayer(const VideoPlayer&);
00171 void operator=(const VideoPlayer&);
00172
00173 protected:
00174
00175 #ifdef HAVE_VCPLUSPLUS_BUGS
00176
00177 VideoPlayer() { }
00178
00179 #endif
00180
00181 VideoPlayer(PortableServer::POA_ptr,
00182 const PortableServer::ObjectId&,
00183 PortableServer::ServantBase*);
00184
00185 friend class POA_HxCorba::VideoPlayer;
00186
00187 public:
00188
00189
00190
00191
00192 virtual void play();
00193
00194
00195
00196
00197 virtual void stop();
00198
00199
00200
00201
00202 virtual void seek(CORBA::Long frame);
00203
00204
00205
00206
00207 virtual void close();
00208 };
00209
00210
00211
00212
00213 class VideoPlayerFactory : virtual public OBStubImpl_HxCorba::VideoPlayerFactory,
00214 virtual public OB::DirectStubImpl
00215 {
00216 VideoPlayerFactory(const VideoPlayerFactory&);
00217 void operator=(const VideoPlayerFactory&);
00218
00219 protected:
00220
00221 #ifdef HAVE_VCPLUSPLUS_BUGS
00222
00223 VideoPlayerFactory() { }
00224
00225 #endif
00226
00227 VideoPlayerFactory(PortableServer::POA_ptr,
00228 const PortableServer::ObjectId&,
00229 PortableServer::ServantBase*);
00230
00231 friend class POA_HxCorba::VideoPlayerFactory;
00232
00233 public:
00234
00235
00236
00237
00238 virtual HxCorba::VideoPlayer_ptr makeFullPlayer(const char* fileName);
00239
00240
00241
00242
00243 virtual HxCorba::VideoPlayer_ptr makeAudioPlayer(const char* fileName);
00244 };
00245
00246 }
00247
00248 #endif