GSI Object Oriented Online Offline (Go4)
GO4-5.3.2
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Go4TaskHandlerExample
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
;
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
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
72
TGo4ExampleClient
();
73
77
TGo4ExampleApplication
*
fxApplication
;
78
80
TString
fcMainName
;
81
83
TString
fcWatchName
;
84
85
ClassDef(
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::fcMainName
TString fcMainName
Definition:
TGo4ExampleClient.h:80
TGo4ExampleClient::fxApplication
TGo4ExampleApplication * fxApplication
Definition:
TGo4ExampleClient.h:77
TGo4ExampleClient::TGo4ExampleClient
TGo4ExampleClient()
TGo4ClientTask
Definition:
TGo4ClientTask.h:34
TGo4ExampleClient::Stop
virtual void Stop()
Definition:
TGo4ExampleClient.cxx:76
TGo4ExampleClient::Start
virtual void Start()
Definition:
TGo4ExampleClient.cxx:84
TGo4ClientStatus
Definition:
TGo4ClientStatus.h:21
TGo4ExampleClient::~TGo4ExampleClient
virtual ~TGo4ExampleClient()
Definition:
TGo4ExampleClient.cxx:51
TGo4ExampleClient::CreateStatus
virtual TGo4TaskStatus * CreateStatus()
Definition:
TGo4ExampleClient.cxx:58
TGo4ExampleClient::GetApplication
TGo4ExampleApplication * GetApplication()
Definition:
TGo4ExampleClient.cxx:92
TGo4ExampleClient::UpdateStatus
virtual void UpdateStatus(TGo4ClientStatus *state)
Definition:
TGo4ExampleClient.cxx:66
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 Fri Oct 26 2018 08:34:53 for GSI Object Oriented Online Offline (Go4) by
1.8.8