GSI Object Oriented Online Offline (Go4)  GO4-5.3.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Protected Attributes | Private Member Functions | List of all members
TGo4ThreadException Class Referenceabstract

#include <TGo4ThreadException.h>

+ Inheritance diagram for TGo4ThreadException:

Public Member Functions

 TGo4ThreadException (const TGo4ThreadException &right)
 
 TGo4ThreadException (TGo4Runnable *runnable, const char *threadname=0)
 
virtual ~TGo4ThreadException ()
 
TGo4ThreadExceptionoperator= (const TGo4ThreadException &right)
 
virtual Int_t Handle ()=0
 
const char * GetThreadName ()
 
- Public Member Functions inherited from TGo4ControlException
 TGo4ControlException ()
 
 TGo4ControlException (const TGo4ControlException &right)
 
virtual ~TGo4ControlException ()
 
TGo4ControlExceptionoperator= (const TGo4ControlException &right)
 
- Public Member Functions inherited from TGo4RuntimeException
 TGo4RuntimeException ()
 
 TGo4RuntimeException (const TGo4RuntimeException &right)
 
virtual ~TGo4RuntimeException ()
 
TGo4RuntimeExceptionoperator= (const TGo4RuntimeException &right)
 
- Public Member Functions inherited from TGo4Exception
 TGo4Exception ()
 
 TGo4Exception (const TGo4Exception &right)
 
virtual ~TGo4Exception ()
 
TGo4Exceptionoperator= (const TGo4Exception &right)
 
virtual const char * What ()
 

Protected Attributes

TString fxThreadName
 
TGo4RunnablefxRunnable
 
TGo4ThreadHandlerfxThreadHandler
 
- Protected Attributes inherited from TGo4Exception
TString fxDescription
 

Private Member Functions

 TGo4ThreadException ()
 

Detailed Description

Exception base class for all exceptions acting on a thread.

Author
J. Adamczewski(at)gsi.de
Go4 project-DVEE-GSI Darmstadt
Germany
Version
0.9
Since
jul 2000-oct 2001

Definition at line 30 of file TGo4ThreadException.h.

Constructor & Destructor Documentation

TGo4ThreadException::TGo4ThreadException ( const TGo4ThreadException right)

Definition at line 21 of file TGo4ThreadException.cxx.

References fxRunnable, fxThreadHandler, fxThreadName, and GO4TRACE.

TGo4ThreadException::TGo4ThreadException ( TGo4Runnable runnable,
const char *  threadname = 0 
)
TGo4ThreadException::~TGo4ThreadException ( )
virtual

Definition at line 52 of file TGo4ThreadException.cxx.

References GO4TRACE.

TGo4ThreadException::TGo4ThreadException ( )
private

Member Function Documentation

const char * TGo4ThreadException::GetThreadName ( )
virtual Int_t TGo4ThreadException::Handle ( )
pure virtual

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

Reimplemented from TGo4ControlException.

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

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

Member Data Documentation

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 51 of file TGo4ThreadException.h.

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

TGo4ThreadHandler* TGo4ThreadException::fxThreadHandler
protected
TString TGo4ThreadException::fxThreadName
protected

Name of the TGo4Thread that shall be acted on

Definition at line 47 of file TGo4ThreadException.h.

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


The documentation for this class was generated from the following files: