00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #include "TGo4MbsStream.h"
00017
00018 #include "TGo4Log.h"
00019 #include "TGo4MbsStreamParameter.h"
00020
00021 TGo4MbsStream::TGo4MbsStream(const char* name)
00022 : TGo4MbsSource(name , GETEVT__STREAM)
00023 {
00024 TRACE((15,"TGo4MbsStream::TGo4MbsStream(Text_t*)",__LINE__, __FILE__));
00025
00026 TGo4Log::Debug(" New Event Source MbsStream %s: ",name);
00027 SetTimeout(fgiTIMEOUTDEFAULT);
00028 Open();
00029 }
00030
00031 TGo4MbsStream::TGo4MbsStream(TGo4MbsStreamParameter* par)
00032 : TGo4MbsSource(par->GetName() , GETEVT__STREAM)
00033 {
00034 TRACE((15,"TGo4MbsStream::TGo4MbsStream(TGo4MbsStreamParameter**)",__LINE__, __FILE__));
00035
00036 TGo4Log::Debug(" New Event Source MbsStream %s: ",GetName());
00037 SetTimeout(par->GetTimeout());
00038 Open();
00039 }
00040
00041
00042 TGo4MbsStream::TGo4MbsStream()
00043 {
00044 TRACE((15,"TGo4MbsStream::TGo4MbsStream()",__LINE__, __FILE__));
00045
00046 }
00047
00048 TGo4MbsStream::~TGo4MbsStream()
00049 {
00050 TRACE((15,"TGo4MbsStream::~TGo4MbsStream()",__LINE__, __FILE__));
00051 Close();
00052 }
00053
00054