Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Public Member Functions | List of all members
IUnassociatedHitsGetterTool Class Referenceabstract

#include <IUnassociatedHitsGetterTool.h>

Inheritance diagram for IUnassociatedHitsGetterTool:
Collaboration diagram for IUnassociatedHitsGetterTool:

Public Member Functions

 DeclareInterfaceID (IUnassociatedHitsGetterTool, 1, 0)
 
virtual const MinBiasPRDAssociationget (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...
 

Detailed Description

Definition at line 13 of file IUnassociatedHitsGetterTool.h.

Member Function Documentation

◆ DeclareInterfaceID()

IUnassociatedHitsGetterTool::DeclareInterfaceID ( IUnassociatedHitsGetterTool  ,
,
 
)

◆ get()

virtual const MinBiasPRDAssociation* IUnassociatedHitsGetterTool::get ( bool  allowMissing = false) const
pure virtual

Type-safe wrapper for get.

Parameters
allowMissingIf 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().

◆ releaseObject()

virtual void IUnassociatedHitsGetterTool::releaseObject ( const MinBiasPRDAssociation p) const
pure virtual

Type-safe wrapper for releaseObjectUntyped.

Parameters
pThe 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().


The documentation for this class was generated from the following file: