GSI Object Oriented Online Offline (Go4) GO4-6.4.0
Loading...
Searching...
No Matches
TGo4ExampleApplication.h
Go to the documentation of this file.
1// $Id$
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 fuer 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
27class TGo4ExampleApplication : public TGo4CommandReceiver, public TNamed {
28
29 public:
30
32
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
Class containing a pointer queue for TBuffers.
TGo4ExampleApplication(TGo4BufferQueue *datq=nullptr)
void SendData(TNamed *data)
put named data object into the current data queue; will be sent to the gui server