GSI Object Oriented Online Offline (Go4)  GO4-5.3.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TGo4ExampleClient.h
Go to the documentation of this file.
1 // $Id: TGo4ExampleClient.h 478 2009-10-29 12:26:09Z linev $
2 //-----------------------------------------------------------------------
3 // The GSI Online Offline Object Oriented (Go4) Project
4 // Experiment Data Processing at EE department, GSI
5 //-----------------------------------------------------------------------
6 // Copyright (C) 2000- GSI Helmholtzzentrum für Schwerionenforschung GmbH
7 // Planckstr. 1, 64291 Darmstadt, Germany
8 // Contact: http://go4.gsi.de
9 //-----------------------------------------------------------------------
10 // This software can be used under the license agreements as stated
11 // in Go4License.txt file which is part of the distribution.
12 //-----------------------------------------------------------------------
13 
14 #ifndef TGO4EXAMPLECLIENT_H
15 #define TGO4EXAMPLECLIENT_H
16 
17 #include "TGo4ClientTask.h"
18 
19 class TGo4TaskStatus;
21 class TGo4ClientStatus;
22 
30  public:
31 
32  TGo4ExampleClient(const char* name,
33  const char* host="localhost",
34  UInt_t negport=0,
35  Bool_t blockingmode=kTRUE);
36 
37  virtual ~TGo4ExampleClient();
38 
40 
41  virtual void Start();
42 
43  virtual void Stop();
44 
46  static const char* fgcMAINTHREAD;
47 
49  static const char* fgcWATCHTHREAD;
50 
51  protected:
52 
59  virtual void UpdateStatus(TGo4ClientStatus* state);
60 
61  public:
68  virtual TGo4TaskStatus * CreateStatus();
69 
70  private:
71 
73 
78 
80  TString fcMainName;
81 
83  TString fcWatchName;
84 
85  ClassDef(TGo4ExampleClient,1)
86 };
87 
88 #endif //TGO4EXAMPLECLIENT_H
static const char * fgcWATCHTHREAD
TGo4ExampleApplication * fxApplication
virtual void Start()
virtual TGo4TaskStatus * CreateStatus()
TGo4ExampleApplication * GetApplication()
virtual void UpdateStatus(TGo4ClientStatus *state)
static const char * fgcMAINTHREAD