28 TNamed(
"default eventsource",
"This is a Go4 EventSource")
33 TNamed(name,
"This is a Go4 Event Source")
35 GO4TRACE((15,
"TGo4EventSource::TGo4EventSource()",__LINE__, __FILE__));
41 GO4TRACE((15,
"TGo4EventSource::~TGo4EventSource()",__LINE__, __FILE__));
48 char *txtbuf =
new char[lbuflen];
50 va_start(args, message);
51 vsnprintf(txtbuf, lbuflen, message, args);
65 char *txtbuf =
new char[lbuflen];
67 va_start(args, message);
68 vsnprintf(txtbuf, lbuflen, message, args);
92 return cl->InheritsFrom(TGo4EventElement::Class());
Exception to throw on event source timeout.
Exception to be thrown on error of event source.
virtual const char * GetActiveName() const
Access to the name of the currently active source.
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.
virtual Bool_t CheckEventClass(TClass *cl)
Check that event class is supported by event source.
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.
virtual ~TGo4EventSource()
void SetCreateStatus(Int_t status)
Status value of event source init (file/server open).
void Clear(Option_t *opt="") override
static void Info(const char *text,...) GO4_PRINTF_ARGS
User shortcut for message with prio 1.