32 const std::string& name,
80 std::ostringstream strname;
98 log <<
MSG::ERROR <<
"Error connecting/creating Stream: " << input <<
endmsg;
110 for ( StreamSpecs::const_iterator itr = inputs.begin(); itr != inputs.end() && status.
isSuccess(); ++itr ) {
139 for(Properties::const_iterator
i=p.begin();
i!=p.end();
i++) {
140 prop->setProperty((*
i)).ignore();
143 prop->setProperty(
IntegerProperty(
"OutputLevel",output_level)).ignore();
145 return isvc->sysInitialize();
164 log <<
MSG::ERROR <<
"Failed to create IEvtSelector " << typ <<
"/" << nam <<
endmsg;
175 isvc->finalize().ignore();
220 if ( (*i)->definition() == info ) {
228 if ( (pos >= 0) && ((
size_t)pos <
m_streams.size()) )
297 std::ostringstream nam;
336 esds = previousStream;
bool isInitialized() const
Check initialization status.
Definition of the MsgStream class used to transmit messages.
const std::string & name() const
Retrieve stream name.
The Event Selector Interface.
bool isSuccess() const
Test for a status code of SUCCESS.
IEvtSelector * selector() const
Retrieve event selector object.
GAUDIPS_API Logger & logger()
Return the current logger instance.
StatusCode service(const Gaudi::Utils::TypeNameString &name, T *&svc, bool createIf=true)
Templated method to access a service by name.
virtual StatusCode initialize()
Parse input criteria.
bool isValid() const
Allow for check if smart pointer is valid.
General service interface definition.
This class is used for returning status codes from appropriate routines.
Definition of the basic interface.
Base class used to extend a class implementing other interfaces.
virtual StatusCode finalize()
Finalize stream and release resources.
SimpleProperty< int > IntegerProperty
virtual unsigned long release()=0
Release Interface instance.
Definition of class EventSelectorDataStream.
const std::string & selectorType() const
Retrieve event selector type.
Base class for all Incidents (computing events).
virtual unsigned long addRef()=0
Increment the reference count of Interface instance.
const Properties & properties()
Access properties.
static const InterfaceID & interfaceID()
Return an instance of InterfaceID identifying the interface.
const std::string EndStream
Processing of the stream has finished.
virtual void setSelector(IEvtSelector *pSelector)
Attach event selector object.
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
virtual StatusCode queryInterface(const InterfaceID &ti, void **pp)=0
Set the void** to the pointer to the requested interface of the instance.