Logo ROOT  
Reference Guide
REveDataSimpleProxyBuilder.hxx
Go to the documentation of this file.
1 // @(#)root/eve7:$Id$
2 // Authors: Matevz Tadel & Alja Mrak-Tadel, 2019
3 
4 /*************************************************************************
5  * Copyright (C) 1995-2019, Rene Brun and Fons Rademakers. *
6  * All rights reserved. *
7  * *
8  * For the licensing terms see $ROOTSYS/LICENSE. *
9  * For the list of contributors see $ROOTSYS/README/CREDITS. *
10  *************************************************************************/
11 
12 #ifndef ROOT7_REveDataProxySimpleBuilder
13 #define ROOT7_REveDataProxySimpleBuilder
14 
16 
17 namespace ROOT {
18 namespace Experimental {
19 
21 class REveElement;
22 
24 {
25 public:
26  REveDataSimpleProxyBuilder(const std::string &type);
28 
29 protected:
30  void Build(const REveDataCollection* iCollection, REveElement* product, const REveViewContext*) override;
31 
32  void BuildViewType(const REveDataCollection* iCollection, REveElement* product, std::string viewType, const REveViewContext*) override;
33 
34  // Called once for every item in collection, the void* points to the
35  // item properly offset in memory.
36  virtual void Build(const void* data, int index, REveElement* iCollectionHolder, const REveViewContext*) = 0;
37  virtual void BuildViewType(const void* data, int index, REveElement* iCollectionHolder, std::string viewType, const REveViewContext*) = 0;
38 
39  void Clean() override;
40 
41 private:
43 
45 
46  bool VisibilityModelChanges(int idx, REveElement*, const REveViewContext*) override;
47 
48 };
49 
50 } // namespace Experimental
51 } // namespace ROOT
52 
53 #endif
ROOT::Experimental::REveViewContext
Definition: REveViewContext.hxx:21
ROOT::Experimental::REveDataCollection
Definition: REveDataClasses.hxx:32
REveDataProxyBuilderBase.hxx
ROOT::Experimental::REveDataSimpleProxyBuilder::BuildViewType
void BuildViewType(const REveDataCollection *iCollection, REveElement *product, std::string viewType, const REveViewContext *) override
Definition: REveDataSimpleProxyBuilder.cxx:74
ROOT::Experimental::REveDataSimpleProxyBuilder::Clean
void Clean() override
Definition: REveDataSimpleProxyBuilder.cxx:20
ROOT::Experimental::REveElement
Definition: REveElement.hxx:80
ROOT::Experimental::REveDataProxyBuilderBase::Build
void Build()
Definition: REveDataProxyBuilderBase.cxx:84
ROOT::Experimental::REveDataSimpleProxyBuilder::operator=
const REveDataSimpleProxyBuilder & operator=(const REveDataSimpleProxyBuilder &)
ROOT::Experimental::REveDataSimpleProxyBuilder
Definition: REveDataSimpleProxyBuilder.hxx:24
ROOT::Experimental::REveDataSimpleProxyBuilder::VisibilityModelChanges
bool VisibilityModelChanges(int idx, REveElement *, const REveViewContext *) override
Definition: REveDataSimpleProxyBuilder.cxx:112
ROOT::Experimental::REveDataProxyBuilderBase
Definition: REveDataProxyBuilderBase.hxx:26
ROOT::Experimental::REveDataSimpleProxyBuilder::REveDataSimpleProxyBuilder
REveDataSimpleProxyBuilder(const REveDataSimpleProxyBuilder &)
ROOT::Experimental::REveDataSimpleProxyBuilder::~REveDataSimpleProxyBuilder
virtual ~REveDataSimpleProxyBuilder()
Definition: REveDataSimpleProxyBuilder.cxx:15
type
int type
Definition: TGX11.cxx:121
ROOT
VSD Structures.
Definition: StringConv.hxx:21
ROOT::Experimental::REveDataSimpleProxyBuilder::REveDataSimpleProxyBuilder
REveDataSimpleProxyBuilder(const std::string &type)
Definition: REveDataSimpleProxyBuilder.cxx:10