GSI Object Oriented Online Offline (Go4)
GO4-6.4.0
Loading...
Searching...
No Matches
Go4TaskHandlerExample
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
27
class
TGo4ExampleApplication
:
public
TGo4CommandReceiver
,
public
TNamed {
28
29
public
:
30
31
TGo4ExampleApplication
(
TGo4BufferQueue
*datq =
nullptr
);
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
51
TGo4BufferQueue
*
fxDataQ
;
52
53
TH1D*
fxDemoHistogram
;
54
55
};
56
#endif
//TGO4EXAMPLEAPPLICATION_H
57
58
59
TGo4BufferQueue.h
TGo4CommandReceiver.h
TGo4BufferQueue
Class containing a pointer queue for TBuffers.
Definition
TGo4BufferQueue.h:26
TGo4CommandReceiver::TGo4CommandReceiver
TGo4CommandReceiver()
Definition
TGo4CommandReceiver.cxx:18
TGo4ExampleApplication::~TGo4ExampleApplication
virtual ~TGo4ExampleApplication()
Definition
TGo4ExampleApplication.cxx:35
TGo4ExampleApplication::CommandAction1
void CommandAction1()
Definition
TGo4ExampleApplication.cxx:83
TGo4ExampleApplication::fxDataQ
TGo4BufferQueue * fxDataQ
Definition
TGo4ExampleApplication.h:51
TGo4ExampleApplication::fxDemoHistogram
TH1D * fxDemoHistogram
Definition
TGo4ExampleApplication.h:53
TGo4ExampleApplication::FillHistograms
void FillHistograms()
Definition
TGo4ExampleApplication.cxx:63
TGo4ExampleApplication::TGo4ExampleApplication
TGo4ExampleApplication(TGo4BufferQueue *datq=nullptr)
Definition
TGo4ExampleApplication.cxx:24
TGo4ExampleApplication::SendData
void SendData(TNamed *data)
put named data object into the current data queue; will be sent to the gui server
Definition
TGo4ExampleApplication.cxx:42
TGo4ExampleApplication::CommandAction2
void CommandAction2()
Definition
TGo4ExampleApplication.cxx:77
TGo4ExampleApplication::GetHistogram
TH1 * GetHistogram()
Definition
TGo4ExampleApplication.cxx:57
Generated by
1.13.2