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 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 FWSimpleProxyBuilderTemplate & operator=(const FWSimpleProxyBuilderTemplate &)=delete
const fireworks::Context & context() const
const T & modelData(int index)
FWSimpleProxyBuilderTemplate()
const void * offsetObject(const void *iObj) const
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
const FWEventItem * item() const