GSI Object Oriented Online Offline (Go4) GO4-6.4.5
Loading...
Searching...
No Matches
TGo4ThreadException Class Referenceabstract

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

#include <TGo4ThreadException.h>

Inheritance diagram for TGo4ThreadException:

Public Member Functions

 TGo4ThreadException ()=delete
 TGo4ThreadException ()=delete
 TGo4ThreadException (const TGo4ThreadException &right)
 TGo4ThreadException (const TGo4ThreadException &right)
 TGo4ThreadException (TGo4Runnable *runnable, const char *threadname=nullptr)
 TGo4ThreadException (TGo4Runnable *runnable, const char *threadname=nullptr)
virtual ~TGo4ThreadException ()
virtual ~TGo4ThreadException ()
const char * GetThreadName () const
const char * GetThreadName () const
Int_t Handle () override=0
 This is a default handler function for the respective exception type.
Int_t Handle () override=0
 This is a default handler function for the respective exception type.
TGo4ThreadExceptionoperator= (const TGo4ThreadException &right)
TGo4ThreadExceptionoperator= (const TGo4ThreadException &right)
Public Member Functions inherited from TGo4ControlException
 TGo4ControlException ()
 TGo4ControlException ()
 TGo4ControlException (const TGo4ControlException &right)
 TGo4ControlException (const TGo4ControlException &right)
virtual ~TGo4ControlException ()
virtual ~TGo4ControlException ()
TGo4ControlExceptionoperator= (const TGo4ControlException &right)
TGo4ControlExceptionoperator= (const TGo4ControlException &right)
Public Member Functions inherited from TGo4RuntimeException
 TGo4RuntimeException ()
 TGo4RuntimeException ()
 TGo4RuntimeException (const TGo4RuntimeException &right)
 TGo4RuntimeException (const TGo4RuntimeException &right)
virtual ~TGo4RuntimeException ()
virtual ~TGo4RuntimeException ()
TGo4RuntimeExceptionoperator= (const TGo4RuntimeException &right)
TGo4RuntimeExceptionoperator= (const TGo4RuntimeException &right)
Public Member Functions inherited from TGo4Exception
 TGo4Exception ()
 TGo4Exception ()
 TGo4Exception (const TGo4Exception &right)
 TGo4Exception (const TGo4Exception &right)
virtual ~TGo4Exception ()
virtual ~TGo4Exception ()
TGo4Exceptionoperator= (const TGo4Exception &right)
TGo4Exceptionoperator= (const TGo4Exception &right)
virtual const char * What ()
 Returns string describing the kind of exception.
virtual const char * What ()
 Returns string describing the kind of exception.

Protected Attributes

TGo4RunnablefxRunnable {nullptr}
 Link to the runnable connected with the thread (exception throwing runnable might simply pass its 'this' pointer as argument).
TGo4ThreadHandlerfxThreadHandler {nullptr}
 Link to threadhandler associated with the runnable.
TString fxThreadName
 Name of the TGo4Thread that shall be acted on.
Protected Attributes inherited from TGo4Exception
TString fxDescription

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

Constructor & Destructor Documentation

◆ TGo4ThreadException() [1/6]

◆ TGo4ThreadException() [2/6]

TGo4ThreadException::TGo4ThreadException ( const TGo4ThreadException & right)

◆ TGo4ThreadException() [3/6]

TGo4ThreadException::TGo4ThreadException ( TGo4Runnable * runnable,
const char * threadname = nullptr )

◆ ~TGo4ThreadException() [1/2]

TGo4ThreadException::~TGo4ThreadException ( )
virtual

Definition at line 46 of file TGo4ThreadException.cxx.

References GO4TRACE.

◆ TGo4ThreadException() [4/6]

TGo4ThreadException::TGo4ThreadException ( )
delete

◆ TGo4ThreadException() [5/6]

TGo4ThreadException::TGo4ThreadException ( const TGo4ThreadException & right)

References TGo4ThreadException().

◆ TGo4ThreadException() [6/6]

TGo4ThreadException::TGo4ThreadException ( TGo4Runnable * runnable,
const char * threadname = nullptr )

◆ ~TGo4ThreadException() [2/2]

virtual TGo4ThreadException::~TGo4ThreadException ( )
virtual

Member Function Documentation

◆ GetThreadName() [1/2]

◆ GetThreadName() [2/2]

const char * TGo4ThreadException::GetThreadName ( ) const

References fxRunnable, and fxThreadName.

◆ Handle() [1/2]

Int_t TGo4ThreadException::Handle ( )
overridepure virtual

◆ Handle() [2/2]

Int_t TGo4ThreadException::Handle ( )
overridepure virtual

◆ operator=() [1/2]

◆ operator=() [2/2]

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

References TGo4ThreadException().

Field Documentation

◆ fxRunnable

TGo4Runnable * TGo4ThreadException::fxRunnable {nullptr}
protected

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

Definition at line 54 of file TGo4ThreadException.h.

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

◆ fxThreadHandler

TGo4ThreadHandler * TGo4ThreadException::fxThreadHandler {nullptr}
protected

◆ fxThreadName

TString TGo4ThreadException::fxThreadName
protected

Name of the TGo4Thread that shall be acted on.

Definition at line 50 of file TGo4ThreadException.h.

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


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