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

/Go4TaskHandlerExample/TGo4ExampleClient.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 TGO4EXAMPLECLIENT_H
00017 #define TGO4EXAMPLECLIENT_H
00018 
00019 #include "Go4TaskHandler/TGo4ClientTask.h"
00020 
00021 class TGo4TaskStatus;
00022 class TGo4ExampleApplication;
00023 
00030 class TGo4ExampleClient : public TGo4ClientTask {
00031   public:
00032 
00033    TGo4ExampleClient(const char* name,
00034                      const char* host="localhost",
00035                      UInt_t negport=0,
00036                      Bool_t blockingmode=kTRUE);
00037 
00038    virtual ~TGo4ExampleClient();
00039 
00040    TGo4ExampleApplication* GetApplication();
00041 
00042    virtual void Start();
00043 
00044    virtual void Stop();
00045 
00047    static const Text_t fgcMAINTHREAD[]; 
00048 
00050    static const Text_t fgcWATCHTHREAD[];  
00051  
00052   protected:
00053 
00060     virtual void UpdateStatus(TGo4ClientStatus* state);
00061 
00062   public:
00069     virtual TGo4TaskStatus * CreateStatus();
00070 
00071   private:
00072 
00073     TGo4ExampleClient();
00074 
00078     TGo4ExampleApplication* fxApplication;
00079 
00081     Text_t* fcMainName; 
00082 
00084     Text_t* fcWatchName; 
00085 
00086   ClassDef(TGo4ExampleClient,1)
00087 };
00088 
00089 #endif //TGO4EXAMPLECLIENT_H
00090 
00091 //----------------------------END OF GO4 SOURCE FILE ---------------------

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