v2.10-0 (21000JUN2005)

Go4ThreadManager
Class TGo4ReplaceException


class TGo4ReplaceException
derived from TGo4ThreadException

Exception with the effect of removing old TGo4Thread from
TGo4ThreadHandler and creating and starting new
TGo4Thread with new runnable fxNewRunnable.
If threadname is not specified in ctor, the thread of the
first runnable given (usually the calling runnable) is
replaced;
if new runnable is not given, the thread of the calling
runnable will be removed and a new thread with the
calling runnable will be created, added to the handler
list and started

Author:
J. Adamczewski, Go4 project-DVEE-GSI Darmstadt, Germany, j.adamczewski@gsi.de
Version: 0.9
Since: jul 2000-oct 2001

Field Summary
 protected TGo4Runnable*fxNewRunnable
           

Fields inherited from class Go4ThreadManager.TGo4ThreadException
fxRunnable, fxThreadHandler, fxThreadName

Fields inherited from class Go4Exceptions.TGo4Exception
fxDescription

Constructor Summary
 TGo4ReplaceException(const TGo4ReplaceException& right)
           
 TGo4ReplaceException(TGo4Runnable* runnable, TGo4Runnable* newrunnable, const Text_t* oldthreadname)
           
 private TGo4ReplaceException()
           

Destructor Summary
 virtual synchronized ~TGo4ReplaceException()
           

Method Summary
 virtual Int_tHandle()
           
 synchronized TGo4ReplaceException&operator=(const TGo4ReplaceException& right)
           

Methods inherited from class Go4ThreadManager.TGo4ThreadException
GetThreadName, operator=

Methods inherited from class Go4Exceptions.TGo4ControlException
operator=

Methods inherited from class Go4Exceptions.TGo4RuntimeException
operator=

Methods inherited from class Go4Exceptions.TGo4Exception
operator=, What

Field Detail

fxNewRunnable

protected TGo4Runnable* fxNewRunnable
Constructor Detail

TGo4ReplaceException

public TGo4ReplaceException(const TGo4ReplaceException& right)

TGo4ReplaceException

public TGo4ReplaceException(TGo4Runnable* runnable, TGo4Runnable* newrunnable, const Text_t* oldthreadname)

TGo4ReplaceException

private TGo4ReplaceException()
Method Detail

~TGo4ReplaceException

public virtual synchronized ~TGo4ReplaceException()
Method Detail

Handle

public virtual Int_t Handle()

operator=

public synchronized TGo4ReplaceException& operator=(const TGo4ReplaceException& right)

Association Links

to Class TGo4Runnable


J.Adamczewski, M.Al-Turany, D.Bertini, H.G.Essel, S.Linev

30-06-2005