| v2.10-0 (21000JUN2005) | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Base class for all go4 runnables. Virtual method Run() is working in
the thread, this must be overridden by the user runnables.
Field Summary | |
protected TGo4Thread* | fxGo4Thread Backlink to thread which runs this. |
protected TGo4ThreadManager* | fxManager The threadmanager which is responsible for our thread. |
Fields inherited from class TNamed |
fName, fTitle |
Constructor Summary | |
| TGo4Runnable(const TGo4Runnable& right) |
| TGo4Runnable(const char * name, TGo4ThreadManager* man) |
private | TGo4Runnable() |
Destructor Summary | |
virtual synchronized | ~TGo4Runnable() |
Method Summary | |
TGo4Thread* | GetThread() |
TGo4ThreadManager* | GetThreadManager() |
synchronized TGo4Runnable& | operator=(const TGo4Runnable& right) |
protected virtual Int_t | PostRun(void * ptr) Function which is called once after the Run() method on threadstop |
protected virtual Int_t | PreRun(void * ptr) Function which is called once before the Run() method on threadstart |
protected abstract Int_t | Run(void * ptr) The working function which runs in the thread |
void | SetThread(TGo4Thread* gthread) |
protected virtual void | ThreadCatch(TGo4Exception& ex) catch for exceptions occuring in workfunc |
protected virtual void | UnexpectedCatch() catch for all unexcpected exceptions happening in workfunc |
Methods inherited from class TNamed |
operator=, Clear, Clone, Compare, Copy, FillBuffer, GetName, GetTitle, Hash, IsSortable, SetName, SetNameTitle, SetTitle, ls, Print, Sizeof, Class, Class_Name, Class_Version, Dictionary, IsA, ShowMembers, Streamer, StreamerNVirtual, DeclFileName, ImplFileLine, ImplFileName, DeclFileLine |
Field Detail |
protected TGo4Thread* fxGo4Thread
protected TGo4ThreadManager* fxManager
Constructor Detail |
public TGo4Runnable(const TGo4Runnable& right)
public TGo4Runnable(const char * name, TGo4ThreadManager* man)
private TGo4Runnable()
Method Detail |
public virtual synchronized ~TGo4Runnable()
Method Detail |
public TGo4Thread* GetThread()
public TGo4ThreadManager* GetThreadManager()
public synchronized TGo4Runnable& operator=(const TGo4Runnable& right)
protected virtual Int_t PostRun(void * ptr)
protected virtual Int_t PreRun(void * ptr)
protected abstract Int_t Run(void * ptr)
public void SetThread(TGo4Thread* gthread)
protected virtual void ThreadCatch(TGo4Exception& ex)
protected virtual void UnexpectedCatch()
Association Links |
to Class TGo4Thread
| J.Adamczewski, M.Al-Turany, D.Bertini, H.G.Essel, S.Linev | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |