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() {}
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;
254 #endif // GAUDIKERNEL_ITOOLSVC_H
This class is used for returning status codes from appropriate routines.
Definition of the basic interface.
#define DeclareInterfaceID(name, major, minor)
Macro to declare the interface ID when using the new mechanism of extending and implementing interfac...