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 char *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 29 of file TGo4RestartException.h.


Constructor & Destructor Documentation

TGo4RestartException::TGo4RestartException ( const TGo4RestartException right  ) 

Definition at line 23 of file TGo4RestartException.cxx.

TGo4RestartException::TGo4RestartException ( TGo4Runnable runnable,
const char *  threadname = 0 
)

Restart thread associated with runnable or with threadname.

Old thread will be canceled and created again.

Definition at line 29 of file TGo4RestartException.cxx.

TGo4RestartException::~TGo4RestartException (  )  [virtual]

Definition at line 37 of file TGo4RestartException.cxx.

TGo4RestartException::TGo4RestartException (  )  [private]


Member Function Documentation

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

Definition at line 43 of file TGo4RestartException.cxx.

Int_t TGo4RestartException::Handle (  )  [virtual]

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

Implements TGo4ThreadException.

Definition at line 61 of file TGo4RestartException.cxx.


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

Generated on Thu Oct 28 12:31:32 2010 for Go4-Taskhandlerv4.04-2 by  doxygen 1.5.6