The Gaudi Framework
master (37c0b60a)
|
allow call-backs when a tool is a created or retrieved More...
#include </builds/gaudi/Gaudi/GaudiKernel/include/GaudiKernel/IToolSvc.h>
Public Member Functions | |
virtual | ~Observer () |
void | setUnregister (std::function< void()> unregister) |
virtual void | onCreate (const IAlgTool *) |
virtual void | onRetrieve (const IAlgTool *) |
Private Attributes | |
std::function< void()> | m_unregister |
allow call-backs when a tool is a created or retrieved
IToolSvc implementations will call 'Observer::onCreate' when a tool is created, and 'Observer::onRetrieve' if a tool is retrieved.
The user is responsible of the life time of the object and must un-register it before it is deleted (e.g. during the finalization).
Definition at line 230 of file IToolSvc.h.
|
inlinevirtual |
Definition at line 232 of file IToolSvc.h.
|
inlinevirtual |
Definition at line 237 of file IToolSvc.h.
|
inlinevirtual |
Definition at line 238 of file IToolSvc.h.
|
inline |
Definition at line 235 of file IToolSvc.h.
|
private |
Definition at line 241 of file IToolSvc.h.