CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
FWGLEventHandler.h
Go to the documentation of this file.
1 #ifndef Fireworks_Core_FWGLEventHandler_h
2 #define Fireworks_Core_FWGLEventHandler_h
3 
4 #include "TEveLegoEventHandler.h"
5 #include <sigc++/signal.h>
6 
7 class TGWindow;
8 class TGLPhysicalShape;
9 
10 class FWGLEventHandler : public TEveLegoEventHandler
11 {
12 public:
13  FWGLEventHandler(TGWindow *w, TObject *obj, TEveCaloLego* l = 0 );
14  virtual ~FWGLEventHandler() {}
15 
16  virtual void PopupContextMenu(TGLPhysicalShape* pshp, Event_t *event, Int_t gx, Int_t gy);
17 
18  virtual Bool_t HandleKey(Event_t *event);
19 
20  sigc::signal<void,Int_t,Int_t> openSelectedModelContextMenu_;
21 
22 private:
23  FWGLEventHandler(const FWGLEventHandler&); // stop default
24  const FWGLEventHandler& operator=(const FWGLEventHandler&); // stop default
25 };
26 
27 #endif
virtual Bool_t HandleKey(Event_t *event)
const FWGLEventHandler & operator=(const FWGLEventHandler &)
virtual ~FWGLEventHandler()
tuple obj
Example code starts here #.
Definition: VarParsing.py:655
FWGLEventHandler(TGWindow *w, TObject *obj, TEveCaloLego *l=0)
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
sigc::signal< void, Int_t, Int_t > openSelectedModelContextMenu_
virtual void PopupContextMenu(TGLPhysicalShape *pshp, Event_t *event, Int_t gx, Int_t gy)