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();
100 m_TGeoName = geoname;
105 void doPreviousEvent();
109 virtual void checkPosition() = 0;
111 bool loop()
const {
return m_loop; }
112 virtual void quit() = 0;
114 void setupAutoLoad(
float x);
115 void startAutoLoadTimer();
116 void stopAutoLoadTimer();
117 void setupDebugSupport();
119 void setPlayDelay(Float_t
val);
125 virtual void stopPlaying();
126 virtual void autoLoadNewEvent() = 0;
129 void unsetPlayLoop();
144 void eventChangedSlot();
145 virtual void eventChangedImp();
146 void sendVersionInfo();
171 void setPlayLoopImp();
172 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()
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()
void setSimGeometryFilename(const std::string &filename, const std::string &geoname)
std::auto_ptr< CmsShowTaskExecutor > m_startupTasks
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