Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

TGo4RestartException Class Reference

Exception which cancels and recreates a thread associated with runnable, or associated with a given name. More...

#include <TGo4RestartException.h>

Inheritance diagram for TGo4RestartException:

TGo4ThreadException TGo4ControlException TGo4RuntimeException TGo4Exception List of all members.

Public Member Functions

 TGo4RestartException (const TGo4RestartException &right)
 TGo4RestartException (TGo4Runnable *runnable, const Text_t *threadname=0)
 Restart thread associated with runnable or with threadname.
virtual ~TGo4RestartException ()
TGo4RestartExceptionoperator= (const TGo4RestartException &right)
virtual Int_t Handle ()
 This is a default handler function for the respective exception type.

Private Member Functions

 TGo4RestartException ()

Detailed Description

Exception which cancels and recreates a thread associated with runnable, or associated with a given name.

Similar to TGo4ReplaceException, but uses Recreate method of taskhandler.

Author:
J. Adamczewski

Go4 project-DVEE-GSI Darmstadt

Germany

j.adamczewski@gsi.de

Version:
0.9
Since:
jul 2000-oct 2001

Definition at line 31 of file TGo4RestartException.h.


Constructor & Destructor Documentation

TGo4RestartException::TGo4RestartException const TGo4RestartException right  ) 
 

Definition at line 25 of file TGo4RestartException.cxx.

References TRACE.

TGo4RestartException::TGo4RestartException TGo4Runnable runnable,
const Text_t *  threadname = 0
 

Restart thread associated with runnable or with threadname.

Old thread will be canceled and created again.

Definition at line 31 of file TGo4RestartException.cxx.

References TGo4Exception::fxDescription, and TRACE.

TGo4RestartException::~TGo4RestartException  )  [virtual]
 

Definition at line 39 of file TGo4RestartException.cxx.

References TRACE.

TGo4RestartException::TGo4RestartException  )  [private]
 


Member Function Documentation

TGo4RestartException & TGo4RestartException::operator= const TGo4RestartException right  ) 
 

Definition at line 45 of file TGo4RestartException.cxx.

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

Int_t TGo4RestartException::Handle  )  [virtual]
 

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

Implements TGo4ThreadException.

Definition at line 63 of file TGo4RestartException.cxx.

References TGo4ThreadException::fxRunnable, TGo4ThreadException::fxThreadHandler, TGo4Runnable::GetThread(), TGo4ThreadException::GetThreadName(), TGo4ThreadHandler::ReCreate(), and TRACE.


The documentation for this class was generated from the following files:
Generated on Fri Nov 28 13:01:12 2008 for Go4-v3.04-1 by  doxygen 1.4.2