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
TGo4ExampleCommand.cxx
Go to the documentation of this file.
1
// $Id: TGo4ExampleCommand.cxx 999 2013-07-25 11:58:59Z 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
#include "
TGo4ExampleCommand.h
"
15
16
#include "
TGo4Log.h
"
17
18
TGo4ExampleCommand::TGo4ExampleCommand
() :
TGo4Command
()
19
{
20
GO4TRACE
((12,
"TGo4ExampleCommand::TGo4ExampleCommand() ctor"
,__LINE__, __FILE__));
21
//fxReceiver=0;
22
23
fbIsEnabled
=kTRUE;
24
fbIsSynchron
=kTRUE;
25
SetReceiverName
(
"ExampleApplication"
);
// sets the receiver name checked by command invoker
26
// receiver name neednt be class name!
27
}
28
29
TGo4ExampleCommand::TGo4ExampleCommand
(
const
TGo4ExampleCommand
&right)
30
:
TGo4Command
(right)
31
{
32
GO4TRACE
((12,
"TGo4ExampleCommand::TGo4ExampleCommand() copy constructor"
,__LINE__, __FILE__));
33
//fxReceiver=right.fxReceiver;
34
}
35
TGo4ExampleCommand::~TGo4ExampleCommand
()
36
{
37
GO4TRACE
((12,
"TGo4ExampleCommand::~TGo4ExampleCommand() dtor"
,__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*) ctor"
,__LINE__, __FILE__));
44
//fxReceiver=0;
45
46
fbIsEnabled
=kTRUE;
47
fbIsSynchron
=kTRUE;
48
SetReceiverName
(
"ExampleApplication"
);
// sets the receiver name checked by command invoker
49
// receiver name neednt be class name!
50
}
TGo4Command::SetReceiverName
void SetReceiverName(const char *)
Definition:
TGo4Command.cxx:92
TGo4ExampleCommand::TGo4ExampleCommand
TGo4ExampleCommand()
Definition:
TGo4ExampleCommand.cxx:18
TGo4ExampleCommand.h
TGo4ExampleCommand::~TGo4ExampleCommand
virtual ~TGo4ExampleCommand()
Definition:
TGo4ExampleCommand.cxx:35
TGo4Log.h
TGo4Command::fbIsSynchron
Bool_t fbIsSynchron
Definition:
TGo4Command.h:93
TGo4Command
Definition:
TGo4Command.h:36
GO4TRACE
#define GO4TRACE(X)
Definition:
TGo4Log.h:26
TGo4Command::fbIsEnabled
Bool_t fbIsEnabled
Definition:
TGo4Command.h:91
TGo4ExampleCommand
Definition:
TGo4ExampleCommand.h:19
Generated on Fri Oct 26 2018 08:34:53 for GSI Object Oriented Online Offline (Go4) by
1.8.8