Go to the documentation of this file.00001 #ifndef Fireworks_Core_FWSimpleProxyBuilder_h
00002 #define Fireworks_Core_FWSimpleProxyBuilder_h
00003
00004
00005
00006
00007
00016
00017
00018
00019
00020
00021
00022
00023 #include <typeinfo>
00024
00025
00026 #include "Fireworks/Core/interface/FWProxyBuilderBase.h"
00027 #include "Fireworks/Core/interface/FWSimpleProxyHelper.h"
00028
00029
00030
00031 class FWSimpleProxyBuilder : public FWProxyBuilderBase {
00032
00033 public:
00034 FWSimpleProxyBuilder(const std::type_info& iType);
00035 virtual ~FWSimpleProxyBuilder();
00036
00037
00038
00039
00041 static std::string typeOfBuilder();
00042
00043
00044
00045 protected:
00046 virtual void build(const FWEventItem* iItem, TEveElementList* product, const FWViewContext*);
00047 virtual void buildViewType(const FWEventItem* iItem, TEveElementList* product, FWViewType::EType viewType, const FWViewContext*);
00048
00049
00050 virtual void clean();
00051 FWSimpleProxyHelper m_helper;
00052 private:
00053 FWSimpleProxyBuilder(const FWSimpleProxyBuilder&);
00054
00055 const FWSimpleProxyBuilder& operator=(const FWSimpleProxyBuilder&);
00056
00057 virtual void itemChangedImp(const FWEventItem*);
00058
00059 virtual bool visibilityModelChanges(const FWModelId&, TEveElement*, FWViewType::EType, const FWViewContext*);
00060
00061
00062
00063 virtual void build(const void*, unsigned int iIndex, TEveElement& iItemHolder, const FWViewContext*) = 0;
00064 virtual void buildViewType(const void*, unsigned int iIndex, TEveElement& iItemHolder, FWViewType::EType, const FWViewContext*) = 0;
00065
00066
00067 };
00068
00069
00070 #endif