Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

TGo4ReplaceException Class Reference

Exception with the effect of removing old TGo4Thread from TGo4ThreadHandler and creating and starting new TGo4Thread with new runnable fxNewRunnable. More...

#include <TGo4ReplaceException.h>

Inheritance diagram for TGo4ReplaceException:

TGo4ThreadException TGo4ControlException TGo4RuntimeException TGo4Exception List of all members.

Public Methods

 TGo4ReplaceException (const TGo4ReplaceException &right)
 TGo4ReplaceException (TGo4Runnable *runnable, TGo4Runnable *newrunnable=0, const Text_t *oldthreadname=0)
virtual ~TGo4ReplaceException ()
TGo4ReplaceException & operator= (const TGo4ReplaceException &right)
virtual Int_t Handle ()
 This is a default handler function for the respective exception type. More...


Protected Attributes

TGo4RunnablefxNewRunnable

Private Methods

 TGo4ReplaceException ()

Detailed Description

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

Definition at line 41 of file TGo4ReplaceException.h.


Constructor & Destructor Documentation

TGo4ReplaceException::TGo4ReplaceException const TGo4ReplaceException &    right
 

Definition at line 21 of file TGo4ReplaceException.cxx.

References fxNewRunnable, and TRACE.

TGo4ReplaceException::TGo4ReplaceException TGo4Runnable   runnable,
TGo4Runnable   newrunnable = 0,
const Text_t *    oldthreadname = 0
 

Definition at line 28 of file TGo4ReplaceException.cxx.

References TGo4Exception::fxDescription, fxNewRunnable, and TRACE.

TGo4ReplaceException::~TGo4ReplaceException   [virtual]
 

Definition at line 48 of file TGo4ReplaceException.cxx.

References TRACE.

TGo4ReplaceException::TGo4ReplaceException   [private]
 


Member Function Documentation

TGo4ReplaceException & TGo4ReplaceException::operator= const TGo4ReplaceException &    right
 

Definition at line 54 of file TGo4ReplaceException.cxx.

References fxNewRunnable, TGo4ThreadException::operator=(), and TRACE.

Int_t TGo4ReplaceException::Handle   [virtual]
 

This is a default handler function for the respective exception type.

Implements TGo4ThreadException.

Definition at line 73 of file TGo4ReplaceException.cxx.

References TGo4ThreadManager::fguTEXTLENGTH, fxNewRunnable, TGo4ThreadException::fxRunnable, TGo4ThreadException::fxThreadHandler, TGo4Runnable::GetThread(), TGo4ThreadException::GetThreadName(), TGo4ThreadHandler::NewThread(), TGo4ThreadHandler::RemoveThread(), TGo4ThreadHandler::Start(), and TRACE.


Member Data Documentation

TGo4Runnable* TGo4ReplaceException::fxNewRunnable [protected]
 

Definition at line 57 of file TGo4ReplaceException.h.

Referenced by Handle(), operator=(), and TGo4ReplaceException().


The documentation for this class was generated from the following files:
Generated on Tue Nov 8 10:56:52 2005 for Go4-v2.10-5 by doxygen1.2.15