CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions
FWDetailView< T > Class Template Referenceabstract

#include <FWDetailView.h>

Inheritance diagram for FWDetailView< T >:
FWDetailViewBase FWDetailViewCanvas< T > FWDetailViewGL< T > FWECALDetailViewBase< T >

Public Member Functions

virtual void build (const FWModelId &, const T *)=0
 
void build (const FWModelId &iID, const void *iData) override
 
 FWDetailView ()
 
virtual void setTextInfo (const FWModelId &, const T *)=0
 
- Public Member Functions inherited from FWDetailViewBase
void build (const FWModelId &)
 
const fireworks::Contextcontext () const
 
virtual void init (TEveWindowSlot *)=0
 
const FWEventItemitem ()
 
virtual void setBackgroundColor (Color_t col)
 
void setItem (const FWEventItem *x)
 
virtual ~FWDetailViewBase ()
 

Static Public Member Functions

static std::string classRegisterTypeName ()
 
static std::string classTypeName ()
 
- Static Public Member Functions inherited from FWDetailViewBase
static void drawCanvasBox (Double_t *pos, Color_t fillCol, Int_t fillType=0, bool bg=kTRUE)
 
static void drawCanvasDot (Float_t x, Float_t y, Float_t r, Color_t)
 

Additional Inherited Members

- Protected Member Functions inherited from FWDetailViewBase
 FWDetailViewBase (const std::type_info &)
 

Detailed Description

template<typename T>
class FWDetailView< T >

Definition at line 13 of file FWDetailView.h.

Constructor & Destructor Documentation

◆ FWDetailView()

template<typename T>
FWDetailView< T >::FWDetailView ( )
inline

Definition at line 15 of file FWDetailView.h.

15 : FWDetailViewBase(typeid(T)) {}

Member Function Documentation

◆ build() [1/2]

template<typename T>
virtual void FWDetailView< T >::build ( const FWModelId ,
const T  
)
pure virtual

◆ build() [2/2]

template<typename T>
void FWDetailView< T >::build ( const FWModelId iID,
const void *  iData 
)
inlineoverridevirtual

Implements FWDetailViewBase.

Definition at line 23 of file FWDetailView.h.

23  {
24  setItem(iID.item());
25  build(iID, reinterpret_cast<const T*>(iData));
26  }

◆ classRegisterTypeName()

template<typename T>
static std::string FWDetailView< T >::classRegisterTypeName ( )
inlinestatic

Definition at line 19 of file FWDetailView.h.

19 { return typeid(T).name(); }

◆ classTypeName()

template<typename T>
static std::string FWDetailView< T >::classTypeName ( )
inlinestatic

Definition at line 17 of file FWDetailView.h.

17 { return edm::TypeWithDict(typeid(T)).name(); }

◆ setTextInfo()

template<typename T>
virtual void FWDetailView< T >::setTextInfo ( const FWModelId ,
const T  
)
pure virtual
FWModelId::item
const FWEventItem * item() const
Definition: FWModelId.h:39
FWDetailViewBase::FWDetailViewBase
FWDetailViewBase(const std::type_info &)
Definition: FWDetailViewBase.cc:23
edm::TypeWithDict
Definition: TypeWithDict.h:38
FWDetailViewBase::setItem
void setItem(const FWEventItem *x)
Definition: FWDetailViewBase.h:49
T
long double T
Definition: Basic3DVectorLD.h:48
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
FWDetailView::build
virtual void build(const FWModelId &, const T *)=0
edm::TypeWithDict::name
std::string name() const
Definition: TypeWithDict.cc:456