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 TGO4COMMANDRUNNABLE_H 00017 #define TGO4COMMANDRUNNABLE_H 00018 00019 #include "TGo4TaskHandlerRunnable.h" 00020 00021 class TGo4ThreadManager; 00022 class TGo4TaskHandler; 00023 class TGo4CommandInvoker; 00024 00035 class TGo4CommandRunnable : public TGo4TaskHandlerRunnable { 00036 public: 00037 00038 TGo4CommandRunnable(const char* name, TGo4ThreadManager* man, TGo4TaskHandler* hand, Bool_t receivermode=kTRUE); 00039 00040 virtual ~TGo4CommandRunnable(); 00041 00042 virtual Int_t Run(void* ptr); 00043 00044 private: 00045 TGo4CommandRunnable(); 00046 00049 void RedirectIO(); 00050 00056 TGo4CommandInvoker* fxInvoker; 00057 }; 00058 00059 #endif //TGO4COMMANDRUNNABLE_H 00060 00061 //----------------------------END OF GO4 SOURCE FILE ---------------------