CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 >

Public Member Functions

virtual void build (const FWModelId &, const T *)=0
 
virtual void build (const FWModelId &iID, const void *iData)
 
 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 14 of file FWDetailView.h.

Constructor & Destructor Documentation

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

Definition at line 16 of file FWDetailView.h.

16  :
17  FWDetailViewBase(typeid(T)) {
18  }
FWDetailViewBase(const std::type_info &)
long double T

Member Function Documentation

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

Implements FWDetailViewBase.

Definition at line 30 of file FWDetailView.h.

30  {
31  setItem(iID.item());
32  build(iID, reinterpret_cast<const T*> (iData));
33  }
virtual void build(const FWModelId &, const T *)=0
void setItem(const FWEventItem *x)
const FWEventItem * item() const
Definition: FWModelId.h:44
template<typename T>
static std::string FWDetailView< T >::classRegisterTypeName ( )
inlinestatic

Definition at line 24 of file FWDetailView.h.

24  {
25  return typeid(T).name();
26  }
long double T
template<typename T>
static std::string FWDetailView< T >::classTypeName ( )
inlinestatic

Definition at line 20 of file FWDetailView.h.

20  {
21  return edm::TypeWithDict(typeid(T)).name();
22  }
std::string name() const
long double T
template<typename T>
virtual void FWDetailView< T >::setTextInfo ( const FWModelId ,
const T  
)
pure virtual