GSI Object Oriented Online Offline (Go4)  GO4-6.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TGo4DabcProxy.h
Go to the documentation of this file.
1 // $Id: TGo4DabcProxy.h 2627 2019-10-01 08:02:45Z linev $
2 //-----------------------------------------------------------------------
3 // The GSI Online Offline Object Oriented (Go4) Project
4 // Experiment Data Processing at EE department, GSI
5 //-----------------------------------------------------------------------
6 // Copyright (C) 2000- GSI Helmholtzzentrum fuer Schwerionenforschung GmbH
7 // Planckstr. 1, 64291 Darmstadt, Germany
8 // Contact: http://go4.gsi.de
9 //-----------------------------------------------------------------------
10 // This software can be used under the license agreements as stated
11 // in Go4License.txt file which is part of the distribution.
12 //-----------------------------------------------------------------------
13 
14 #ifndef TGO4DABCPROXY_H
15 #define TGO4DABCPROXY_H
16 
17 #include "TGo4ServerProxy.h"
18 #include "TString.h"
19 
20 class TH1;
21 
23  protected:
24  TString fNodeName;
25  void* fxHierarchy;
27 
28  public:
29  TGo4DabcProxy();
30  virtual ~TGo4DabcProxy();
31 
32  Bool_t Connect(const char* nodename);
33  Bool_t UpdateHierarchy(Bool_t sync = kTRUE);
34  Bool_t ReplyCommand(void* cmd);
35 
36  virtual const char* GetServerName() const { return fNodeName.Data(); }
37 
38  virtual void Initialize(TGo4Slot* slot);
39  virtual void Finalize(TGo4Slot* slot);
40 
41  virtual Bool_t HasSublevels() const;
42  virtual TGo4Access* ProvideAccess(const char* name);
43  virtual TGo4LevelIter* MakeIter();
44 
45  virtual Int_t GetObjectKind() { return TGo4Access::kndFolder; }
46  virtual const char* GetContainedClassName() { return "TGo4DabcProxy"; }
47  virtual const char* GetContainedObjectInfo() { return 0; }
48  virtual Int_t GetObjectSizeInfo() { return -1; }
49 
50  virtual void WriteData(TGo4Slot* slot, TDirectory* dir, Bool_t onlyobjs);
51  virtual void ReadData(TGo4Slot* slot, TDirectory* dir);
52 
53  virtual void Update(TGo4Slot* slot, Bool_t strong);
54 
55  virtual Bool_t RefreshNamesList();
56 
57  static const char* GetDabcVersion();
58 
60 };
61 
62 #endif
Bool_t Connect(const char *nodename)
Bool_t UpdateHierarchy(Bool_t sync=kTRUE)
void * fxHierarchy
Definition: TGo4DabcProxy.h:25
virtual void Update(TGo4Slot *slot, Bool_t strong)
virtual const char * GetContainedObjectInfo()
Definition: TGo4DabcProxy.h:47
virtual Int_t GetObjectKind()
Definition: TGo4DabcProxy.h:45
virtual Bool_t RefreshNamesList()
virtual void Initialize(TGo4Slot *slot)
virtual void Finalize(TGo4Slot *slot)
TString fNodeName
Definition: TGo4DabcProxy.h:24
virtual const char * GetServerName() const
Definition: TGo4DabcProxy.h:36
virtual TGo4LevelIter * MakeIter()
virtual void WriteData(TGo4Slot *slot, TDirectory *dir, Bool_t onlyobjs)
virtual ~TGo4DabcProxy()
Bool_t ReplyCommand(void *cmd)
static const char * GetDabcVersion()
virtual Int_t GetObjectSizeInfo()
Definition: TGo4DabcProxy.h:48
virtual Bool_t HasSublevels() const
virtual TGo4Access * ProvideAccess(const char *name)
TGo4Slot * fxParentSlot
pointer on dabc::Hierarchy class
Definition: TGo4DabcProxy.h:26
virtual void ReadData(TGo4Slot *slot, TDirectory *dir)
virtual const char * GetContainedClassName()
Definition: TGo4DabcProxy.h:46
ClassDef(TGo4DabcProxy, 1)