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  FWInteractionList(const FWInteractionList&) = delete; // stop default
53 
54  const FWInteractionList& operator=(const FWInteractionList&) = delete; // stop default
55 
56 private:
57  // ---------- member data --------------------------------
58 
59  std::vector<TEveCompound*> m_compounds;
61 };
62 
63 #endif
virtual ~FWInteractionList()
const FWEventItem * item() const
const FWInteractionList & operator=(const FWInteractionList &)=delete
FWInteractionList(const FWEventItem *item)
void added(TEveElement *, unsigned int)
const FWEventItem * m_item
void modelChanges(const std::set< FWModelId > &)
std::vector< TEveCompound * > m_compounds