00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #ifndef GAUDISVC_APPMGRRUNABLE_H
00013 #define GAUDISVC_APPMGRRUNABLE_H 1
00014
00015
00016 #include "GaudiKernel/Service.h"
00017 #include "GaudiKernel/IRunable.h"
00018
00019
00020 class IAppMgrUI;
00021 template <class T> class SvcFactory;
00022
00040 class AppMgrRunable : public Service, virtual public IRunable {
00042 friend class SvcFactory<AppMgrRunable>;
00043
00044 protected:
00046 IAppMgrUI* m_appMgrUI;
00048 int m_evtMax;
00049
00050 protected:
00052 AppMgrRunable(const std::string& nam, ISvcLocator* svcLoc);
00054 virtual ~AppMgrRunable();
00055
00056 public:
00057
00058 virtual StatusCode queryInterface(const InterfaceID& riid, void** ppvInterface);
00060 virtual StatusCode initialize();
00062 virtual StatusCode finalize();
00064 virtual StatusCode run();
00065 };
00066 #endif // GAUDISVC_APPMGRRUNABLE_H