1 #ifndef GAUDIKERNEL_ITOOLSVC_H
2 #define GAUDIKERNEL_ITOOLSVC_H
4 #include "GaudiKernel/IInterface.h"
5 #include "GaudiKernel/System.h"
37 bool createIf =
true ) = 0;
52 const std::string&
name ,
56 bool createIf =
true ) = 0 ;
61 virtual std::vector<std::string> getInstances(
const std::string& toolType ) = 0;
65 virtual std::vector<std::string> getInstances()
const = 0;
69 virtual std::vector<IAlgTool*> getTools()
const = 0;
144 bool createIf =
true )
146 return retrieve( type,
197 StatusCode retrieveTool (
const std::string& type ,
198 const std::string&
name ,
201 bool createIf =
true )
203 return retrieve ( type,
242 virtual ~Observer() =
default;
243 virtual void onCreate(
const IAlgTool*) {}
244 virtual void onRetrieve(
const IAlgTool*) {}
247 virtual void registerObserver(Observer *obs) = 0;
248 virtual void unRegisterObserver(Observer *obs) = 0;
253 #endif // GAUDIKERNEL_ITOOLSVC_H
#define DeclareInterfaceID(iface, major, minor)
Macro to declare the interface ID when using the new mechanism of extending and implementing interfac...
This class is used for returning status codes from appropriate routines.
Definition of the basic interface.