00001 // $Id: TGo4ComSetObject.h 831 2012-01-02 16:26:24Z linev $ 00002 //----------------------------------------------------------------------- 00003 // The GSI Online Offline Object Oriented (Go4) Project 00004 // Experiment Data Processing at EE department, GSI 00005 //----------------------------------------------------------------------- 00006 // Copyright (C) 2000- GSI Helmholtzzentrum für Schwerionenforschung GmbH 00007 // Planckstr. 1, 64291 Darmstadt, Germany 00008 // Contact: http://go4.gsi.de 00009 //----------------------------------------------------------------------- 00010 // This software can be used under the license agreements as stated 00011 // in Go4License.txt file which is part of the distribution. 00012 //----------------------------------------------------------------------- 00013 00014 #ifndef TGO4COMSETOBJECT_H 00015 #define TGO4COMSETOBJECT_H 00016 00017 #include "TGo4AnalysisObjectCommand.h" 00018 00019 class TGo4AnalysisClient; 00020 class TGo4Analysis; 00021 class TGo4AnalysisObjectResult; 00022 class TGo4RemoteCommand; 00023 class TGo4Parameter; 00024 class TGo4ParameterStatus; 00025 class TGo4Condition; 00026 class TGo4DynamicEntry; 00027 class TGo4Picture; 00028 class TH1; 00029 00039 class TGo4ComSetObject : public TGo4AnalysisObjectCommand { 00040 public: 00041 00042 TGo4ComSetObject(); 00043 TGo4ComSetObject(const char* obname); 00044 virtual ~TGo4ComSetObject(); 00045 Int_t ExeCom(); 00049 virtual void Set(TGo4RemoteCommand* remcon); 00050 00051 void SetObject(TObject* ob) { fxObject=ob; } 00052 private: 00053 00054 Int_t ExeSetParStatus(TGo4ParameterStatus* par); 00055 Int_t ExeSetPar(TGo4Parameter* par); 00056 Int_t ExeSetCon(TGo4Condition* con); 00057 Int_t ExeSetHis(TH1* his); 00058 Int_t ExeSetDyn(TGo4DynamicEntry* dyn); 00059 Int_t ExeSetPic(TGo4Picture* pic); 00060 Int_t ExeSetObj(TObject* ob); 00061 00063 TObject* fxObject; 00064 00065 TGo4AnalysisClient* fxClient; 00066 00067 TGo4Analysis* fxAna; 00068 00070 TGo4AnalysisObjectResult* fxResult; 00071 00072 ClassDef(TGo4ComSetObject,1) 00073 }; 00074 00075 #endif //TGO4COMSETOBJECT_H