GSI Object Oriented Online Offline (Go4) GO4-6.4.0
Loading...
Searching...
No Matches
TGo4AnalysisObjectResult.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 TGO4ANALYSISOBJECTRESULT_H
15#define TGO4ANALYSISOBJECTRESULT_H
16
17#include "TGo4Status.h"
18
20
29
30
33{
35 kGo4ActionRefresh, // Refresh this object
36 kGo4ActionPlot, // Display object
37 kGo4ActionEdit, // Get work object into editor
38 kGo4ActionError // Display Error message
39};
40
41
43
44 public:
45
47
48 TGo4AnalysisObjectResult(const char *name);
49
51
53
55 TGo4AnalysisObjectNames *GetNamesList(Bool_t chown = kTRUE);
56
57 const char *GetObjectFullName() const { return fxFullName.Data(); }
58
59 void SetObjectFullName(const char *nam) { fxFullName = nam; }
60
61 const char *GetMessage() const { return fxMessage.Data(); }
62
63 void SetMessage(const char *nam) { fxMessage = nam; }
64
66
67 Go4ResultAction_t Action() const { return fiAction; }
68
69 void Print(Option_t *opt = "") const override;
70
71 private:
72
75
77 TString fxFullName;
78
81
83 TString fxMessage;
84
85 ClassDefOverride(TGo4AnalysisObjectResult,2)
86};
87
88#endif //TGO4ANALYSISOBJECTRESULT_H
Go4ResultAction_t
This status is sent back to GUI as a result structure after a command has been executed in analysis t...
Contains the name (key) list of all objects in the analysis scope.
const char * GetObjectFullName() const
TString fxFullName
not streamed, valid only inside analysis
Go4ResultAction_t fiAction
This contains an action token to execute on gui side.
TGo4AnalysisObjectNames * fxNamesList
Last state of the objects in analysis after modification.
Go4ResultAction_t Action() const
TGo4AnalysisObjectNames * GetNamesList(Bool_t chown=kTRUE)
Take out the nameslist.
void SetObjectFullName(const char *nam)
void SetAction(Go4ResultAction_t com)
void Print(Option_t *opt="") const override
void SetNamesList(TGo4AnalysisObjectNames *n)
TString fxMessage
Optional error or info message.