GSI Object Oriented Online Offline (Go4)
GO4-6.3.0
Go4TaskHandlerExample
TGo4ExampleClient.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 TGO4EXAMPLECLIENT_H
15
#define TGO4EXAMPLECLIENT_H
16
17
#include "
TGo4ClientTask.h
"
18
19
class
TGo4TaskStatus
;
20
class
TGo4ExampleApplication
;
21
class
TGo4ClientStatus
;
22
29
class
TGo4ExampleClient
:
public
TGo4ClientTask
{
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
39
TGo4ExampleApplication
*
GetApplication
();
40
41
void
Start
()
override
;
42
43
void
Stop
()
override
;
44
46
static
const
char
*
fgcMAINTHREAD
;
47
49
static
const
char
*
fgcWATCHTHREAD
;
50
51
protected
:
52
59
void
UpdateStatus
(
TGo4TaskStatus
*state)
override
;
60
61
public
:
68
TGo4TaskStatus
*
CreateStatus
()
override
;
69
70
private
:
71
72
TGo4ExampleClient
();
73
77
TGo4ExampleApplication
*
fxApplication
{
nullptr
};
78
80
TString
fcMainName
;
81
83
TString
fcWatchName
;
84
85
ClassDefOverride(
TGo4ExampleClient
,1)
86
};
87
88
#endif //TGO4EXAMPLECLIENT_H
TGo4ExampleApplication
Definition:
TGo4ExampleApplication.h:27
TGo4ExampleClient
Definition:
TGo4ExampleClient.h:29
TGo4ClientTask.h
TGo4ExampleClient::fgcWATCHTHREAD
static const char * fgcWATCHTHREAD
Definition:
TGo4ExampleClient.h:49
TGo4ExampleClient::Start
void Start() override
Definition:
TGo4ExampleClient.cxx:85
TGo4ExampleClient::fcMainName
TString fcMainName
Definition:
TGo4ExampleClient.h:80
TGo4ExampleClient::fxApplication
TGo4ExampleApplication * fxApplication
Definition:
TGo4ExampleClient.h:77
TGo4ExampleClient::Stop
void Stop() override
Definition:
TGo4ExampleClient.cxx:76
TGo4ExampleClient::TGo4ExampleClient
TGo4ExampleClient()
TGo4ClientTask
Definition:
TGo4ClientTask.h:33
TGo4ExampleClient::UpdateStatus
void UpdateStatus(TGo4TaskStatus *state) override
Definition:
TGo4ExampleClient.cxx:65
TGo4ExampleClient::CreateStatus
TGo4TaskStatus * CreateStatus() override
Definition:
TGo4ExampleClient.cxx:57
TGo4ClientStatus
Definition:
TGo4ClientStatus.h:21
TGo4ExampleClient::~TGo4ExampleClient
virtual ~TGo4ExampleClient()
Definition:
TGo4ExampleClient.cxx:50
TGo4ExampleClient::GetApplication
TGo4ExampleApplication * GetApplication()
Definition:
TGo4ExampleClient.cxx:94
TGo4ExampleClient::fcWatchName
TString fcWatchName
Definition:
TGo4ExampleClient.h:83
TGo4TaskStatus
Definition:
TGo4TaskStatus.h:21
TGo4ExampleClient::fgcMAINTHREAD
static const char * fgcMAINTHREAD
Definition:
TGo4ExampleClient.h:46
Generated on Wed Jan 10 2024 15:04:18 for GSI Object Oriented Online Offline (Go4) by
1.8.13