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 {
35 public:
37  virtual ~FWInteractionList();
38 
39  // ---------- const member functions ---------------------
40 
41  const FWEventItem* item() const { return m_item;}
42  bool empty() const { return m_compounds.empty(); }
43 
44  // ---------- static member functions --------------------
45 
46  // ---------- member functions ---------------------------
47  void added(TEveElement*, unsigned int);
48  // void removed(TEveElement*, int);
49 
50  void modelChanges(const std::set<FWModelId>&);
51  void itemChanged();
52 
53 private:
54  FWInteractionList(const FWInteractionList&); // stop default
55 
56  const FWInteractionList& operator=(const FWInteractionList&); // stop default
57 
58  // ---------- member data --------------------------------
59 
60  std::vector<TEveCompound*> m_compounds;
62 
63 };
64 
65 
66 #endif
virtual ~FWInteractionList()
bool empty() const
FWInteractionList(const FWEventItem *item)
void added(TEveElement *, unsigned int)
const FWEventItem * m_item
const FWInteractionList & operator=(const FWInteractionList &)
void modelChanges(const std::set< FWModelId > &)
const FWEventItem * item() const
std::vector< TEveCompound * > m_compounds