GSI Object Oriented Online Offline (Go4)
GO4-6.3.0
Go4Event
TGo4EventSourceParameter.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 TGO4EVENTSOURCEPARAMETER_H
15
#define TGO4EVENTSOURCEPARAMETER_H
16
17
#include "
TGo4Parameter.h
"
18
26
class
TGo4EventSourceParameter
:
public
TGo4Parameter
{
27
public
:
28
TGo4EventSourceParameter
();
29
30
TGo4EventSourceParameter
(
const
char
*name, Int_t
id
= 0);
31
32
virtual
~TGo4EventSourceParameter
();
33
34
Int_t
GetID
()
const
{
return
fiID
; }
35
36
Int_t
GetTimeout
()
const
{
return
fiTimeout
; }
37
38
void
SetTimeout
(Int_t out) {
fiTimeout
=out; }
39
40
void
Print
(Option_t *opt =
""
)
const override
;
41
43
Bool_t
UpdateFrom
(
TGo4Parameter
*rhs)
override
;
44
45
private
:
46
48
Int_t
fiID
{0};
49
51
Int_t
fiTimeout
{1};
52
53
ClassDefOverride(
TGo4EventSourceParameter
,1)
54
};
55
56
#endif //TGO4EVENTSOURCEPARAMETER_H
TGo4Parameter.h
TGo4EventSourceParameter
Definition:
TGo4EventSourceParameter.h:26
TGo4EventSourceParameter::UpdateFrom
Bool_t UpdateFrom(TGo4Parameter *rhs) override
Definition:
TGo4EventSourceParameter.cxx:43
TGo4Parameter
Definition:
TGo4Parameter.h:28
TGo4EventSourceParameter::fiID
Int_t fiID
Definition:
TGo4EventSourceParameter.h:48
TGo4EventSourceParameter::fiTimeout
Int_t fiTimeout
Definition:
TGo4EventSourceParameter.h:51
TGo4EventSourceParameter::SetTimeout
void SetTimeout(Int_t out)
Definition:
TGo4EventSourceParameter.h:38
TGo4EventSourceParameter::GetID
Int_t GetID() const
Definition:
TGo4EventSourceParameter.h:34
TGo4EventSourceParameter::TGo4EventSourceParameter
TGo4EventSourceParameter()
Definition:
TGo4EventSourceParameter.cxx:24
TGo4EventSourceParameter::Print
void Print(Option_t *opt="") const override
Definition:
TGo4EventSourceParameter.cxx:33
TGo4EventSourceParameter::~TGo4EventSourceParameter
virtual ~TGo4EventSourceParameter()
Definition:
TGo4EventSourceParameter.cxx:29
TGo4EventSourceParameter::GetTimeout
Int_t GetTimeout() const
Definition:
TGo4EventSourceParameter.h:36
Generated on Wed Jan 10 2024 15:04:17 for GSI Object Oriented Online Offline (Go4) by
1.8.13