1 #ifndef Fireworks_Core_CmsShowMainBase_h 2 #define Fireworks_Core_CmsShowMainBase_h 12 #include "sigc++/signal.h" 64 assert(m_guiManager.get() &&
"Call CmsShowMainBase::setup first!");
65 return m_guiManager.get();
75 void setupViewManagers();
82 void writeToCurrentConfigFile();
83 void writePartialToConfigFile();
84 void reloadConfiguration(
const std::string &config);
85 void partialWriteToConfigFile(
const std::string &config);
86 void partialLoadConfiguration(
const std::string &config);
87 void setupConfiguration();
102 void doPreviousEvent();
106 virtual void checkPosition() = 0;
108 bool loop()
const {
return m_loop; }
109 virtual void quit() = 0;
111 void setupAutoLoad(
float x);
112 void startAutoLoadTimer();
113 void stopAutoLoadTimer();
114 void setupDebugSupport();
116 void setPlayDelay(Float_t
val);
122 virtual void stopPlaying();
123 virtual void autoLoadNewEvent() = 0;
126 void unsetPlayLoop();
141 void eventChangedSlot();
142 virtual void eventChangedImp();
143 void sendVersionInfo();
168 void setPlayLoopImp();
169 void unsetPlayLoopImp();
sigc::signal< void > timeout_
int m_autoSaveAllViewsHeight
FWSelectionManager * selectionManager()
FWModelChangeManager * modelChangeManager()
std::auto_ptr< FWConfigurationManager > m_configurationManager
std::string m_geometryFilename
FWGUIManager * guiManager()
FWColorManager * colorManager()
void setAutoSaveAllViewsHeight(int x)
FWEventItemsManager * eiManager()
unsigned long long EventNumber_t
def setup(process, global_tag, zero_tesla=False)
const char * configFilename() const
std::auto_ptr< FWSelectionManager > m_selectionManager
std::auto_ptr< FWEventItemsManager > m_eiManager
unsigned int LuminosityBlockNumber_t
FWModelChangeManager * changeManager()
T x() const
Cartesian x coordinate.
FWNavigatorBase * m_navigatorPtr
void setGeometryFilename(const std::string &filename)
bool m_autoLoadTimerRunning
def draw(name, histos, styles=_defaultStyles, legendLabels=[], kwargs)
CmsShowTaskExecutor * startupTasks()
std::auto_ptr< SignalTimer > m_autoLoadTimer
virtual void checkKeyBindingsOnPLayEventsStateChanged()
FWJobMetadataManager * m_metadataManagerPtr
fireworks::Context * context()
std::auto_ptr< CmsShowTaskExecutor > m_startupTasks
void setSimGeometryFilename(const std::string &filename)
FWViewManagerManager * viewManager()
std::string m_simGeometryFilename
void setAutoSaveAllViewsFormat(const std::string &fmt)
fireworks::Context * m_contextPtr
FWConfigurationManager * configurationManager()
std::string m_autoSaveAllViewsFormat
std::auto_ptr< FWModelChangeManager > m_changeManager
const std::string & geometryFilename(void)
std::auto_ptr< FWViewManagerManager > m_viewManager
std::auto_ptr< FWColorManager > m_colorManager
std::auto_ptr< FWGUIManager > m_guiManager
void setConfigFilename(const std::string &f)
std::string m_configFileName