GSI Object Oriented Online Offline (Go4) GO4-6.4.0
Loading...
Searching...
No Matches
TGo4AnalysisObjectCommand.h
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#ifndef TGO4ANALYSISOBJECTCOMMAND_H
15#define TGO4ANALYSISOBJECTCOMMAND_H
16
17#include "TGo4AnalysisCommand.h"
18#include "TString.h"
19
26
27 public:
28
30
31 TGo4AnalysisObjectCommand(const char *comname,
32 const char *description,
33 const char *obname);
34
36 const char *GetObjectName() const { return fxObjectName.Data(); }
37
39 void SetObjectName(const char *name) { fxObjectName = name; }
40
41 const char *GetFolderName() const { return fxFolderName.Data(); }
42
43 void SetFolderName(const char *name) { fxFolderName = name; }
44
48 void Set(TGo4RemoteCommand *remcon) override;
49
50 private:
51
53 TString fxObjectName;
54
56 TString fxFolderName;
57
58 ClassDefOverride(TGo4AnalysisObjectCommand,1)
59};
60
61#endif //TGO4ANALYSISOBJECTCOMMAND_H
const char * GetObjectName() const
access to the object name under command.
void SetObjectName(const char *name)
set the object name under command.
TString fxObjectName
Name of the object under command.
void Set(TGo4RemoteCommand *remcon) override
Set internals of this command from specification of external remote command (command container).
TString fxFolderName
Optional subfolder name where the object is located.
void SetFolderName(const char *name)
This command is a container for commands to be send from master to slave via inter-process transport.