File indexing completed on 2024-04-06 12:11:31
0001 #ifndef Fireworks_Core_FWInteractionList_h
0002 #define Fireworks_Core_FWInteractionList_h
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024 #include <set>
0025 #include <vector>
0026
0027
0028 class TEveElement;
0029 class TEveCompound;
0030 class FWEventItem;
0031 class FWModelId;
0032
0033 class FWInteractionList {
0034 public:
0035 FWInteractionList(const FWEventItem* item);
0036 virtual ~FWInteractionList();
0037
0038
0039
0040 const FWEventItem* item() const { return m_item; }
0041 bool empty() const { return m_compounds.empty(); }
0042
0043
0044
0045
0046 void added(TEveElement*, unsigned int);
0047
0048
0049 void modelChanges(const std::set<FWModelId>&);
0050 void itemChanged();
0051
0052 FWInteractionList(const FWInteractionList&) = delete;
0053
0054 const FWInteractionList& operator=(const FWInteractionList&) = delete;
0055
0056 private:
0057
0058
0059 std::vector<TEveCompound*> m_compounds;
0060 const FWEventItem* m_item;
0061 };
0062
0063 #endif