GSI Object Oriented Online Offline (Go4)  GO4-6.3.0
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 
33 {
34  kGo4ActionNul, // NOP
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 
50  virtual ~TGo4AnalysisObjectResult();
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 
65  void SetAction(Go4ResultAction_t com) { fiAction = com; }
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 Action() const
void SetMessage(const char *nam)
const char * GetObjectFullName() const
TString fxFullName
not streamed, valid only inside analysis
void Print(Option_t *opt="") const override
void SetNamesList(TGo4AnalysisObjectNames *n)
TGo4AnalysisObjectNames * GetNamesList(Bool_t chown=kTRUE)
void SetObjectFullName(const char *nam)
TGo4AnalysisObjectNames * fxNamesList
void SetAction(Go4ResultAction_t com)