Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound 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 Methods

 TGo4RestartException (const TGo4RestartException &right)
 TGo4RestartException (TGo4Runnable *runnable, const Text_t *threadname=0)
 Restart thread associated with runnable or with threadname. More...

virtual ~TGo4RestartException ()
TGo4RestartException & operator= (const TGo4RestartException &right)
virtual Int_t Handle ()
 This is a default handler function for the respective exception type. More...


Private Methods

 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 21 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 27 of file TGo4RestartException.cxx.

References TGo4Exception::fxDescription, and TRACE.

TGo4RestartException::~TGo4RestartException   [virtual]
 

Definition at line 35 of file TGo4RestartException.cxx.

References TRACE.

TGo4RestartException::TGo4RestartException   [private]
 


Member Function Documentation

TGo4RestartException & TGo4RestartException::operator= const TGo4RestartException &    right
 

Definition at line 41 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 59 of file TGo4RestartException.cxx.

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


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