CMS 3D CMS Logo

FWSummaryManager.h
Go to the documentation of this file.
1 #ifndef Fireworks_Core_FWSummaryManager_h
2 #define Fireworks_Core_FWSummaryManager_h
3 // -*- C++ -*-
4 //
5 // Package: Core
6 // Class : FWSummaryManager
7 //
16 //
17 // Original Author: Chris Jones
18 // Created: Tue Mar 4 09:35:58 EST 2008
19 //
20 
21 // system include files
22 #include <vector>
23 #include "Rtypes.h"
24 
25 // user include files
26 
27 // forward declarations
28 class TGPack;
29 class TGFrame;
30 class TGCompositeFrame;
31 
32 class FWEventItem;
33 
34 class FWSelectionManager;
36 class FWGUIManager;
38 class FWColorManager;
40 
42 public:
43  FWSummaryManager(TGFrame* iParent,
46  FWGUIManager*,
49  virtual ~FWSummaryManager();
50 
51  // ---------- const member functions ---------------------
52  TGCompositeFrame* widget() const;
53 
54  // ---------- static member functions --------------------
55 
56  // ---------- member functions ---------------------------
61  void requestForSelectedModelContextMenu(Int_t iGlobalX, Int_t iGlobalY);
62 
63  void colorsChanged();
64 
65  FWSummaryManager(const FWSummaryManager&) = delete; // stop default
66 
67  const FWSummaryManager& operator=(const FWSummaryManager&) = delete; // stop default
68 
69 private:
71  void newItem(FWEventItem* iItem);
72  void itemChanged(const FWEventItem*);
73  void removeAllItems();
74  void changesDone();
75 
76  void itemDestroyed(const FWEventItem*);
77 
78  // ---------- member data --------------------------------
79  //TGPack* m_pack;
80  TGCompositeFrame* m_pack;
81  std::vector<FWCollectionSummaryWidget*> m_collectionWidgets;
85 };
86 
87 #endif
std::vector< FWCollectionSummaryWidget * > m_collectionWidgets
const FWSummaryManager & operator=(const FWSummaryManager &)=delete
void requestForInfo(FWEventItem *)
FWColorManager * m_colorManager
TGCompositeFrame * m_pack
void itemChanged(const FWEventItem *)
FWSummaryManager(TGFrame *iParent, FWSelectionManager *, FWEventItemsManager *, FWGUIManager *, FWModelChangeManager *, FWColorManager *)
void requestForFilter(FWEventItem *)
void requestForSelectedModelContextMenu(Int_t iGlobalX, Int_t iGlobalY)
virtual ~FWSummaryManager()
void requestForError(FWEventItem *)
void selectionChanged(const FWSelectionManager &)
void newItem(FWEventItem *iItem)
void requestForController(FWEventItem *)
void itemDestroyed(const FWEventItem *)
FWGUIManager * m_guiManager
TGCompositeFrame * widget() const