CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_1/src/Fireworks/Core/interface/FWInteractionList.h

Go to the documentation of this file.
00001 #ifndef Fireworks_Core_FWInteractionList_h
00002 #define Fireworks_Core_FWInteractionList_h
00003 // -*- C++ -*-
00004 //
00005 // Package:     Core
00006 // Class  :     FWInteractionList
00007 // 
00016 //
00017 // Original Author:  Alja Mrak-Tadel 
00018 //         Created:  Mon Apr 19 12:48:12 CEST 2010
00019 // $Id: FWInteractionList.h,v 1.4 2010/12/03 20:38:57 amraktad Exp $
00020 //
00021 
00022 // system include files
00023 
00024 // user include files
00025 #include <set>
00026 
00027 // forward declarations
00028 class TEveElement;
00029 class TEveCompound;
00030 class FWEventItem;
00031 class FWModelId;
00032 
00033 class FWInteractionList
00034 {
00035 public:
00036    FWInteractionList(const FWEventItem* item);
00037    virtual ~FWInteractionList();
00038 
00039    // ---------- const member functions ---------------------
00040 
00041    const FWEventItem* item() const { return m_item;}
00042    bool empty() const { return m_compounds.empty(); }
00043 
00044    // ---------- static member functions --------------------
00045 
00046    // ---------- member functions ---------------------------
00047    void added(TEveElement*, unsigned int);
00048    //   void removed(TEveElement*, int);
00049 
00050    void modelChanges(const std::set<FWModelId>&);
00051    void itemChanged();
00052 
00053 private:
00054    FWInteractionList(const FWInteractionList&); // stop default
00055 
00056    const FWInteractionList& operator=(const FWInteractionList&); // stop default
00057 
00058    // ---------- member data --------------------------------
00059 
00060    std::vector<TEveCompound*> m_compounds;
00061    const FWEventItem* m_item;
00062 
00063 };
00064 
00065 
00066 #endif