11 #ifndef GAUDIKERNEL_ITOOLSVC_H 12 #define GAUDIKERNEL_ITOOLSVC_H 49 const IInterface* parent = 0,
bool createIf =
true ) = 0;
149 bool createIf =
true ) {
150 return retrieve(
type, T::interfaceID(), (
IAlgTool*&)tool, parent, createIf );
198 const IInterface* parent =
nullptr,
bool createIf =
true ) {
199 return retrieve(
type,
name, T::interfaceID(), (
IAlgTool*&)tool, parent, createIf );
234 if ( m_unregister ) m_unregister();
245 virtual void registerObserver(
Observer* obs ) = 0;
248 #endif // GAUDIKERNEL_ITOOLSVC_H
This class is used for returning status codes from appropriate routines.
Definition of the basic interface.
#define DeclareInterfaceID(iface, major, minor)
Macro to declare the interface ID when using the new mechanism of extending and implementing interfac...
Gaudi::InterfaceId< IInterface, 0, 0 > iid
Interface ID.