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

Cancel thread associated with runnable or with threadname. More...

#include <TGo4CancelException.h>

Inheritance diagram for TGo4CancelException:

Public Member Functions

 TGo4CancelException ()=delete
 TGo4CancelException ()=delete
 TGo4CancelException (const TGo4CancelException &right)
 TGo4CancelException (const TGo4CancelException &right)
 TGo4CancelException (TGo4Runnable *runnable, const char *threadname=nullptr)
 TGo4CancelException (TGo4Runnable *runnable, const char *threadname=nullptr)
virtual ~TGo4CancelException ()
virtual ~TGo4CancelException ()
Int_t Handle () override
 This is a default handler function for the respective exception type.
Int_t Handle () override
 This is a default handler function for the respective exception type.
TGo4CancelExceptionoperator= (const TGo4CancelException &right)
TGo4CancelExceptionoperator= (const TGo4CancelException &right)
Public Member Functions inherited from TGo4ThreadException
 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
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.

Additional Inherited Members

Protected Attributes inherited from TGo4ThreadException
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

Cancel thread associated with runnable or with threadname.

Author
J. Adamczewski
Go4 project-DVEE-GSI Darmstadt
Germany
Version
0.9
Since
jul 2000-oct 2001

Definition at line 27 of file TGo4CancelException.h.

Constructor & Destructor Documentation

◆ TGo4CancelException() [1/6]

TGo4CancelException::TGo4CancelException ( )
delete

◆ TGo4CancelException() [2/6]

TGo4CancelException::TGo4CancelException ( const TGo4CancelException & right)

◆ TGo4CancelException() [3/6]

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

◆ ~TGo4CancelException() [1/2]

TGo4CancelException::~TGo4CancelException ( )
virtual

Definition at line 37 of file TGo4CancelException.cxx.

References GO4TRACE.

◆ TGo4CancelException() [4/6]

TGo4CancelException::TGo4CancelException ( )
delete

◆ TGo4CancelException() [5/6]

TGo4CancelException::TGo4CancelException ( const TGo4CancelException & right)

References TGo4CancelException().

◆ TGo4CancelException() [6/6]

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

◆ ~TGo4CancelException() [2/2]

virtual TGo4CancelException::~TGo4CancelException ( )
virtual

Member Function Documentation

◆ Handle() [1/2]

Int_t TGo4CancelException::Handle ( )
overridevirtual

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

Implements TGo4ThreadException.

Definition at line 51 of file TGo4CancelException.cxx.

References TGo4ThreadException::fxRunnable, TGo4ThreadException::fxThreadHandler, TGo4ThreadException::GetThreadName(), and GO4TRACE.

◆ Handle() [2/2]

Int_t TGo4CancelException::Handle ( )
overridevirtual

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

Implements TGo4ThreadException.

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

References TGo4CancelException().


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