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

/Go4TaskHandler/TGo4TaskHandlerRunnable.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 TGO4TASKHANDLERRUNNABLE_H
00017 #define TGO4TASKHANDLERRUNNABLE_H
00018 
00019 #include "Go4ThreadManager/TGo4Runnable.h"
00020 #include <Rtypes.h>
00021 
00022 class TGo4Socket;
00023 class TGo4ThreadManager;
00024 class TGo4TaskHandler;
00025 class TGo4ObjectQueue;
00026 class TGo4BufferQueue;
00027 
00034 class TGo4TaskHandlerRunnable : public TGo4Runnable {
00035    
00036    public:
00037 
00038       TGo4TaskHandlerRunnable(const char* name, TGo4ThreadManager* man, TGo4TaskHandler* hand, Bool_t receivermode=kTRUE);
00039 
00040       virtual ~TGo4TaskHandlerRunnable();
00041 
00042       virtual Int_t Run(void* ptr) =0;
00043 
00044       TGo4TaskHandler* GetTaskHandler();
00045 
00046 
00047 
00048    protected:
00049       
00050       
00058       Bool_t CheckStopBuffer(TBuffer* buf, Int_t* result=0);
00059 
00064       Bool_t CheckTransportOpen();
00065       
00066       
00070       TGo4Socket* fxTransport;
00071 
00077       TGo4TaskHandler* fxTaskHandler; 
00078 
00083       Bool_t fbReceiverMode;
00084 
00086       //TGo4ObjectQueue * fxObjectQueue; //!
00087 
00089       TGo4BufferQueue * fxBufferQueue; 
00090 
00091      
00092 
00093     private:
00094       TGo4TaskHandlerRunnable();
00095 
00096 };
00097 
00098 #endif //TGO4TASKHANDLERRUNNABLE_H
00099 
00100 //----------------------------END OF GO4 SOURCE FILE ---------------------

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