#include <Fireworks/Core/interface/FWSimpleProxyBuilderTemplate.h>
Public Member Functions | |
FWSimpleProxyBuilderTemplate () | |
Protected Member Functions | |
const T & | modelData (int index) |
Private Member Functions | |
virtual void | build (const void *iData, unsigned int iIndex, TEveElement &oItemHolder, const FWViewContext *context) |
virtual void | build (const T &iData, unsigned int iIndex, TEveElement &oItemHolder, const FWViewContext *) |
virtual void | buildViewType (const void *iData, unsigned int iIndex, TEveElement &oItemHolder, FWViewType::EType viewType, const FWViewContext *context) |
virtual void | buildViewType (const T &iData, unsigned int iIndex, TEveElement &oItemHolder, FWViewType::EType viewType, const FWViewContext *) |
FWSimpleProxyBuilderTemplate (const FWSimpleProxyBuilderTemplate &) | |
const FWSimpleProxyBuilderTemplate & | operator= (const FWSimpleProxyBuilderTemplate &) |
Description: <one line="" class="" summary>="">
Usage: <usage>
Definition at line 30 of file FWSimpleProxyBuilderTemplate.h.
FWSimpleProxyBuilderTemplate< T >::FWSimpleProxyBuilderTemplate | ( | ) | [inline] |
Definition at line 33 of file FWSimpleProxyBuilderTemplate.h.
: FWSimpleProxyBuilder(typeid(T)) { }
FWSimpleProxyBuilderTemplate< T >::FWSimpleProxyBuilderTemplate | ( | const FWSimpleProxyBuilderTemplate< T > & | ) | [private] |
virtual void FWSimpleProxyBuilderTemplate< T >::build | ( | const void * | iData, |
unsigned int | iIndex, | ||
TEveElement & | oItemHolder, | ||
const FWViewContext * | context | ||
) | [inline, private, virtual] |
Implements FWSimpleProxyBuilder.
Definition at line 53 of file FWSimpleProxyBuilderTemplate.h.
{ if(0!=iData) { build(*reinterpret_cast<const T*> (iData), iIndex, oItemHolder, context); } }
virtual void FWSimpleProxyBuilderTemplate< T >::build | ( | const T & | iData, |
unsigned int | iIndex, | ||
TEveElement & | oItemHolder, | ||
const FWViewContext * | |||
) | [inline, private, virtual] |
iIndex is the index where iData is found in the container from which it came iItemHolder is the object to which you add your own objects which inherit from TEveElement
Reimplemented in FWCaloClusterProxyBuilder, FWJetLegoProxyBuilder, FWL1EmParticleProxyBuilder, FWL1EtMissParticleGlimpseProxyBuilder, FWL1EtMissParticleLegoProxyBuilder, FWL1EtMissParticleProxyBuilder, FWL1JetParticleLegoProxyBuilder, FWL1JetParticleProxyBuilder, FWL1MuonParticleLegoProxyBuilder, FWL1MuonParticleProxyBuilder, FWMET3DProxyBuilder, FWMETGlimpseProxyBuilder, FWMETLegoProxyBuilder, FWCandidateProxyBuilder, FWElectronLegoProxyBuilder, FWElectronGlimpseProxyBuilder, FWPhotonLegoProxyBuilder, FWGenParticleProxyBuilder, FWCSCRecHitProxyBuilder, FWCSCSegmentProxyBuilder, FWDTSegmentProxyBuilder, FWMuonGlimpseProxyBuilder, FWMuonLegoProxyBuilder, FWMuonProxyBuilder, FWMuonRhoPhiProxyBuilder, FWPFCandidate3DProxyBuilder, FWPFCandidatesLegoProxyBuilder, FWPFEcalClusterLegoProxyBuilder, FWPFHcalClusterLegoProxyBuilder, FWPFClusterRPZProxyBuilder, FWPFEcalClusterRPZProxyBuilder, FWPFHcalClusterRPZProxyBuilder, FWPFPatJet3DProxyBuilder< T >, FWPFPatJetLegoProxyBuilder< T >, FWPFTrack3DProxyBuilder, FWPFTrackLegoProxyBuilder, FWPFTrackRPZProxyBuilder, FWPSimHitProxyBuilder, FWSimVertexProxyBuilder, FWTrackingParticleProxyBuilder, FWTrackingVertexProxyBuilder, FWBeamSpotOnlineProxyBuilder, FWBeamSpotProxyBuilder, FWSiStripClusterProxyBuilder, FWTrackProxyBuilder, FWTracksModulesProxyBuilder, FWTracksRecHitsProxyBuilder, FWTrackTrackingRecHitProxyBuilder, FWSecVertexProxyBuilder, FWVertexProxyBuilder, FWVertexWithTracksProxyBuilder, FWPFPatJet3DProxyBuilder< pat::Jet >, FWPFPatJet3DProxyBuilder< reco::PFJet >, FWPFPatJetLegoProxyBuilder< pat::Jet >, and FWPFPatJetLegoProxyBuilder< reco::PFJet >.
Definition at line 69 of file FWSimpleProxyBuilderTemplate.h.
{ throw std::runtime_error("virtual build(const T&, unsigned int, TEveElement&, const FWViewContext*) not implemented by inherited class."); }
virtual void FWSimpleProxyBuilderTemplate< T >::buildViewType | ( | const void * | iData, |
unsigned int | iIndex, | ||
TEveElement & | oItemHolder, | ||
FWViewType::EType | viewType, | ||
const FWViewContext * | context | ||
) | [inline, private, virtual] |
Implements FWSimpleProxyBuilder.
Definition at line 60 of file FWSimpleProxyBuilderTemplate.h.
Referenced by FWSimpleProxyBuilderTemplate< l1extra::L1JetParticle >::buildViewType().
{ if(0!=iData) { buildViewType(*reinterpret_cast<const T*> (iData), iIndex, oItemHolder, viewType, context); } }
virtual void FWSimpleProxyBuilderTemplate< T >::buildViewType | ( | const T & | iData, |
unsigned int | iIndex, | ||
TEveElement & | oItemHolder, | ||
FWViewType::EType | viewType, | ||
const FWViewContext * | |||
) | [inline, private, virtual] |
Reimplemented in FWJetProxyBuilder, FWMETProxyBuilder, FWConversionProxyBuilder, FWElectronProxyBuilder, FWPhotonProxyBuilder, FWDTRecHitProxyBuilder, FWRPCRecHitProxyBuilder, and FWPFBlockProxyBuilder.
Definition at line 74 of file FWSimpleProxyBuilderTemplate.h.
{ throw std::runtime_error("virtual buildViewType(const T&, unsigned int, TEveElement&, FWViewType::EType, const FWViewContext*) not implemented by inherited class"); };
const T& FWSimpleProxyBuilderTemplate< T >::modelData | ( | int | index | ) | [inline, protected] |
Definition at line 46 of file FWSimpleProxyBuilderTemplate.h.
Referenced by FWSimpleProxyBuilderTemplate< l1extra::L1JetParticle >::modelData().
{ return *reinterpret_cast<const T*>(m_helper.offsetObject(item()->modelData(index))); }
const FWSimpleProxyBuilderTemplate& FWSimpleProxyBuilderTemplate< T >::operator= | ( | const FWSimpleProxyBuilderTemplate< T > & | ) | [private] |