GSI Object Oriented Online Offline (Go4)  GO4-5.3.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TGo4AnalysisObjectResult.h
Go to the documentation of this file.
1 // $Id: TGo4AnalysisObjectResult.h 831 2012-01-02 16:26:24Z 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 #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 
45  public:
46 
48 
49  TGo4AnalysisObjectResult(const char* name);
50 
51  virtual ~TGo4AnalysisObjectResult();
52 
54 
56  TGo4AnalysisObjectNames * GetNamesList(Bool_t chown=kTRUE);
57 
58  const char* GetObjectFullName() const { return fxFullName.Data(); }
59 
60  void SetObjectFullName(const char* nam) { fxFullName=nam; }
61 
62  const char* GetMessage() const { return fxMessage.Data(); }
63 
64  void SetMessage(const char* nam) { fxMessage=nam; }
65 
67 
68  Go4ResultAction_t Action() const { return fiAction; }
69 
72  virtual Int_t PrintStatus(Text_t* buffer=0, Int_t buflen=0);
73 
74  private:
75 
78 
80  TString fxFullName;
81 
84 
86  TString fxMessage;
87 
88  ClassDef(TGo4AnalysisObjectResult,2)
89 };
90 
91 #endif //TGO4ANALYSISOBJECTRESULT_H
const char * GetObjectFullName() const
void SetMessage(const char *nam)
const char * GetMessage() const
TString fxFullName
not streamed, valid only inside analysis
virtual Int_t PrintStatus(Text_t *buffer=0, Int_t buflen=0)
Go4ResultAction_t Action() const
void SetNamesList(TGo4AnalysisObjectNames *n)
TGo4AnalysisObjectNames * GetNamesList(Bool_t chown=kTRUE)
void SetObjectFullName(const char *nam)
TGo4AnalysisObjectNames * fxNamesList
void SetAction(Go4ResultAction_t com)