Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

TGo4Master.h

Go to the documentation of this file.
00001 //-------------------------------------------------------------
00002 //        Go4 Release Package v3.04-01 (build 30401)
00003 //                      28-November-2008
00004 //---------------------------------------------------------------
00005 //   The GSI Online Offline Object Oriented (Go4) Project
00006 //   Experiment Data Processing at EE 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 TGO4MASTER_H
00017 #define TGO4MASTER_H
00018 
00019 #include "TGo4TaskOwner.h"
00020 
00021 #include "TString.h"
00022 #include "TGo4Command.h"
00023 #include "Go4EmergencyCommands.h"
00024 
00025 class TGo4TaskHandlerCommandList;
00026 
00027 class TGo4Master :  public TGo4TaskOwner {
00028   public:
00029     TGo4Master() ;
00030 
00031     TGo4Master(const char* name, Bool_t isserver=kTRUE, const char* serverhost="localhost", UInt_t negotport=5000) ;
00032 
00033     virtual ~TGo4Master() ;
00034 
00036     Bool_t SubmitCommand(const char* name);
00037 
00039     Bool_t SubmitEmergencyCommand(Go4EmergencyCommand_t val);
00040 
00043     Bool_t SubmitCommand(TGo4Command* com);
00044 
00046     virtual TGo4TaskHandlerCommandList*  CreateCommandList();
00047 
00048     virtual Bool_t DisconnectSlave(const char* name=0,
00049                                    Bool_t waitforslave=kTRUE );
00050 
00051 private:
00052 
00056     TString fxSlaveNode;
00057 
00061     TString fxSlaveShell;
00062 
00067     TString fxSlaveExec;
00068 };
00069 #endif //TGO4MASTER_H
00070 
00071 //----------------------------END OF GO4 SOURCE FILE ---------------------

Generated on Fri Nov 28 12:59:29 2008 for Go4-v3.04-1 by  doxygen 1.4.2