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

MinimalEventLoopMgr Class Reference

Class definition of MinimalEventLoopMgr. More...

#include <MinimalEventLoopMgr.h>

Inheritance diagram for MinimalEventLoopMgr:

Service IAppMgrUI IEventProcessor EventLoopMgr GaudiEventLoopMgr List of all members.

Public Types

typedef std::list<IAlgorithm*> ListAlg
typedef std::list<std::string> ListName
typedef std::vector<std::string> VectorName

Public Methods

virtual StatusCode queryInterface (const InterfaceID& riid, void** ppvInterface)
 implementation of IInterface: queryInterface. More...

virtual StatusCode run ()
 implementation of IAppMgrUI::run. More...

virtual StatusCode configure ()
 implementation of IAppMgrUI::configure. More...

virtual StatusCode terminate ()
 implementation of IAppMgrUI::terminate. More...

virtual StatusCode initialize ()
 implementation of IAppMgrUI::initalize. More...

virtual StatusCode finalize ()
 implementation of IAppMgrUI::finalize. More...

virtual StatusCode nextEvent (int maxevt)
 implementation of IAppMgrUI::nextEvent. More...

virtual const std::string& state () const
 implementation of IAppMgrUI::state: current state of the application manager. More...

virtual const std::string& name () const
 implementation of IAppMgrUI::name: return base class implementation. More...

virtual StatusCode executeEvent (void* par )
 implemenation of IEventProcessor::executeEvent(void* par). More...

void topAlgHandler ( Property& p)
 Top algorithm List handler. More...

StatusCode decodeTopAlgs ()
 decodeTopAlgNameList & topAlgNameListHandler. More...

void outStreamHandler ( Property& p)
 Output stream List handler. More...

StatusCode decodeOutStreams ()
 decodeOutStreamNameList & outStreamNameListHandler. More...


Protected Types

enum  State { OFFLINE, CONFIGURED, FINALIZED, INITIALIZED }

Protected Methods

 MinimalEventLoopMgr (const std::string& nam, ISvcLocator* svcLoc)
 Standard Constructor. More...

virtual ~MinimalEventLoopMgr ()
 Standard Destructor. More...

template<classT> T* releaseInterface (T* iface)
 Helper to release interface pointer. More...


Protected Attributes

IAppMgrUIm_appMgrUI
 Reference to the IAppMgrUI interface of the application manager. More...

ListAlg m_topAlgList
 List of top level algorithms. More...

ListAlg m_outStreamList
 List of output streams. More...

StringArrayProperty m_topAlgNames
 List of top level algorithms names. More...

StringArrayProperty m_outStreamNames
 List of output stream names. More...

State m_state
 State of the object. More...


Friends

class  SvcFactory< MinimalEventLoopMgr >

Detailed Description

Class definition of MinimalEventLoopMgr.

This is the default processing manager of the application manager. This object handles the minimal requirements needed by the application manager. It also is capable of handling a bunch of algorithms and output streams. However, they list may as well be empty.

History:

    +---------+----------------------------------------------+---------+
    |    Date |                 Comment                      | Who     |
    +---------+----------------------------------------------+---------+
    |13/12/00 | Initial version                              | M.Frank |
    +---------+----------------------------------------------+---------+
    
Author(s):
Markus Frank
Version:
1.0

Definition at line 44 of file MinimalEventLoopMgr.h.


Member Typedef Documentation

typedef std::list<IAlgorithm*> MinimalEventLoopMgr::ListAlg
 

Definition at line 51 of file MinimalEventLoopMgr.h.

typedef std::list<std::string> MinimalEventLoopMgr::ListName
 

Definition at line 52 of file MinimalEventLoopMgr.h.

typedef std::vector<std::string> MinimalEventLoopMgr::VectorName
 

Definition at line 53 of file MinimalEventLoopMgr.h.


Member Enumeration Documentation

enum MinimalEventLoopMgr::State [protected]
 

Enumeration values:
OFFLINE  
CONFIGURED  
FINALIZED  
INITIALIZED  

Definition at line 57 of file MinimalEventLoopMgr.h.


Constructor & Destructor Documentation

MinimalEventLoopMgr::MinimalEventLoopMgr ( const std::string & nam,
ISvcLocator * svcLoc ) [protected]
 

Standard Constructor.

Definition at line 34 of file MinimalEventLoopMgr.cpp.

MinimalEventLoopMgr::~MinimalEventLoopMgr ( ) [protected, virtual]
 

Standard Destructor.

Definition at line 46 of file MinimalEventLoopMgr.cpp.


Member Function Documentation

StatusCode MinimalEventLoopMgr::configure ( ) [virtual]
 

implementation of IAppMgrUI::configure.

Definition at line 71 of file MinimalEventLoopMgr.cpp.

StatusCode MinimalEventLoopMgr::decodeOutStreams ( )
 

decodeOutStreamNameList & outStreamNameListHandler.

Definition at line 289 of file MinimalEventLoopMgr.cpp.

Referenced by initialize(), and outStreamHandler().

