Gaudi Framework, version v24r2

Home   Generated: Wed Dec 4 2013
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ReplayOutputStream.h
Go to the documentation of this file.
1 #ifndef COMPONENT_REPLAYOUTPUTSTREAM_H
2 #define COMPONENT_REPLAYOUTPUTSTREAM_H 1
3 // Include files
4 // from Gaudi
6 #include "GaudiKernel/HashMap.h"
7 #include "GaudiKernel/SmartIF.h"
8 
9 class IAlgManager;
10 class IDataManagerSvc;
11 
19 public:
21  ReplayOutputStream(const std::string& name, ISvcLocator* pSvcLocator);
22  virtual ~ReplayOutputStream();
23 
24  virtual StatusCode initialize();
25  virtual StatusCode start ();
26  virtual StatusCode execute ();
27  virtual StatusCode stop ();
28  virtual StatusCode finalize ();
29 
32 
33 protected:
34 private:
35 
37  void i_addOutputStream(const Gaudi::Utils::TypeNameString &outStream);
38 
41  public:
43  inline void operator() (const Gaudi::Utils::TypeNameString &outStream) {
44  m_ptr->i_addOutputStream(outStream);
45  }
46  private:
48  };
49 
52  public:
54  inline void operator() (const std::string &name) const {
56  if (alg.isValid()) {
57  if (!alg->isExecuted()) {
58  alg->sysExecute();
59  } else {
60  m_ptr->warning() << name
61  << " already executed for the current event" << endmsg;
62  }
63  } else {
64  m_ptr->warning() << "invalid OuputStream " << name << endmsg;
65  }
66  }
67  private:
69  };
70 
73  template <Gaudi::StateMachine::Transition TR>
75 
80 
83 };
84 
85 #endif // COMPONENT_REPLAYOUTPUTSTREAM_H

Generated at Wed Dec 4 2013 14:33:10 for Gaudi Framework, version v24r2 by Doxygen version 1.8.2 written by Dimitri van Heesch, © 1997-2004