ATLAS Offline Software
|
#include <IUnassociatedHitsGetterTool.h>
Public Member Functions | |
virtual const MinBiasPRDAssociation * | get (bool allowMissing=false) const =0 |
Type-safe wrapper for get . More... | |
virtual void | releaseObject (const MinBiasPRDAssociation *p) const =0 |
Type-safe wrapper for releaseObjectUntyped . More... | |
Static Public Member Functions | |
static const InterfaceID & | interfaceID () |
Definition at line 15 of file IUnassociatedHitsGetterTool.h.
|
pure virtual |
Type-safe wrapper for get
.
allowMissing | If true, then we should not generate errors if the requested object is missing. |
Return the object as a pointer to MinBiasPRDAssociation
. Return 0 if the get fails or if the pointer can't be converted.
This is implemented in terms of getTypeinfo()
.
Implemented in DerivationFramework::UnassociatedHitsGetterTool.
|
inlinestatic |
Definition at line 19 of file IUnassociatedHitsGetterTool.h.
|
pure virtual |
Type-safe wrapper for releaseObjectUntyped
.
p | The object to release. |
Call this when you are done with the object returned by get()
. The default implementation is a no-op, but if the getter dynamically allocated the object which it returned, this gives it a chance to free it.
This is implemented in terms of releaseObjectTypeinfo()
.
Implemented in DerivationFramework::UnassociatedHitsGetterTool.