StatusCode MinimalEventLoopMgr::decodeTopAlgs ( )
 

decodeTopAlgNameList & topAlgNameListHandler.

Definition at line 234 of file MinimalEventLoopMgr.cpp.

Referenced by initialize(), and topAlgHandler().

StatusCode MinimalEventLoopMgr::executeEvent ( void * par ) [virtual]
 

implemenation of IEventProcessor::executeEvent(void* par).

Reimplemented in EventLoopMgr.

Definition at line 186 of file MinimalEventLoopMgr.cpp.

Referenced by EventLoopMgr::executeEvent().

StatusCode MinimalEventLoopMgr::finalize ( ) [virtual]
 

implementation of IAppMgrUI::finalize.

Reimplemented in EventLoopMgr, and GaudiEventLoopMgr.

Definition at line 125 of file MinimalEventLoopMgr.cpp.

Referenced by EventLoopMgr::finalize().

StatusCode MinimalEventLoopMgr::initialize ( ) [virtual]
 

implementation of IAppMgrUI::initalize.

Reimplemented in EventLoopMgr, and GaudiEventLoopMgr.

Definition at line 96 of file MinimalEventLoopMgr.cpp.

Referenced by EventLoopMgr::initialize().

const std::string & MinimalEventLoopMgr::name ( ) const [inline, virtual]
 

implementation of IAppMgrUI::name: return base class implementation.

Definition at line 101 of file MinimalEventLoopMgr.h.

Referenced by configure(), decodeOutStreams(), decodeTopAlgs(), executeEvent(), EventLoopMgr::executeEvent(), finalize(), GaudiEventLoopMgr::finalize(), initialize(), GaudiEventLoopMgr::initialize(), EventLoopMgr::initialize(), nextEvent(), and EventLoopMgr::nextEvent().

StatusCode MinimalEventLoopMgr::nextEvent ( int maxevt ) [virtual]
 

implementation of IAppMgrUI::nextEvent.

Reimplemented in EventLoopMgr.

Definition at line 173 of file MinimalEventLoopMgr.cpp.

void MinimalEventLoopMgr::outStreamHandler ( Property & p )
 

Output stream List handler.

Definition at line 282 of file MinimalEventLoopMgr.cpp.

StatusCode MinimalEventLoopMgr::queryInterface ( const InterfaceID & riid,
void ** ppvInterface ) [virtual]
 

implementation of IInterface: queryInterface.

Definition at line 51 of file MinimalEventLoopMgr.cpp.

template<classT>
T * MinimalEventLoopMgr::releaseInterface ( T * iface ) [inline, protected]
 

Helper to release interface pointer.

Definition at line 78 of file MinimalEventLoopMgr.h.

Referenced by EventLoopMgr::finalize(), terminate(), and GaudiEventLoopMgr::terminate().

StatusCode MinimalEventLoopMgr::run ( ) [virtual]
 

implementation of IAppMgrUI::run.

Definition at line 66 of file MinimalEventLoopMgr.cpp.

const std::string & MinimalEventLoopMgr::state ( ) const [virtual]
 

implementation of IAppMgrUI::state: current state of the application manager.

Definition at line 181 of file MinimalEventLoopMgr.cpp.

StatusCode MinimalEventLoopMgr::terminate ( ) [virtual]
 

implementation of IAppMgrUI::terminate.

Reimplemented in GaudiEventLoopMgr.

Definition at line 167 of file MinimalEventLoopMgr.cpp.

Referenced by GaudiEventLoopMgr::terminate().

void MinimalEventLoopMgr::topAlgHandler ( Property & p )
 

Top algorithm List handler.

Definition at line 227 of file MinimalEventLoopMgr.cpp.


Friends And Related Function Documentation

class SvcFactory [friend]
 

Creator friend class.

Definition at line 50 of file MinimalEventLoopMgr.h.


Member Data Documentation

IAppMgrUI * MinimalEventLoopMgr::m_appMgrUI [protected]
 

Reference to the IAppMgrUI interface of the application manager.

Definition at line 59 of file MinimalEventLoopMgr.h.

ListAlg MinimalEventLoopMgr::m_outStreamList [protected]
 

List of output streams.

Definition at line 63 of file MinimalEventLoopMgr.h.

StringArrayProperty MinimalEventLoopMgr::m_outStreamNames [protected]
 

List of output stream names.

Definition at line 67 of file MinimalEventLoopMgr.h.

State MinimalEventLoopMgr::m_state [protected]
 

State of the object.

Definition at line 69 of file MinimalEventLoopMgr.h.

ListAlg MinimalEventLoopMgr::m_topAlgList [protected]
 

List of top level algorithms.

Definition at line 61 of file MinimalEventLoopMgr.h.

StringArrayProperty MinimalEventLoopMgr::m_topAlgNames [protected]
 

List of top level algorithms names.

Definition at line 65 of file MinimalEventLoopMgr.h.


The documentation for this class was generated from the following files:
Generated at Wed Nov 21 12:22:34 2001 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000