GSI Object Oriented Online Offline (Go4)
GO4-5.3.2
|
#include <TGo4ReplaceException.h>
Protected Attributes | |
TGo4Runnable * | fxNewRunnable |
Protected Attributes inherited from TGo4ThreadException | |
TString | fxThreadName |
TGo4Runnable * | fxRunnable |
TGo4ThreadHandler * | fxThreadHandler |
Protected Attributes inherited from TGo4Exception | |
TString | fxDescription |
Private Member Functions | |
TGo4ReplaceException () | |
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
Definition at line 38 of file TGo4ReplaceException.h.
TGo4ReplaceException::TGo4ReplaceException | ( | const TGo4ReplaceException & | right | ) |
Definition at line 24 of file TGo4ReplaceException.cxx.
References fxNewRunnable, and GO4TRACE.
TGo4ReplaceException::TGo4ReplaceException | ( | TGo4Runnable * | runnable, |
TGo4Runnable * | newrunnable = 0 , |
||
const char * | oldthreadname = 0 |
||
) |
Definition at line 31 of file TGo4ReplaceException.cxx.
References TGo4Exception::fxDescription, fxNewRunnable, and GO4TRACE.
|
virtual |
Definition at line 51 of file TGo4ReplaceException.cxx.
References GO4TRACE.
|
private |
|
virtual |
This is a default handler function for the respective exception type.
Implements TGo4ThreadException.
Definition at line 76 of file TGo4ReplaceException.cxx.
References fxNewRunnable, TGo4ThreadException::fxRunnable, TGo4ThreadException::fxThreadHandler, TGo4Runnable::GetThread(), TGo4ThreadException::GetThreadName(), GO4TRACE, TGo4ThreadHandler::NewThread(), TGo4ThreadHandler::RemoveThread(), and TGo4ThreadHandler::Start().
TGo4ReplaceException & TGo4ReplaceException::operator= | ( | const TGo4ReplaceException & | right | ) |
Definition at line 57 of file TGo4ReplaceException.cxx.
References fxNewRunnable, GO4TRACE, and TGo4ThreadException::operator=().
|
protected |
Definition at line 51 of file TGo4ReplaceException.h.
Referenced by Handle(), operator=(), and TGo4ReplaceException().