CSGConnector

Macros

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
#ifndef Fireworks_Core_CSGConnector_h
#define Fireworks_Core_CSGConnector_h
// -*- C++ -*-
//
// Package:     Core
// Class  :     CSGConnector
//
/**\class CSGConnector CSGConnector.h Fireworks/Core/interface/CSGConnector.h

   Description: An adapter classes used to connect ROOT signals to a CSGAction

   Usage:
    <usage>

 */
//
// Original Author:  Chris Jones
//         Created:  Thu May 29 18:16:04 CDT 2008
//

// system include files
#include "TQObject.h"

// user include files

// forward declarations
class CSGAction;
class CSGActionSupervisor;

class CSGConnector : public TQObject {
public:
  CSGConnector(CSGAction *action, CSGActionSupervisor *supervisor) : m_action(action), m_supervisor(supervisor) {}
  //virtual ~CSGConnector();

  // ---------- member functions ---------------------------
  void handleMenu(Int_t entry);
  void handleToolBar(Int_t entry);
  ClassDef(CSGConnector, 0);

private:
  CSGConnector(const CSGConnector &);  // stop default

  const CSGConnector &operator=(const CSGConnector &);  // stop default

  // ---------- member data --------------------------------
  CSGAction *m_action;
  CSGActionSupervisor *m_supervisor;
};

#endif