Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

AppMgrRunable.h

Go to the documentation of this file.
00001 //====================================================================
00002 //      AppMgrRunable.h
00003 //--------------------------------------------------------------------
00004 //
00005 //      Package    : GaudiSvc ( The LHCb Offline System)
00006 //
00007 //  Description: definition of the default runable service for 
00008 //               the application manager
00009 //
00010 //      Author     : M.Frank
00011 //====================================================================
00012 #ifndef GAUDISVC_APPMGRRUNABLE_H
00013 #define GAUDISVC_APPMGRRUNABLE_H 1
00014 
00015 // Framework includes
00016 #include "GaudiKernel/Service.h"
00017 #include "GaudiKernel/IRunable.h"
00018 
00019 // Forward declarations
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   // IInterface implementation : queryInterface
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

Generated at Wed Nov 21 12:22:29 2001 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000