29 GO4TRACE((14,
"TGo4Runnable::TGo4Runnable(const TGo4Runnable &)",__LINE__, __FILE__));
33 TNamed(name,
"This is a TGo4Runnable")
35 GO4TRACE((14,
"TGo4Runnable::TGo4Runnable(const char *,TGo4ThreadManager *)",__LINE__, __FILE__));
41 GO4TRACE((14,
"TGo4Runnable::~TGo4Runnable()",__LINE__, __FILE__));
46 GO4TRACE((12,
"TGo4Runnable::ThreadCatch()", __LINE__, __FILE__));
48 TGo4Log::Debug(
"\n %s occured in Runnable``%s''(Thread``%s''PID:%d) \n", ex.
What(), GetName(),
55 GO4TRACE((12,
"TGo4Runnable::UnexpectedCatch()",__LINE__, __FILE__));
57 TGo4Log::Debug(
"!!!-- Unexpected Exception --!!! occured in Runnable``%s''(Thread``%s''PID:%d) ",
60 TThread::CancelPoint();
66 GO4TRACE((12,
"TGo4Runnable::PreRun()",__LINE__, __FILE__));
74 GO4TRACE((12,
"TGo4Runnable::PostRun()",__LINE__, __FILE__));
virtual const char * What()
Returns string describing the kind of exception.
virtual Int_t Handle()
This is a default handler function for the respective exception type.
static void Debug(const char *text,...) GO4_PRINTF_ARGS
User shortcut for message with prio 0.
TGo4Runnable(const TGo4Runnable &right)
virtual void ThreadCatch(TGo4Exception &ex)
catch for exceptions occurring in workfunc
virtual Int_t PostRun(void *ptr)
Function which is called once after the Run()method on threadstop.
virtual void UnexpectedCatch()
catch for all unexpected exceptions happening in workfunc
TGo4ThreadManager * fxManager
The threadmanager which is responsible for our thread.
TGo4Thread * fxGo4Thread
Backlink to thread which runs this.
virtual Int_t PreRun(void *ptr)
Function which is called once before the Run() method on threadstart.