#include <TGo4EventSource.h>
Inheritance diagram for TGo4EventSource:
Public Member Functions | |
TGo4EventSource (const char *name) | |
virtual | ~TGo4EventSource () |
TGo4EventSource () | |
virtual void | Clear (Option_t *opt="") |
Int_t | GetCreateStatus () const |
Status value of server/file open. | |
Int_t | GetEventStatus () const |
Status of the last event. | |
const char * | GetErrMess () const |
Status/ error message of the last event. | |
virtual const char * | GetActiveName () |
Access to the name of the currently active source. | |
virtual Bool_t | BuildEvent (TGo4EventElement *dest) |
Fill the destination event dest. | |
Static Public Attributes | |
static const Int_t | fgiTIMEOUTDEFAULT = 1 |
Default timeout in seconds for event input. | |
Protected Types | |
enum | { fguTXTLEN = 256 } |
text length More... | |
Protected Member Functions | |
void | SetErrMess (const char *txt) |
To be used for modification of the message by the event source implementation. | |
void | SetEventStatus (Int_t status) |
Status of the last event. | |
void | SetCreateStatus (Int_t status) |
Status value of event source init (file/server open). | |
void | ThrowError (Int_t creastat, Int_t errstat, const char *message,...) |
Exception thrower. | |
Private Attributes | |
Int_t | fiCreateStatus |
Contains return value of eventsource open (e.g. | |
Int_t | fiEventStatus |
Contains return value of eventsource getevent (e.g. | |
TString | fxErrMess |
Most recent error message. |
|
text length
Definition at line 85 of file TGo4EventSource.h. |
|
Definition at line 26 of file TGo4EventSource.cxx. References TRACE. |
|
Definition at line 39 of file TGo4EventSource.cxx. References TRACE. |
|
Definition at line 33 of file TGo4EventSource.cxx. |
|
Reimplemented in TGo4EventProcessor. Definition at line 63 of file TGo4EventSource.cxx. |
|
Status value of server/file open.
Definition at line 49 of file TGo4EventSource.h. References fiCreateStatus. Referenced by TGo4MbsSource::Close(), TGo4MbsFile::Close(), TGo4RevServ::Open(), TGo4MbsSource::Open(), TGo4MbsFile::OpenFile(), and TGo4EventSourceException::TGo4EventSourceException(). |
|
Status of the last event.
Definition at line 52 of file TGo4EventSource.h. References fiEventStatus. Referenced by TGo4MbsSource::BuildMbsEvent(), TGo4MbsSource::NextEvent(), TGo4MbsFile::NextEvent(), and TGo4EventSourceException::TGo4EventSourceException(). |
|
Status/ error message of the last event.
Definition at line 55 of file TGo4EventSource.h. References fxErrMess. Referenced by TGo4MbsSource::BuildMbsEvent(), TYYYRawEvent::Fill(), TGo4MbsEvent::Fill(), and TGo4EventSourceException::TGo4EventSourceException(). |
|
Access to the name of the currently active source. for filelist, this is the active input file Reimplemented in TGo4MbsFile. Definition at line 68 of file TGo4EventSource.cxx. Referenced by TGo4AnalysisStep::GetEventSourceName(). |
|
Fill the destination event dest.
Reimplemented in TGo4FileSource, TGo4TreeSource, TXXXProc, and TXXXProc. Definition at line 62 of file TGo4EventSource.h. Referenced by TGo4EventElement::Fill(). |
|
To be used for modification of the message by the event source implementation.
Definition at line 73 of file TGo4EventSource.h. References fxErrMess. Referenced by TGo4MbsSource::BuildMbsEvent(), TYYYEventSource::BuildYYYEvent(), TYYYEventSource::NextEvent(), TGo4MbsSource::NextEvent(), TGo4MbsFile::NextEvent(), TGo4MbsFile::NextFile(), TYYYEventSource::Open(), TGo4RevServ::Open(), TGo4MbsSource::Open(), TGo4MbsFile::Open(), TGo4MbsFile::OpenFile(), and ThrowError(). |
|
Status of the last event.
Definition at line 76 of file TGo4EventSource.h. References fiEventStatus. Referenced by TGo4MbsSource::NextEvent(), TGo4MbsFile::NextEvent(), and ThrowError(). |
|
Status value of event source init (file/server open).
Definition at line 79 of file TGo4EventSource.h. References fiCreateStatus. Referenced by TYYYEventSource::NextEvent(), TGo4MbsFile::NextFile(), TYYYEventSource::Open(), TGo4RevServ::Open(), TGo4MbsSource::Open(), TGo4MbsFile::Open(), TGo4FileSource::Open(), TGo4MbsFile::OpenFile(), and ThrowError(). |
|
Exception thrower.
Definition at line 45 of file TGo4EventSource.cxx. References fguTXTLEN, SetCreateStatus(), SetErrMess(), and SetEventStatus(). Referenced by TGo4FileSource::BuildCompositeEvent(), TGo4TreeSource::BuildEvent(), TGo4FileSource::BuildEvent(), TGo4TreeSource::Open(), and TGo4FileSource::Open(). |
|
Default timeout in seconds for event input.
Definition at line 24 of file TGo4EventSource.cxx. Referenced by TGo4MbsEventServer::TGo4MbsEventServer(), TGo4MbsStream::TGo4MbsStream(), TGo4MbsTransport::TGo4MbsTransport(), and TGo4RevServ::TGo4RevServ(). |
|
Contains return value of eventsource open (e.g. f_evt_get_open) call. May be checked by the creating factory after return from source ctor. Definition at line 90 of file TGo4EventSource.h. Referenced by GetCreateStatus(), and SetCreateStatus(). |
|
Contains return value of eventsource getevent (e.g. f_evt_get_event) call. May be checked by the controlling event loop. Definition at line 93 of file TGo4EventSource.h. Referenced by GetEventStatus(), and SetEventStatus(). |
|
Most recent error message. May be delivered by f_evt_error, for example. Definition at line 96 of file TGo4EventSource.h. Referenced by GetErrMess(), and SetErrMess(). |