GSI Object Oriented Online Offline (Go4) GO4-6.4.0
Loading...
Searching...
No Matches
TGo4ExampleServer.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 TGO4EXAMPLESERVER_H
15#define TGO4EXAMPLESERVER_H
16
17#include "TGo4ServerTask.h"
18
20
24
26
27 public:
28
29 TGo4ExampleServer(const char *name,
30 UInt_t negotiationport = 0,
31 Bool_t blockingmode = kFALSE);
32
33 virtual ~TGo4ExampleServer();
34
36
38
39 Int_t StartWorkThreads() override;
40
41 Int_t StopWorkThreads() override;
42
44 static const char *fgcCONTROLTHREAD;
45
47 static const char *fgcLOGGINGTHREAD;
48
49 private:
50
52
57
59 TString fcControlName;
60
62 TString fcLoggingName;
63
64 ClassDefOverride(TGo4ExampleServer,1)
65};
66
67#endif //TGO4EXAMPLESERVER_H
example class for a user control interface (might be a kind of GUI later on); methods of this class a...
Int_t StartWorkThreads() override
start the working threads of the task implementation; this method is used after the current connectio...
Int_t StopWorkThreads() override
stop the working threads of the task implementation; this method is used before the current connectio...
TString fcControlName
remember name of controller thread
TGo4TaskHandlerCommandList * CreateCommandList() override
factory method for command list; overridden by implementation
static const char * fgcCONTROLTHREAD
suffix for controller thread name
TString fcLoggingName
remember name of logging thread
TGo4ExampleServer(const char *name, UInt_t negotiationport=0, Bool_t blockingmode=kFALSE)
static const char * fgcLOGGINGTHREAD
suffix for logging thread name
TGo4ExampleController * fxController
aggregationByValue 1 0..1
TGo4ExampleController * GetController()
TGo4ServerTask(const char *name, UInt_t negotiationport=0, Bool_t blockingmode=kFALSE, Bool_t standalone=kFALSE, Bool_t autostart=kTRUE, Bool_t autocreate=kTRUE, Bool_t ismaster=kTRUE)
Class containing all command prototypes of the TaskHandler system commands (and the basic test comman...