Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-08-03 04:09:58

0001 #ifndef Fireworks_Core_FWEventAnnotation_h
0002 #define Fireworks_Core_FWEventAnnotation_h
0003 
0004 #include "TGLAnnotation.h"
0005 class FWConfiguration;
0006 
0007 namespace fwlite {
0008   class Event;
0009 }
0010 
0011 class FWEventAnnotation : public TGLAnnotation {
0012 public:
0013   FWEventAnnotation(TGLViewerBase* view);
0014   ~FWEventAnnotation() override;
0015 
0016   void Render(TGLRnrCtx& rnrCtx) override;
0017 
0018   //configuration management interface
0019   virtual void addTo(FWConfiguration&) const;
0020   virtual void setFrom(const FWConfiguration&);
0021 
0022   void setLevel(long x);
0023   void setEvent();
0024 
0025   FWEventAnnotation(const FWEventAnnotation&) = delete;                   // stop default
0026   const FWEventAnnotation& operator=(const FWEventAnnotation&) = delete;  // stop default
0027 
0028 private:
0029   void updateOverlayText();
0030 
0031   int m_level;
0032 };
0033 
0034 #endif