GSI Object Oriented Online Offline (Go4)  GO4-5.3.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TGo4ExampleApplication.h
Go to the documentation of this file.
1 // $Id: TGo4ExampleApplication.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 TGO4EXAMPLEAPPLICATION_H
15 #define TGO4EXAMPLEAPPLICATION_H
16 
17 #include "TNamed.h"
18 #include "TH1.h"
19 
20 #include "TGo4CommandReceiver.h"
21 #include "TGo4BufferQueue.h"
22 
27 class TGo4ExampleApplication : public TGo4CommandReceiver, public TNamed {
28 
29  public:
30 
32 
33  virtual ~TGo4ExampleApplication();
34 
35  void CommandAction1();
36 
37  void CommandAction2();
38 
39  void FillHistograms();
40 
41  TH1* GetHistogram();
42 
47  void SendData(TNamed* data);
48 
49  private:
50 
52 
54 
55 };
56 #endif //TGO4EXAMPLEAPPLICATION_H
57 
58 
59 
TGo4ExampleApplication(TGo4BufferQueue *datq=0)