Interface to facilitate the use of util::ArtHandleTracker
specializations.
More...
#include <ArtHandleTrackerManager.h>
Public Member Functions | |
virtual | ~ArtHandleTrackerInterface ()=default |
Virtual destructor (does nothing). More... | |
bool | removeCachedProduct () |
std::any | handlePtr () const |
Returns a container for a pointer to the managed handle. Caveat emptor. More... | |
std::string | productClass () const |
Returns the name of the class of handled data product. More... | |
std::type_info const * | productType () const |
Returns the name of the class of handled data product. More... | |
art::InputTag | inputTag () const |
Returns the tag of handled data product. More... | |
bool | hasSameDataProduct (util::ArtHandleTrackerInterface< Event > const &other) const |
Returns whether this and the other objects handle the same data product. More... | |
Protected Member Functions | |
virtual bool | doRemoveCachedProduct ()=0 |
Deferred implementation of removeCachedProduct() . More... | |
virtual std::any | doHandlePtr () const =0 |
Deferred implementation of handlePtr() . More... | |
virtual std::string | doProductClass () const =0 |
Deferred implementation of productClass() . More... | |
virtual std::type_info const * | doProductType () const =0 |
Deferred implementation of productType() . More... | |
virtual art::InputTag | doInputTag () const =0 |
Deferred implementation of inputTag() . More... | |
Interface to facilitate the use of util::ArtHandleTracker
specializations.
This is NOT able to return the type of handle it's handling.
Definition at line 31 of file ArtHandleTrackerManager.h.
|
virtualdefault |
Virtual destructor (does nothing).
|
protectedpure virtual |
Deferred implementation of handlePtr()
.
Implemented in util::details::ArtHandleTracker< T, Event >.
|
protectedpure virtual |
Deferred implementation of inputTag()
.
Implemented in util::details::ArtHandleTracker< T, Event >.
|
protectedpure virtual |
Deferred implementation of productClass()
.
Implemented in util::details::ArtHandleTracker< T, Event >.
|
protectedpure virtual |
Deferred implementation of productType()
.
Implemented in util::details::ArtHandleTracker< T, Event >.
|
protectedpure virtual |
Deferred implementation of removeCachedProduct()
.
Implemented in util::details::ArtHandleTracker< T, Event >.
|
inline |
Returns a container for a pointer to the managed handle. Caveat emptor.
Definition at line 604 of file ArtHandleTrackerManager.h.
|
inline |
Returns whether this and the other
objects handle the same data product.
Definition at line 617 of file ArtHandleTrackerManager.h.
|
inline |
Returns the tag of handled data product.
Definition at line 613 of file ArtHandleTrackerManager.h.
|
inline |
Returns the name of the class of handled data product.
Definition at line 607 of file ArtHandleTrackerManager.h.
|
inline |
Returns the name of the class of handled data product.
Definition at line 610 of file ArtHandleTrackerManager.h.
|
inline |
Removes the cached data product from event
. Handle is cleared and won't be valid any more.
Definition at line 600 of file ArtHandleTrackerManager.h.