GSI Object Oriented Online Offline (Go4) GO4-6.4.0
Loading...
Searching...
No Matches
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
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
30 :TGo4Command(right)
31{
32 GO4TRACE((12,"TGo4ExampleCommand::TGo4ExampleCommand(const TGo4ExampleCommand &)",__LINE__, __FILE__));
33 //fxReceiver = right.fxReceiver;
34}
36{
37 GO4TRACE((12,"TGo4ExampleCommand::~TGo4ExampleCommand()",__LINE__, __FILE__));
38}
39
40TGo4ExampleCommand::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}
#define GO4TRACE(X)
Definition TGo4Log.h:25
Bool_t fbIsSynchron
Definition TGo4Command.h:92
Bool_t fbIsEnabled
Definition TGo4Command.h:90
void SetReceiverName(const char *)