GSI Object Oriented Online Offline (Go4) GO4-6.4.0
Loading...
Searching...
No Matches
TGo4DabcProxy.h
Go to the documentation of this file.
1// $Id$
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
20class TH1;
21
23 protected:
24 TString fNodeName;
25 void *fxHierarchy{nullptr};
27
28 public:
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 const char *GetServerName() const override { return fNodeName.Data(); }
37
38 void Initialize(TGo4Slot *slot) override;
39 void Finalize(TGo4Slot *slot) override;
40
41 Bool_t HasSublevels() const override;
42 std::unique_ptr<TGo4Access> ProvideAccess(const char *name) override;
43 TGo4LevelIter *MakeIter() override;
44
45 Int_t GetObjectKind() const override { return TGo4Access::kndFolder; }
46 const char *GetContainedClassName() const override { return "TGo4DabcProxy"; }
47 const char *GetContainedObjectInfo() override { return nullptr; }
48 Int_t GetObjectSizeInfo() const override { return -1; }
49
50 void WriteData(TGo4Slot *slot, TDirectory *dir, Bool_t onlyobjs) override;
51 void ReadData(TGo4Slot *slot, TDirectory *dir) override;
52
53 void Update(TGo4Slot *slot, Bool_t strong) override;
54
55 Bool_t RefreshNamesList() override;
56
57 static const char *GetDabcVersion();
58
60};
61
62#endif
TGo4Slot * fxParentSlot
pointer on dabc::Hierarchy class
Bool_t UpdateHierarchy(Bool_t sync=kTRUE)
void Update(TGo4Slot *slot, Bool_t strong) override
void Finalize(TGo4Slot *slot) override
Bool_t HasSublevels() const override
Int_t GetObjectKind() const override
void Initialize(TGo4Slot *slot) override
TString fNodeName
void WriteData(TGo4Slot *slot, TDirectory *dir, Bool_t onlyobjs) override
Bool_t Connect(const char *nodename)
TGo4LevelIter * MakeIter() override
const char * GetContainedObjectInfo() override
const char * GetContainedClassName() const override
void ReadData(TGo4Slot *slot, TDirectory *dir) override
ClassDefOverride(TGo4DabcProxy, 1)
static const char * GetDabcVersion()
Bool_t RefreshNamesList() override
Bool_t ReplyCommand(void *cmd)
std::unique_ptr< TGo4Access > ProvideAccess(const char *name) override
Int_t GetObjectSizeInfo() const override
const char * GetServerName() const override
virtual ~TGo4DabcProxy()
TGo4ServerProxy()
contained object info