FWLongParameterSetter

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 51 52 53 54 55 56 57
#ifndef Fireworks_Core_FWLongParameterSetter_h
#define Fireworks_Core_FWLongParameterSetter_h
// -*- C++ -*-
//
// Package:     Core
// Class  :     FWLongParameterSetter
//
/**\class FWLongParameterSetter FWLongParameterSetter.h Fireworks/Core/interface/FWLongParameterSetter.h

   Description: <one line class summary>

   Usage:
    <usage>

 */
//
// Original Author:  Chris Jones
//         Created:  Mon Mar 10 11:22:26 CDT 2008
//

// system include files
#include <Rtypes.h>

// user include files
#include "Fireworks/Core/interface/FWParameterSetterBase.h"
#include "Fireworks/Core/interface/FWLongParameter.h"

// forward declarations
class TGNumberEntry;

class FWLongParameterSetter : public FWParameterSetterBase {
public:
  FWLongParameterSetter();
  ~FWLongParameterSetter() override;

  // ---------- const member functions ---------------------

  // ---------- static member functions --------------------

  // ---------- member functions ---------------------------

  void attach(FWParameterBase*) override;
  TGFrame* build(TGFrame* iParent, bool labelBack = true) override;

  void doUpdate(Long_t);

  FWLongParameterSetter(const FWLongParameterSetter&) = delete;                   // stop default
  const FWLongParameterSetter& operator=(const FWLongParameterSetter&) = delete;  // stop default

private:
  // ---------- member data --------------------------------

  FWLongParameter* m_param;
  TGNumberEntry* m_widget;
};

#endif