1 #ifndef Fireworks_Core_FWSimpleProxyBuilderTemplate_h
2 #define Fireworks_Core_FWSimpleProxyBuilderTemplate_h
56 build(*reinterpret_cast<const T*> (iData), iIndex, oItemHolder, context);
63 buildViewType(*reinterpret_cast<const T*> (iData), iIndex, oItemHolder, viewType, context);
69 virtual void build(
const T& iData,
unsigned int iIndex,TEveElement& oItemHolder,
const FWViewContext*)
71 throw std::runtime_error(
"virtual build(const T&, unsigned int, TEveElement&, const FWViewContext*) not implemented by inherited class.");
76 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)