test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
26 // forward declarations
27 class TEveElement;
28 class TEveCompound;
29 class FWEventItem;
30 class FWModelId;
31 
33 {
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&); // stop default
54 
55  const FWInteractionList& operator=(const FWInteractionList&); // stop default
56 
57  // ---------- member data --------------------------------
58 
59  std::vector<TEveCompound*> m_compounds;
61 
62 };
63 
64 
65 #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