Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

/Go4ThreadManagerExample/TGo4TestRunnable.h

Go to the documentation of this file.
00001 //---------------------------------------------------------------
00002 //        Go4 Release Package v2.10-5 (build 21005) 
00003 //                      03-Nov-2005
00004 //---------------------------------------------------------------
00005 //       The GSI Online Offline Object Oriented (Go4) Project
00006 //       Experiment Data Processing at DVEE department, GSI
00007 //---------------------------------------------------------------
00008 //
00009 //Copyright (C) 2000- Gesellschaft f. Schwerionenforschung, GSI
00010 //                    Planckstr. 1, 64291 Darmstadt, Germany
00011 //Contact:            http://go4.gsi.de
00012 //----------------------------------------------------------------
00013 //This software can be used under the license agreements as stated
00014 //in Go4License.txt file which is part of the distribution.
00015 //----------------------------------------------------------------
00016 #ifndef TGo4TestRunnable_h
00017 #define TGo4TestRunnable_h 1
00018 #include "TApplication.h"
00019 #include "TH1.h"
00020 #include "TRandom.h"
00021 #include "TCanvas.h"
00022 #include "TPad.h"
00023 
00024 #include "Go4ThreadManager/TGo4Runnable.h"
00025 #include "Go4ThreadManager/Go4ThreadManagerExceptions.h"
00026 
00027 class TGo4TestThreadManager;
00028 
00073 class TGo4TestRunnable : public TGo4Runnable  //## Inherits: <unnamed>%39408ED10205
00074 {
00075 
00076   public:
00077     //## Constructors (generated)
00078       TGo4TestRunnable();
00079 
00080       TGo4TestRunnable(const TGo4TestRunnable &right);
00081 
00082       TGo4TestRunnable (Text_t* name, TGo4ThreadManager* man, Int_t mode = 0);
00083 
00084       virtual ~TGo4TestRunnable();
00085 
00086       TGo4TestRunnable & operator=(const TGo4TestRunnable &right);
00087 
00088 
00089   protected:
00090 
00095       virtual Int_t Run (void* ptr);
00096 
00100       virtual void ThreadCatch (TGo4Exception& ex);
00101 
00106       virtual void UnexpectedCatch ();
00107 
00108 
00109   private:
00110 
00116       Int_t fiMode;
00117 
00118     // Additional Private Declarations
00119       TPad* fxPad;
00120       TCanvas* fxCanvas;
00121       TH1D* fxHisto;
00122 };
00123 
00124 
00125 
00126 #endif
00127 
00128 
00129 
00130 
00131 //----------------------------END OF GO4 SOURCE FILE ---------------------

Generated on Tue Nov 8 10:56:07 2005 for Go4-v2.10-5 by doxygen1.2.15