Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef Fireworks_Core_CSGConnector_h
0002 #define Fireworks_Core_CSGConnector_h
0003 // -*- C++ -*-
0004 //
0005 // Package:     Core
0006 // Class  :     CSGConnector
0007 //
0008 /**\class CSGConnector CSGConnector.h Fireworks/Core/interface/CSGConnector.h
0009 
0010    Description: An adapter classes used to connect ROOT signals to a CSGAction
0011 
0012    Usage:
0013     <usage>
0014 
0015  */
0016 //
0017 // Original Author:  Chris Jones
0018 //         Created:  Thu May 29 18:16:04 CDT 2008
0019 //
0020 
0021 // system include files
0022 #include "TQObject.h"
0023 
0024 // user include files
0025 
0026 // forward declarations
0027 class CSGAction;
0028 class CSGActionSupervisor;
0029 
0030 class CSGConnector : public TQObject {
0031 public:
0032   CSGConnector(CSGAction *action, CSGActionSupervisor *supervisor) : m_action(action), m_supervisor(supervisor){};
0033   //virtual ~CSGConnector();
0034 
0035   // ---------- member functions ---------------------------
0036   void handleMenu(Int_t entry);
0037   void handleToolBar(Int_t entry);
0038   ClassDef(CSGConnector, 0);
0039 
0040 private:
0041   CSGConnector(const CSGConnector &);  // stop default
0042 
0043   const CSGConnector &operator=(const CSGConnector &);  // stop default
0044 
0045   // ---------- member data --------------------------------
0046   CSGAction *m_action;
0047   CSGActionSupervisor *m_supervisor;
0048 };
0049 
0050 #endif