CMS 3D CMS Logo

FWInteractionList.h
Go to the documentation of this file.
1 #ifndef Fireworks_Core_FWInteractionList_h
2 #define Fireworks_Core_FWInteractionList_h
3 // -*- C++ -*-
4 //
5 // Package: Core
6 // Class : FWInteractionList
7 //
16 //
17 // Original Author: Alja Mrak-Tadel
18 // Created: Mon Apr 19 12:48:12 CEST 2010
19 //
20 
21 // system include files
22 
23 // user include files
24 #include <set>
25 #include <vector>
26 
27 // forward declarations
28 class TEveElement;
29 class TEveCompound;
30 class FWEventItem;
31 class FWModelId;
32 
34 public:
36  virtual ~FWInteractionList();
37 
38  // ---------- const member functions ---------------------
39 
40  const FWEventItem* item() const { return m_item; }
41  bool empty() const { return m_compounds.empty(); }
42 
43  // ---------- static member functions --------------------
44 
45  // ---------- member functions ---------------------------
46  void added(TEveElement*, unsigned int);
47  // void removed(TEveElement*, int);
48 
49  void modelChanges(const std::set<FWModelId>&);
50  void itemChanged();
51 
52 private:
53  FWInteractionList(const FWInteractionList&) = delete; // stop default
54 
55  const FWInteractionList& operator=(const FWInteractionList&) = delete; // stop default
56 
57  // ---------- member data --------------------------------
58 
59  std::vector<TEveCompound*> m_compounds;
61 };
62 
63 #endif
FWInteractionList::item
const FWEventItem * item() const
Definition: FWInteractionList.h:40
FWModelId
Definition: FWModelId.h:28
FWInteractionList::m_item
const FWEventItem * m_item
Definition: FWInteractionList.h:60
FWInteractionList
Definition: FWInteractionList.h:33
FWInteractionList::FWInteractionList
FWInteractionList(const FWEventItem *item)
Definition: FWInteractionList.cc:35
FWInteractionList::itemChanged
void itemChanged()
Definition: FWInteractionList.cc:130
FWInteractionList::empty
bool empty() const
Definition: FWInteractionList.h:41
FWInteractionList::operator=
const FWInteractionList & operator=(const FWInteractionList &)=delete
FWInteractionList::added
void added(TEveElement *, unsigned int)
Definition: FWInteractionList.cc:63
FWInteractionList::modelChanges
void modelChanges(const std::set< FWModelId > &)
Definition: FWInteractionList.cc:104
FWInteractionList::m_compounds
std::vector< TEveCompound * > m_compounds
Definition: FWInteractionList.h:59
FWEventItem
Definition: FWEventItem.h:56
FWInteractionList::~FWInteractionList
virtual ~FWInteractionList()
Definition: FWInteractionList.cc:42