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 TGO4LINKPROXY_H 00017 #define TGO4LINKPROXY_H 00018 00019 #include "TGo4Proxy.h" 00020 00021 class TString; 00022 00023 class TGo4LinkProxy : public TGo4Proxy { 00024 public: 00025 TGo4LinkProxy(); 00026 TGo4LinkProxy(TGo4Slot* linkedslot); 00027 virtual ~TGo4LinkProxy(); 00028 00029 virtual void Initialize(TGo4Slot* slot); 00030 virtual void Finalize(TGo4Slot* slot); 00031 00032 virtual TGo4Access* MakeProxy(const char* name); 00033 virtual TGo4LevelIter* MakeIter(); 00034 00035 virtual Int_t GetObjectKind(); 00036 virtual const char* GetContainedClassName(); 00037 00038 virtual void WriteData(TGo4Slot* slot, TDirectory* dir, Bool_t onlyobjs); 00039 virtual void ReadData(TGo4Slot* slot, TDirectory* dir); 00040 00041 virtual Bool_t IsAcceptObject(TClass* cl); 00042 virtual Bool_t AssignObject(TGo4Slot* slot, TObject* obj, Bool_t owner); 00043 virtual TObject* GetAssignedObject(); 00044 00045 virtual Bool_t ProcessEvent(TGo4Slot* slot, TGo4Slot* source, Int_t id, void* param); 00046 00047 TGo4Slot* GetLink() const { return fLink; } 00048 00049 protected: 00050 TGo4Slot* fLink; 00051 00052 ClassDef(TGo4LinkProxy, 1); 00053 }; 00054 00055 #endif 00056 00057 //----------------------------END OF GO4 SOURCE FILE ---------------------