FWInteractionList

Macros

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63
#ifndef Fireworks_Core_FWInteractionList_h
#define Fireworks_Core_FWInteractionList_h
// -*- C++ -*-
//
// Package:     Core
// Class  :     FWInteractionList
//
/**\class FWInteractionList FWInteractionList.h Fireworks/Core/interface/FWInteractionList.h

 Description: [one line class summary]

 Usage:
    <usage>

*/
//
// Original Author:  Alja Mrak-Tadel
//         Created:  Mon Apr 19 12:48:12 CEST 2010
//

// system include files

// user include files
#include <set>
#include <vector>

// forward declarations
class TEveElement;
class TEveCompound;
class FWEventItem;
class FWModelId;

class FWInteractionList {
public:
  FWInteractionList(const FWEventItem* item);
  virtual ~FWInteractionList();

  // ---------- const member functions ---------------------

  const FWEventItem* item() const { return m_item; }
  bool empty() const { return m_compounds.empty(); }

  // ---------- static member functions --------------------

  // ---------- member functions ---------------------------
  void added(TEveElement*, unsigned int);
  //   void removed(TEveElement*, int);

  void modelChanges(const std::set<FWModelId>&);
  void itemChanged();

  FWInteractionList(const FWInteractionList&) = delete;  // stop default

  const FWInteractionList& operator=(const FWInteractionList&) = delete;  // stop default

private:
  // ---------- member data --------------------------------

  std::vector<TEveCompound*> m_compounds;
  const FWEventItem* m_item;
};

#endif