2 #include "GaudiKernel/AlgTool.h"
3 #include "GaudiKernel/IDataStoreLeaves.h"
4 #include "GaudiKernel/IIncidentListener.h"
5 #include "GaudiKernel/SmartIF.h"
30 const std::string&
name,
92 #include "GaudiKernel/IIncidentSvc.h"
93 #include "GaudiKernel/IDataManagerSvc.h"
94 #include "GaudiKernel/IDataProviderSvc.h"
95 #include "GaudiKernel/IRegistry.h"
96 #include "GaudiKernel/IOpaqueAddress.h"
97 #include "GaudiKernel/DataObject.h"
98 #include "GaudiKernel/DataStoreItem.h"
100 #include "GaudiKernel/GaudiException.h"
103 const std::string& name,
108 "Name of the data service to use");
111 "Path to the element from which to start the scan");
114 "If the scan has to be started during the BeginEvent incident (true) or on demand (false, default)");
117 "Disable the detection of the change in the origin of object between the BeginEvent and the scan");
215 const std::string& base = addr->
par()[0];
220 +
"'), probably OutputStream was called before "
221 "InputCopyStream: check options",
224 std::vector<IRegistry*> lfs;
227 for(std::vector<IRegistry*>::iterator
i = lfs.begin();
i != lfs.end(); ++
i) {
229 if ( (*i)->address() && (*i)->address()->par()[0] == base ) {
244 #include "GaudiKernel/ToolFactory.h"
const std::string BeginEvent
Processing of a new event has started.
virtual const std::string * par() const =0
Retrieve String parameters.
Definition of the MsgStream class used to transmit messages.
Define general base for Gaudi exception.
const std::string & type() const
Access to the incident type.
virtual std::string rootName() const =0
Get Name of root Event.
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
bool isSuccess() const
Test for a status code of SUCCESS.
virtual const name_type & name() const =0
Name of the directory (or key)
Base class used to extend a class implementing other interfaces.
std::vector< DataObject * > LeavesList
Returned type.
Data provider interface definition.
bool isFailure() const
Test for a status code of FAILURE.
IRegistry * registry() const
Get pointer to Registry.
StatusCode service(const Gaudi::Utils::TypeNameString &name, T *&svc, bool createIf=true)
Templated method to access a service by name.
#define DECLARE_COMPONENT(type)
This class is used for returning status codes from appropriate routines.
Definition of the basic interface.
The IRegistry represents the entry door to the environment any data object residing in a transient da...
virtual IOpaqueAddress * address() const =0
Retrieve opaque storage address.
virtual DataObject * object() const =0
Retrieve object behind the link.
void reset(TYPE *ptr=0)
Set the internal pointer to the passed one disposing of the old one.
virtual StatusCode objectLeaves(const DataObject *pObject, std::vector< IRegistry * > &refLeaves)=0
Explore the object store: retrieve all leaves attached to the object The object is identified by its ...
Base class for all Incidents (computing events).
virtual void addListener(IIncidentListener *lis, const std::string &type="", long priority=0, bool rethrow=false, bool singleShot=false)=0
Add listener.
virtual const id_type & identifier() const =0
Full identifier (or key)
virtual void removeListener(IIncidentListener *lis, const std::string &type="")=0
Remove listener.
Opaque address interface definition.
A DataObject is the base class of any identifiable object on any data store.
The interface implemented by the IncidentSvc service.
virtual StatusCode retrieveObject(IRegistry *pDirectory, const std::string &path, DataObject *&pObject)=0
Retrieve object identified by its directory entry.