1 #ifndef COMPONENT_REPLAYOUTPUTSTREAM_H
2 #define COMPONENT_REPLAYOUTPUTSTREAM_H 1
5 #include "GaudiAlg/GaudiAlgorithm.h"
6 #include "GaudiKernel/HashMap.h"
7 #include "GaudiKernel/SmartIF.h"
61 <<
" already executed for the current event" <<
endmsg;
73 template <Gaudi::StateMachine::Transition TR>
85 #endif // COMPONENT_REPLAYOUTPUTSTREAM_H
MsgStream & warning() const
shortcut for the method msgStream ( MSG::WARNING )
ReplayOutputStream(const std::string &name, ISvcLocator *pSvcLocator)
Standard constructor.
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
virtual StatusCode finalize()
Algorithm finalization.
OutStreamsMapType m_outputStreams
Internal storage for the OutputStreams to call.
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
Helper class to call the required OutputStream.
virtual StatusCode stop()
Algorithm finalization.
virtual StatusCode start()
Algorithm initialization.
OutStreamTrigger(ReplayOutputStream *ptr)
virtual ~ReplayOutputStream()
Destructor.
The IAlgManager is the interface implemented by the Algorithm Factory in the Application Manager to s...
ReplayOutputStream * m_ptr
virtual StatusCode sysExecute()=0
System execution. This method invokes the execute() method of a concrete algorithm.
StatusCode i_outStreamTransition()
Helper function to call the transition on the contained OutputStreams.
Helper class to parse a string of format "type/name".
virtual StatusCode execute()
Algorithm execution.
This class is used for returning status codes from appropriate routines.
virtual bool isExecuted() const =0
check if the algorithm is already executed for the current event
virtual const std::string & name() const
The identifying name of the algorithm object.
The useful base class for data processing algorithms.
ReplayOutputStream * m_ptr
void i_addOutputStream(const Gaudi::Utils::TypeNameString &outStream)
Add a new algorithm to the list of OutputStreams.
std::vector< std::string > m_outputStreamNames
(property) Type/Name list of OutputStream we have to call.
Helper class to fill the internal map of OutputStreams.
bool isValid() const
Allow for check if smart pointer is valid.
GaudiUtils::HashMap< std::string, SmartIF< IAlgorithm > > OutStreamsMapType
Class used to hold the OutputStream instances.
void operator()(const std::string &name) const
Common class providing an architecture-independent hash map.
void operator()(const Gaudi::Utils::TypeNameString &outStream)
SmartIF< IDataManagerSvc > m_evtMgr
OutStreamAdder(ReplayOutputStream *ptr)
SmartIF< IAlgManager > m_algMgr
virtual StatusCode initialize()
Algorithm initialization.