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 TGO4DRAWCLONEPROXY_H 00017 #define TGO4DRAWCLONEPROXY_H 00018 00019 #include "TGo4LinkProxy.h" 00020 00021 class TGo4ViewPanel; 00022 00023 class TGo4DrawCloneProxy : public TGo4LinkProxy { 00024 public: 00025 TGo4DrawCloneProxy(TGo4Slot* slot, TGo4ViewPanel* panel); 00026 virtual ~TGo4DrawCloneProxy(); 00027 Bool_t AssignClone(TObject* obj, TGo4Slot* slot); 00028 void CleanupClone(TGo4Slot* slot); 00029 void ChangeTitle(TObject* obj); 00030 void UpdateTitle(); 00031 void PerformRebin(); 00032 00033 virtual Bool_t RemoveRegisteredObject(TObject* obj); 00034 virtual void Initialize(TGo4Slot* slot); 00035 virtual void Finalize(TGo4Slot* slot); 00036 virtual TObject* GetAssignedObject(); 00037 virtual Bool_t ProcessEvent(TGo4Slot* slot, TGo4Slot* source, Int_t id, void* param); 00038 00039 protected: 00040 TObject* fClone; 00041 TGo4ViewPanel* fPanel; 00042 TGo4Slot* fParentSlot; 00043 }; 00044 00045 #endif 00046 00047 //----------------------------END OF GO4 SOURCE FILE ---------------------