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 #include "TGo4Proxy.h" 00017 00018 #include "TROOT.h" 00019 00020 Bool_t TGo4Access::CanGetObject() const 00021 { 00022 return kFALSE; 00023 } 00024 00025 Bool_t TGo4Access::GetObject(TObject* &obj, Bool_t &owner) const 00026 { 00027 obj = 0; 00028 owner = kFALSE; 00029 return kFALSE; 00030 } 00031 00032 00033 const char* TGo4Access::GetObjectName() const 00034 { 00035 return 0; 00036 } 00037 00038 TClass* TGo4Access::GetObjectClass() const 00039 { 00040 const char* name = GetObjectClassName(); 00041 return name==0 ? 0 : (TClass*) gROOT->GetListOfClasses()->FindObject(name); 00042 } 00043 00044 const char* TGo4Access::GetObjectClassName() const 00045 { 00046 return 0; 00047 } 00048 00049 Int_t TGo4Access::AssignObjectTo(TGo4ObjectReceiver* rcv, const char* path) 00050 { 00051 if ((rcv==0) || IsRemote()) return 0; 00052 TObject* obj = 0; 00053 Bool_t owner = kFALSE; 00054 if (!GetObject(obj, owner)) return 0; 00055 DoObjectAssignement(rcv, path, obj, owner); 00056 return 1; 00057 } 00058 00059 //----------------------------END OF GO4 SOURCE FILE ---------------------