1 #ifndef Fireworks_Core_FWSimpleProxyBuilderTemplate_h
2 #define Fireworks_Core_FWSimpleProxyBuilderTemplate_h
51 build(*reinterpret_cast<const T*> (iData), iIndex, oItemHolder, context);
59 buildViewType(*reinterpret_cast<const T*> (iData), iIndex, oItemHolder, viewType, context);
65 virtual void build(
const T& iData,
unsigned int iIndex,TEveElement& oItemHolder,
const FWViewContext*)
67 throw std::runtime_error(
"virtual build(const T&, unsigned int, TEveElement&, const FWViewContext*) not implemented by inherited class.");
72 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
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 FWEventItem * item() const
const T & modelData(int index)
FWSimpleProxyBuilderTemplate()
const FWSimpleProxyBuilderTemplate & operator=(const FWSimpleProxyBuilderTemplate &)
FWSimpleProxyHelper m_helper
virtual void build(const void *iData, unsigned int iIndex, TEveElement &oItemHolder, const FWViewContext *context)
virtual void buildViewType(const void *iData, unsigned int iIndex, TEveElement &oItemHolder, FWViewType::EType viewType, const FWViewContext *context)
virtual void buildViewType(const FWEventItem *iItem, TEveElementList *product, FWViewType::EType viewType, const FWViewContext *)