GSI Object Oriented Online Offline (Go4)  GO4-6.1.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TGo4RemoteCommand.h
Go to the documentation of this file.
1 // $Id: TGo4RemoteCommand.h 2627 2019-10-01 08:02:45Z 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 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 TGO4REMOTECOMMAND_H
15 #define TGO4REMOTECOMMAND_H
16 
17 #include "TGo4Command.h"
18 #include "TString.h"
19 
20 #define __REMCOMPARS__ 5
21 
30 
31  public:
32 
34 
35  TGo4RemoteCommand(const char* comname);
36 
37  virtual ~TGo4RemoteCommand();
38 
42  Int_t ExeCom();
43 
47  void SetAggregate(TObject* ob);
48 
49  TObject* GetAggregate(Bool_t chown=kTRUE);
50 
53  void SetCommandName(const char* txt) { fxCommandName=txt; }
54 
55  const char* GetCommandName() const { return fxCommandName.Data(); }
56 
61  void SetString(const char* txt,Int_t i);
62 
63  const char* GetString(Int_t i) const;
64 
68  void SetValue(Int_t num, Int_t i);
69 
70  Int_t GetValue(Int_t i) const;
71 
72  static const char* Get_fgxREMCOMEMPTYSTRING();
73 
74  private:
75 
76  void InitPars();
77 
79  TString fxCommandName;
80 
84 
87 
90  TObject* fxAggregate;
91 
92  static const char* fgxREMCOMEMPTYSTRING;
93 
94 
95  ClassDef(TGo4RemoteCommand,1)
96 };
97 
98 #endif //TGO4REMOTECOMMAND_H
Int_t fiValue[__REMCOMPARS__]
TObject * GetAggregate(Bool_t chown=kTRUE)
void SetAggregate(TObject *ob)
#define __REMCOMPARS__
Int_t GetValue(Int_t i) const
void SetCommandName(const char *txt)
const char * GetCommandName() const
TString fxParameter[__REMCOMPARS__]
const char * GetString(Int_t i) const
void SetValue(Int_t num, Int_t i)
void SetString(const char *txt, Int_t i)
static const char * Get_fgxREMCOMEMPTYSTRING()
static const char * fgxREMCOMEMPTYSTRING