Go to the documentation of this file. 1 #ifndef Fireworks_Core_FWSimpleProxyBuilderTemplate_h
2 #define Fireworks_Core_FWSimpleProxyBuilderTemplate_h
47 if (
nullptr != iData) {
48 build(*reinterpret_cast<const T*>(iData), iIndex, oItemHolder,
context);
55 TEveElement& oItemHolder,
58 if (
nullptr != iData) {
65 virtual void build(
const T& iData,
unsigned int iIndex, TEveElement& oItemHolder,
const FWViewContext*) {
66 throw std::runtime_error(
67 "virtual build(const T&, unsigned int, TEveElement&, const FWViewContext*) not implemented by inherited "
73 throw std::runtime_error(
74 "virtual buildViewType(const T&, unsigned int, TEveElement&, FWViewType::EType, const FWViewContext*) not "
75 "implemented by inherited class");
void buildViewType(const FWEventItem *iItem, TEveElementList *product, FWViewType::EType viewType, const FWViewContext *) override
const T & modelData(int index)
virtual void build(const T &iData, unsigned int iIndex, TEveElement &oItemHolder, const FWViewContext *)
virtual void buildViewType(const T &iData, unsigned int iIndex, TEveElement &oItemHolder, FWViewType::EType viewType, const FWViewContext *)
void buildViewType(const void *iData, unsigned int iIndex, TEveElement &oItemHolder, FWViewType::EType viewType, const FWViewContext *context) override
FWSimpleProxyHelper m_helper
const FWSimpleProxyBuilderTemplate & operator=(const FWSimpleProxyBuilderTemplate &)=delete
const void * offsetObject(const void *iObj) const
const FWEventItem * item() const
FWSimpleProxyBuilderTemplate()
const fireworks::Context & context() const
void build(const void *iData, unsigned int iIndex, TEveElement &oItemHolder, const FWViewContext *context) override