CMS 3D CMS Logo

CSGContinuousAction.h
Go to the documentation of this file.
1 #ifndef Fireworks_Core_CSGContinuousAction_h
2 #define Fireworks_Core_CSGContinuousAction_h
3 // -*- C++ -*-
4 //
5 // Package: Core
6 // Class : CSGContinuousAction
7 //
16 //
17 // Original Author: Chris Jones
18 // Created: Tue Jul 29 10:19:42 EDT 2008
19 //
20 
21 // system include files
22 #include <string>
23 
24 // user include files
26 
27 // forward declarations
28 
30 public:
31  CSGContinuousAction(CSGActionSupervisor* sup, const char* name);
32  //virtual ~CSGContinuousAction();
33 
34  // ---------- const member functions ---------------------
35  bool isRunning() const { return m_isRunning; }
36 
37  // ---------- static member functions --------------------
38 
39  // ---------- member functions ---------------------------
40  void createCustomIconsButton(TGCompositeFrame* p,
41  const TGPicture* upPic,
42  const TGPicture* downPic,
43  const TGPicture* disabledPic,
44  const TGPicture* upRunningPic,
45  const TGPicture* downRunningPic,
46  TGLayoutHints* l = nullptr,
47  Int_t id = -1,
48  GContext_t norm = TGButton::GetDefaultGC()(),
49  UInt_t option = 0);
50  void stop();
51 
52  sigc::signal<void> started_;
53  sigc::signal<void> stopped_;
54 
55  //override
56  void globalEnable() override;
57  void globalDisable() override;
58 
59  void switchMode();
60 
61 private:
62  CSGContinuousAction(const CSGContinuousAction&) = delete; // stop default
63 
64  const CSGContinuousAction& operator=(const CSGContinuousAction&) = delete; // stop default
65 
66  // ---------- member data --------------------------------
69  //const TGPicture* m_runningImage;
70  const TGPicture* m_upPic;
71  const TGPicture* m_downPic;
72  const TGPicture* m_disabledPic;
73  const TGPicture* m_runningUpPic;
74  const TGPicture* m_runningDownPic;
75 
77 
79 };
80 
81 #endif
CSGActionSupervisor
Definition: CSGActionSupervisor.h:27
AlCaHLTBitMon_ParallelJobs.p
p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
CSGAction
Definition: CSGAction.h:38
fileinputsource_cfi.option
option
Definition: fileinputsource_cfi.py:94
CSGContinuousAction::globalEnable
void globalEnable() override
Definition: CSGContinuousAction.cc:100
CSGContinuousAction::m_button
FWCustomIconsButton * m_button
Definition: CSGContinuousAction.h:76
CSGContinuousAction::stop
void stop()
Definition: CSGContinuousAction.cc:84
CSGContinuousAction::createCustomIconsButton
void createCustomIconsButton(TGCompositeFrame *p, const TGPicture *upPic, const TGPicture *downPic, const TGPicture *disabledPic, const TGPicture *upRunningPic, const TGPicture *downRunningPic, TGLayoutHints *l=nullptr, Int_t id=-1, GContext_t norm=TGButton::GetDefaultGC()(), UInt_t option=0)
Definition: CSGContinuousAction.cc:44
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
CSGContinuousAction::isRunning
bool isRunning() const
Definition: CSGContinuousAction.h:35
CSGContinuousAction::m_runningDownPic
const TGPicture * m_runningDownPic
Definition: CSGContinuousAction.h:74
FWCustomIconsButton
Definition: FWCustomIconsButton.h:29
CSGContinuousAction::started_
sigc::signal< void > started_
Definition: CSGContinuousAction.h:52
CSGContinuousAction::m_isRunning
bool m_isRunning
Definition: CSGContinuousAction.h:78
CSGContinuousAction::m_disabledPic
const TGPicture * m_disabledPic
Definition: CSGContinuousAction.h:72
CSGContinuousAction::m_runningUpPic
const TGPicture * m_runningUpPic
Definition: CSGContinuousAction.h:73
CSGAction.h
CSGContinuousAction::m_imageFileName
std::string m_imageFileName
Definition: CSGContinuousAction.h:67
CSGContinuousAction::m_upPic
const TGPicture * m_upPic
Definition: CSGContinuousAction.h:70
CSGContinuousAction::operator=
const CSGContinuousAction & operator=(const CSGContinuousAction &)=delete
CSGContinuousAction::m_downPic
const TGPicture * m_downPic
Definition: CSGContinuousAction.h:71
cmsLHEtoEOSManager.l
l
Definition: cmsLHEtoEOSManager.py:204
CSGContinuousAction
Definition: CSGContinuousAction.h:29
CSGContinuousAction::CSGContinuousAction
CSGContinuousAction(CSGActionSupervisor *sup, const char *name)
Definition: CSGContinuousAction.cc:32
CSGContinuousAction::globalDisable
void globalDisable() override
Definition: CSGContinuousAction.cc:102
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
CSGContinuousAction::stopped_
sigc::signal< void > stopped_
Definition: CSGContinuousAction.h:53
CSGContinuousAction::switchMode
void switchMode()
Definition: CSGContinuousAction.cc:62
CSGContinuousAction::m_runningImageFileName
std::string m_runningImageFileName
Definition: CSGContinuousAction.h:68