CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/Fireworks/Core/interface/FWTriggerTableViewManager.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 #ifndef Fireworks_Core_FWTriggerTableViewManager_h
00003 #define Fireworks_Core_FWTriggerTableViewManager_h
00004 //
00005 // Package:     Core
00006 // Class  :     FWTriggerTableViewManager
00007 // $Id: FWTriggerTableViewManager.h,v 1.5 2011/02/16 18:38:36 amraktad Exp $
00008 //
00009 
00010 #include "Fireworks/Core/interface/FWViewManagerBase.h"
00011 #include "Fireworks/Core/interface/FWTriggerTableView.h"
00012 #include "Fireworks/Core/interface/FWConfigurable.h"
00013 
00014 class FWViewBase;
00015 class FWGUIManager;
00016 class TEveWindowSlot;
00017 
00018 namespace fwlite {
00019    class Event;
00020 }
00021 
00022 class FWTriggerTableViewManager : public FWViewManagerBase, public FWConfigurable {
00023 
00024 public:
00025    FWTriggerTableViewManager(FWGUIManager*);
00026    virtual ~FWTriggerTableViewManager();
00027 
00028    // dummy functions of FWViewManagerBase
00029    virtual FWTypeToRepresentations supportedTypesAndRepresentations() const
00030    { return FWTypeToRepresentations();}
00031    virtual void newItem(const FWEventItem*) {}
00032 
00033    // backward compatibility
00034    void addTo(FWConfiguration&) const {}
00035    void setFrom(const FWConfiguration&) {}
00036 
00037    FWViewBase *buildView (TEveWindowSlot *iParent, const std::string& type);
00038 
00039    // virtual void setContext(const fireworks::Context*);
00040 protected:
00041    FWTriggerTableViewManager();
00042 
00043 
00044    virtual void modelChangesComing() {}
00045    virtual void modelChangesDone() {}
00046 
00047    virtual void eventEnd();
00048    virtual void colorsChanged();
00049 
00050    void updateProcessList();
00051 
00052    std::vector<boost::shared_ptr<FWTriggerTableView> > m_views;
00053 
00054 private:
00055    FWTriggerTableViewManager(const FWTriggerTableViewManager&);      // stop default
00056    const FWTriggerTableViewManager& operator=(const FWTriggerTableViewManager&);      // stop default
00057 
00058    void beingDestroyed(const FWViewBase*);
00059 
00060 };
00061 
00062 #endif