#include <TGo4EventSource.h>
Inheritance diagram for TGo4EventSource:
Public Methods | |
TGo4EventSource (const char *name) | |
virtual | ~TGo4EventSource () |
TGo4EventSource () | |
virtual void | Clear (Option_t *opt="") |
Int_t | GetCreateStatus () const |
Status value of server/file open. More... | |
Int_t | GetEventStatus () const |
Status of the last event. More... | |
const char * | GetErrMess () const |
Status/ error message of the last event. More... | |
Static Public Attributes | |
const Int_t | fgiTIMEOUTDEFAULT = 1 |
Default timeout in seconds for event input. More... | |
Protected Methods | |
void | SetErrMess (const char *txt) |
To be used for modification of the message by the event source implementation. More... | |
void | SetEventStatus (Int_t status) |
Status of the last event. More... | |
void | SetCreateStatus (Int_t status) |
Status value of event source init (file/server open). More... | |
void | ThrowError (Int_t creastat, Int_t errstat, Text_t *message,...) |
Exception thrower. More... | |
Static Protected Attributes | |
const UInt_t | fguTXTLEN = 256 |
text length. More... | |
Private Attributes | |
Int_t | fiCreateStatus |
Contains return value of eventsource open (e.g. More... | |
Int_t | fiEventStatus |
Contains return value of eventsource getevent (e.g. More... | |
TString | fxErrMess |
Most recent error message. More... |
Raw events are delivered from the raw event source, may be stored in a raw event store, and are processed (unpacked) by a subelement factory to construct the user event (the user detector data, respectively) @interface
Definition at line 39 of file TGo4EventSource.h.
|
Definition at line 28 of file TGo4EventSource.cxx. References TRACE. |
|
Definition at line 41 of file TGo4EventSource.cxx. References TRACE. |
|
Definition at line 35 of file TGo4EventSource.cxx. |
|
Reimplemented in TGo4EventProcessor. Definition at line 64 of file TGo4EventSource.cxx. |
|
Status value of server/file open.
Definition at line 56 of file TGo4EventSource.h. References fiCreateStatus. Referenced by TGo4MbsSource::Close(), TGo4MbsFile::Close(), TGo4RevServ::Open(), TGo4MbsSource::Open(), and TGo4MbsFile::OpenFile(). |
|
Status of the last event.
Definition at line 59 of file TGo4EventSource.h. References fiEventStatus. Referenced by TGo4MbsSource::BuildMbsEvent(), TGo4MbsSource::NextEvent(), and TGo4MbsFile::NextEvent(). |
|
Status/ error message of the last event.
Definition at line 62 of file TGo4EventSource.h. References fxErrMess. Referenced by TGo4MbsSource::BuildMbsEvent(), TYYYRawEvent::Fill(), and TGo4MbsEvent::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 47 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(). |
|
text length.
Definition at line 25 of file TGo4EventSource.cxx. Referenced by TYYYEventSource::BuildYYYEvent(), TGo4MbsFile::Close(), TYYYEventSource::NextEvent(), TGo4MbsSource::NextEvent(), TGo4MbsFile::NextEvent(), TGo4MbsFile::NextFile(), TYYYEventSource::Open(), TGo4TreeSource::Open(), TGo4RevServ::Open(), TGo4MbsSource::Open(), TGo4MbsFile::Open(), TGo4FileSource::Open(), TGo4MbsFile::OpenFile(), and ThrowError(). |
|
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(). |