![]() |
|
|
Generated: 8 Jan 2009 |
00001 // $Id: AppMgrRunable.h,v 1.4 2008/06/02 14:21:35 marcocle Exp $ 00002 #ifndef GAUDISVC_APPMGRRUNABLE_H 00003 #define GAUDISVC_APPMGRRUNABLE_H 1 00004 00005 // Framework includes 00006 #include "GaudiKernel/Service.h" 00007 #include "GaudiKernel/IRunable.h" 00008 00009 // Forward declarations 00010 class IAppMgrUI; 00011 template <class T> class SvcFactory; 00012 00030 class AppMgrRunable : public Service, virtual public IRunable { 00032 friend class SvcFactory<AppMgrRunable>; 00033 00034 protected: 00036 IAppMgrUI* m_appMgrUI; 00038 int m_evtMax; 00039 00040 public: 00042 AppMgrRunable(const std::string& nam, ISvcLocator* svcLoc); 00044 virtual ~AppMgrRunable(); 00045 00046 // IInterface implementation : queryInterface 00047 virtual StatusCode queryInterface(const InterfaceID& riid, void** ppvInterface); 00049 virtual StatusCode initialize(); 00051 virtual StatusCode start(); 00053 virtual StatusCode stop(); 00055 virtual StatusCode finalize(); 00057 virtual StatusCode run(); 00058 }; 00059 #endif // GAUDISVC_APPMGRRUNABLE_H