| # Gaudi Framework, version v21r8 |

Home |  | Generated: 17 Mar 2010

# AppMgrRunable.h

Go to the documentation of this file.

    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 extends1<Service, 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
    00047   virtual StatusCode initialize();
    00049   virtual StatusCode start();
    00051   virtual StatusCode stop();
    00053   virtual StatusCode finalize();
    00055   virtual StatusCode run();
    00056 };
    00057 #endif // GAUDISVC_APPMGRRUNABLE_H