Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:11:32

0001 // -*- C++ -*-
0002 #ifndef Fireworks_Core_FWTriggerTableViewManager_h
0003 #define Fireworks_Core_FWTriggerTableViewManager_h
0004 //
0005 // Package:     Core
0006 // Class  :     FWTriggerTableViewManager
0007 //
0008 
0009 #include "Fireworks/Core/interface/FWViewManagerBase.h"
0010 #include "Fireworks/Core/interface/FWTriggerTableView.h"
0011 #include "Fireworks/Core/interface/FWConfigurable.h"
0012 
0013 class FWViewBase;
0014 class FWGUIManager;
0015 class TEveWindowSlot;
0016 
0017 namespace fwlite {
0018   class Event;
0019 }
0020 
0021 class FWTriggerTableViewManager : public FWViewManagerBase, public FWConfigurable {
0022 public:
0023   FWTriggerTableViewManager(FWGUIManager*);
0024   ~FWTriggerTableViewManager() override;
0025 
0026   // dummy functions of FWViewManagerBase
0027   FWTypeToRepresentations supportedTypesAndRepresentations() const override { return FWTypeToRepresentations(); }
0028   void newItem(const FWEventItem*) override {}
0029 
0030   // backward compatibility
0031   void addTo(FWConfiguration&) const override {}
0032   void setFrom(const FWConfiguration&) override {}
0033 
0034   FWViewBase* buildView(TEveWindowSlot* iParent, const std::string& type);
0035 
0036   // virtual void setContext(const fireworks::Context*);
0037 protected:
0038   FWTriggerTableViewManager();
0039 
0040   void modelChangesComing() override {}
0041   void modelChangesDone() override {}
0042 
0043   void eventEnd() override;
0044   void colorsChanged() override;
0045 
0046   void updateProcessList();
0047 
0048   std::vector<std::shared_ptr<FWTriggerTableView> > m_views;
0049 
0050 private:
0051   FWTriggerTableViewManager(const FWTriggerTableViewManager&);                   // stop default
0052   const FWTriggerTableViewManager& operator=(const FWTriggerTableViewManager&);  // stop default
0053 
0054   void beingDestroyed(const FWViewBase*);
0055 };
0056 
0057 #endif