GSI Object Oriented Online Offline (Go4)  GO4-5.3.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
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 
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 
30  :TGo4Command(right)
31 {
32  GO4TRACE((12,"TGo4ExampleCommand::TGo4ExampleCommand() copy constructor",__LINE__, __FILE__));
33  //fxReceiver=right.fxReceiver;
34 }
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 }
void SetReceiverName(const char *)
Definition: TGo4Command.cxx:92
Bool_t fbIsSynchron
Definition: TGo4Command.h:93
#define GO4TRACE(X)
Definition: TGo4Log.h:26
Bool_t fbIsEnabled
Definition: TGo4Command.h:91