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
 
 FWDetailViewBase (const FWDetailViewBase &)=delete
 
virtual void init (TEveWindowSlot *)=0
 
const FWEventItemitem ()
 
const FWDetailViewBaseoperator= (const FWDetailViewBase &)=delete
 
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)) {}
FWDetailViewBase(const FWDetailViewBase &)=delete
long double 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  }
virtual void build(const FWModelId &, const T *)=0
void setItem(const FWEventItem *x)
const FWEventItem * item() const
Definition: FWModelId.h:39

◆ classRegisterTypeName()

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

Definition at line 19 of file FWDetailView.h.

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

◆ 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(); }
std::string name() const
long double T

◆ setTextInfo()

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