Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

TGo4AnalysisObjectResult.h

Go to the documentation of this file.
00001 //-------------------------------------------------------------
00002 //        Go4 Release Package v3.04-01 (build 30401)
00003 //                      28-November-2008
00004 //---------------------------------------------------------------
00005 //   The GSI Online Offline Object Oriented (Go4) Project
00006 //   Experiment Data Processing at EE department, GSI
00007 //---------------------------------------------------------------
00008 //
00009 //Copyright (C) 2000- Gesellschaft f. Schwerionenforschung, GSI
00010 //                    Planckstr. 1, 64291 Darmstadt, Germany
00011 //Contact:            http://go4.gsi.de
00012 //----------------------------------------------------------------
00013 //This software can be used under the license agreements as stated
00014 //in Go4License.txt file which is part of the distribution.
00015 //----------------------------------------------------------------
00016 #ifndef TGO4ANALYSISOBJECTRESULT_H
00017 #define TGO4ANALYSISOBJECTRESULT_H
00018 
00019 #include "TGo4Status.h"
00020 
00021 #include "TString.h"
00022 #include "TGo4AnalysisObjectNames.h"
00023 
00024 
00036     enum Go4ResultAction_t
00037     {
00038        kGo4ActionNul,       // NOP
00039        kGo4ActionRefresh,   // Refresh this object
00040        kGo4ActionPlot,      // Display object
00041        kGo4ActionEdit,      // Get work object into editor
00042        kGo4ActionError      // Display Error message
00043     };
00044 
00045 
00046 class TGo4AnalysisObjectResult : public TGo4Status {
00047 
00048 
00049   public:
00050 
00051    TGo4AnalysisObjectResult();
00052 
00053    TGo4AnalysisObjectResult(const char* name);
00054 
00055    virtual ~TGo4AnalysisObjectResult();
00056 
00057    void SetNamesList(TGo4AnalysisObjectNames* n) { fxNamesList = n;}
00058 
00060     TGo4AnalysisObjectNames * GetNamesList(Bool_t chown=kTRUE);
00061 
00062     const char* GetObjectFullName() const { return fxFullName.Data(); }
00063 
00064     void SetObjectFullName(const char* nam){fxFullName=nam;}
00065 
00066     const char* GetMessage() const { return fxMessage.Data(); }
00067 
00068     void SetMessage(const char* nam){fxMessage=nam;}
00069 
00070     void SetAction(Go4ResultAction_t com){fiAction=com;}
00071 
00072     Go4ResultAction_t Action() const { return fiAction; }
00073 
00076     virtual Int_t PrintStatus(Text_t* buffer=0, Int_t buflen=0);
00077 
00078   private:
00079 
00081     TGo4AnalysisObjectNames * fxNamesList;
00083     TString fxFullName;
00085     Go4ResultAction_t fiAction;
00087     TString fxMessage;
00088 
00089   ClassDef(TGo4AnalysisObjectResult,1)
00090 };
00091 
00092 #endif //TGO4ANALYSISOBJECTRESULT_H
00093 
00094 //----------------------------END OF GO4 SOURCE FILE ---------------------

Generated on Fri Nov 28 12:59:28 2008 for Go4-v3.04-1 by  doxygen 1.4.2