GSI Object Oriented Online Offline (Go4)
GO4-6.4.0
Loading...
Searching...
No Matches
Go4TaskHandlerExample
TGo4ExampleCommand.cxx
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
#include "
TGo4ExampleCommand.h
"
15
16
#include "
TGo4Log.h
"
17
18
TGo4ExampleCommand::TGo4ExampleCommand
() :
TGo4Command
()
19
{
20
GO4TRACE
((12,
"TGo4ExampleCommand::TGo4ExampleCommand()"
,__LINE__, __FILE__));
21
//fxReceiver = nullptr;
22
23
fbIsEnabled
= kTRUE;
24
fbIsSynchron
= kTRUE;
25
SetReceiverName
(
"ExampleApplication"
);
// sets the receiver name checked by command invoker
26
// receiver name need to be class name!
27
}
28
29
TGo4ExampleCommand::TGo4ExampleCommand
(
const
TGo4ExampleCommand
&right)
30
:
TGo4Command
(right)
31
{
32
GO4TRACE
((12,
"TGo4ExampleCommand::TGo4ExampleCommand(const TGo4ExampleCommand &)"
,__LINE__, __FILE__));
33
//fxReceiver = right.fxReceiver;
34
}
35
TGo4ExampleCommand::~TGo4ExampleCommand
()
36
{
37
GO4TRACE
((12,
"TGo4ExampleCommand::~TGo4ExampleCommand()"
,__LINE__, __FILE__));
38
}
39
40
TGo4ExampleCommand::TGo4ExampleCommand
(
const
char
*name,
const
char
*desc)
41
:
TGo4Command
(name,desc,6)
42
{
43
GO4TRACE
((12,
"TGo4ExampleCommand::TGo4ExampleCommand(const char *, const char *)"
,__LINE__, __FILE__));
44
//fxReceiver = nullptr;
45
46
fbIsEnabled
= kTRUE;
47
fbIsSynchron
= kTRUE;
48
SetReceiverName
(
"ExampleApplication"
);
// sets the receiver name checked by command invoker
49
// receiver name need to be class name!
50
}
TGo4ExampleCommand.h
TGo4Log.h
GO4TRACE
#define GO4TRACE(X)
Definition
TGo4Log.h:25
TGo4Command::fbIsSynchron
Bool_t fbIsSynchron
Definition
TGo4Command.h:92
TGo4Command::TGo4Command
TGo4Command()
Definition
TGo4Command.cxx:42
TGo4Command::fbIsEnabled
Bool_t fbIsEnabled
Definition
TGo4Command.h:90
TGo4Command::SetReceiverName
void SetReceiverName(const char *)
Definition
TGo4Command.cxx:93
TGo4ExampleCommand::TGo4ExampleCommand
TGo4ExampleCommand()
Definition
TGo4ExampleCommand.cxx:18
TGo4ExampleCommand::~TGo4ExampleCommand
virtual ~TGo4ExampleCommand()
Definition
TGo4ExampleCommand.cxx:35
Generated by
1.13.2