14#ifndef TGO4EVENTSOURCE_H
15#define TGO4EVENTSOURCE_H
44 void Clear(Option_t *opt =
"")
override;
83 void ThrowError(Int_t creastat, Int_t errstat,
const char *message,...)
84 #if defined(__GNUC__) && !defined(__CLING__)
85 __attribute__((format(printf, 4, 5)))
90 void ThrowEOF(Int_t creastat, Int_t errstat,
const char *message,...)
91 #if defined(__GNUC__) && !defined(__CLING__)
92 __attribute__((format(printf, 4, 5)))
The abstract base class for the data elements of which the unpacked events (or detector structure dat...
virtual const char * GetActiveName() const
Access to the name of the currently active source.
Int_t fiEventStatus
Contains return value of eventsource getevent (e.g.
virtual Bool_t BuildEvent(TGo4EventElement *dest)
Fill the destination event dest.
static const Int_t fgiTIMEOUTDEFAULT
Default timeout in seconds for event input.
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.
const char * GetErrMess() const
Status/ error message of the last event.
virtual Bool_t CheckEventClass(TClass *cl)
Check that event class is supported by event source.
Int_t GetEventStatus() const
Status of the last event.
void ThrowError(Int_t creastat, Int_t errstat, const char *message,...)
Exception thrower.
void ThrowEOF(Int_t creastat, Int_t errstat, const char *message,...)
EOF thrower.
Int_t fiCreateStatus
Contains return value of eventsource open (e.g.
TString fxErrMess
Most recent error message.
Int_t GetCreateStatus() const
Status value of server/file open.
virtual ~TGo4EventSource()
void SetCreateStatus(Int_t status)
Status value of event source init (file/server open).
void Clear(Option_t *opt="") override