Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-08-03 04:09:58

0001 #ifndef Fireworks_Core_FWInteractionList_h
0002 #define Fireworks_Core_FWInteractionList_h
0003 // -*- C++ -*-
0004 //
0005 // Package:     Core
0006 // Class  :     FWInteractionList
0007 //
0008 /**\class FWInteractionList FWInteractionList.h Fireworks/Core/interface/FWInteractionList.h
0009 
0010  Description: [one line class summary]
0011 
0012  Usage:
0013     <usage>
0014 
0015 */
0016 //
0017 // Original Author:  Alja Mrak-Tadel
0018 //         Created:  Mon Apr 19 12:48:12 CEST 2010
0019 //
0020 
0021 // system include files
0022 
0023 // user include files
0024 #include <set>
0025 #include <vector>
0026 
0027 // forward declarations
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   // ---------- const member functions ---------------------
0039 
0040   const FWEventItem* item() const { return m_item; }
0041   bool empty() const { return m_compounds.empty(); }
0042 
0043   // ---------- static member functions --------------------
0044 
0045   // ---------- member functions ---------------------------
0046   void added(TEveElement*, unsigned int);
0047   //   void removed(TEveElement*, int);
0048 
0049   void modelChanges(const std::set<FWModelId>&);
0050   void itemChanged();
0051 
0052   FWInteractionList(const FWInteractionList&) = delete;  // stop default
0053 
0054   const FWInteractionList& operator=(const FWInteractionList&) = delete;  // stop default
0055 
0056 private:
0057   // ---------- member data --------------------------------
0058 
0059   std::vector<TEveCompound*> m_compounds;
0060   const FWEventItem* m_item;
0061 };
0062 
0063 #endif