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

TGo4ThreadException Class Reference

Exception base class for all exceptions acting on a thread. More...

#include <TGo4ThreadException.h>

Inheritance diagram for TGo4ThreadException:

TGo4ControlException TGo4RuntimeException TGo4Exception TGo4CancelException TGo4CreateException TGo4RemoveException TGo4ReplaceException TGo4RestartException TGo4StartException List of all members.

Public Methods

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

const Text_t * GetThreadName ()

Protected Attributes

TString fxThreadName
 Name of the TGo4Thread that shall be acted on. More...

TGo4Runnable * fxRunnable
 Link to the runnable connected with the thread (exception throwing runnable might simply pass its 'this' pointer as argument). More...

TGo4ThreadHandler * fxThreadHandler
 Link to threadhandler associated with the runnable. More...


Private Methods

 TGo4ThreadException ()

Detailed Description

Exception base class for all exceptions acting on a thread.

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

Definition at line 36 of file TGo4ThreadException.h.


Constructor & Destructor Documentation

TGo4ThreadException::TGo4ThreadException (  const TGo4ThreadException &    right ) 
 

Definition at line 23 of file TGo4ThreadException.cxx.

References fxRunnable, fxThreadHandler, fxThreadName, and TRACE.

TGo4ThreadException::TGo4ThreadException (  TGo4Runnable *    runnable,
const Text_t *    threadname = 0
) 
 

Definition at line 32 of file TGo4ThreadException.cxx.

References fxRunnable, fxThreadHandler, fxThreadName, TGo4Runnable::GetThreadManager(), TGo4ThreadManager::GetWorkHandler(), and TRACE.

TGo4ThreadException::~TGo4ThreadException (    )  [virtual]
 

Definition at line 54 of file TGo4ThreadException.cxx.

References TRACE.

TGo4ThreadException::TGo4ThreadException (    )  [private]
 


Member Function Documentation

TGo4ThreadException & TGo4ThreadException::operator= (  const TGo4ThreadException &    right ) 
 

Definition at line 60 of file TGo4ThreadException.cxx.

References fxRunnable, fxThreadHandler, fxThreadName, TGo4ControlException::operator=(), and TRACE.

Referenced by TGo4StartException::operator=(), TGo4RestartException::operator=(), TGo4ReplaceException::operator=(), TGo4RemoveException::operator=(), TGo4CreateException::operator=(), and TGo4CancelException::operator=().

virtual Int_t TGo4ThreadException::Handle (    )  [pure virtual]
 

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

Reimplemented from TGo4ControlException.

Implemented in TGo4CancelException, TGo4CreateException, TGo4RemoveException, TGo4ReplaceException, TGo4RestartException, and TGo4StartException.

const Text_t * TGo4ThreadException::GetThreadName (    ) 
 

Definition at line 81 of file TGo4ThreadException.cxx.

References fxThreadName, and TRACE.

Referenced by TGo4StartException::Handle(), TGo4RestartException::Handle(), TGo4ReplaceException::Handle(), TGo4RemoveException::Handle(), TGo4CreateException::Handle(), and TGo4CancelException::Handle().


Member Data Documentation

TString TGo4ThreadException::fxThreadName [protected]
 

Name of the TGo4Thread that shall be acted on.

Definition at line 61 of file TGo4ThreadException.h.

Referenced by GetThreadName(), operator=(), and TGo4ThreadException().

TGo4Runnable* TGo4ThreadException::fxRunnable [protected]
 

Link to the runnable connected with the thread (exception throwing runnable might simply pass its 'this' pointer as argument).

Definition at line 67 of file TGo4ThreadException.h.

Referenced by TGo4StartException::Handle(), TGo4RestartException::Handle(), TGo4ReplaceException::Handle(), TGo4RemoveException::Handle(), TGo4CreateException::Handle(), TGo4CancelException::Handle(), operator=(), and TGo4ThreadException().

TGo4ThreadHandler* TGo4ThreadException::fxThreadHandler [protected]
 

Link to threadhandler associated with the runnable.

Definition at line 72 of file TGo4ThreadException.h.

Referenced by TGo4StartException::Handle(), TGo4RestartException::Handle(), TGo4ReplaceException::Handle(), TGo4RemoveException::Handle(), TGo4CreateException::Handle(), TGo4CancelException::Handle(), operator=(), and TGo4ThreadException().


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