1 #ifndef Fireworks_Core_FWSimpleProxyBuilderTemplate_h 2 #define Fireworks_Core_FWSimpleProxyBuilderTemplate_h 52 build(*reinterpret_cast<const T*> (iData), iIndex, oItemHolder, context);
60 buildViewType(*reinterpret_cast<const T*> (iData), iIndex, oItemHolder, viewType, context);
66 virtual void build(
const T& iData,
unsigned int iIndex,TEveElement& oItemHolder,
const FWViewContext*)
68 throw std::runtime_error(
"virtual build(const T&, unsigned int, TEveElement&, const FWViewContext*) not implemented by inherited class.");
73 throw std::runtime_error(
"virtual buildViewType(const T&, unsigned int, TEveElement&, FWViewType::EType, const FWViewContext*) not implemented by inherited class");
const fireworks::Context & context() const
void buildViewType(const void *iData, unsigned int iIndex, TEveElement &oItemHolder, FWViewType::EType viewType, const FWViewContext *context) override
virtual void buildViewType(const T &iData, unsigned int iIndex, TEveElement &oItemHolder, FWViewType::EType viewType, const FWViewContext *)
virtual void build(const T &iData, unsigned int iIndex, TEveElement &oItemHolder, const FWViewContext *)
const void * offsetObject(const void *iObj) const
const FWSimpleProxyBuilderTemplate & operator=(const FWSimpleProxyBuilderTemplate &)=delete
const FWEventItem * item() const
const T & modelData(int index)
FWSimpleProxyBuilderTemplate()
FWSimpleProxyHelper m_helper
void buildViewType(const FWEventItem *iItem, TEveElementList *product, FWViewType::EType viewType, const FWViewContext *) override
void build(const void *iData, unsigned int iIndex, TEveElement &oItemHolder, const FWViewContext *context) override