ATLAS Offline Software
CaloRecGPU::Helpers::SimpleHolder< T, Context, hold_object > Class Template Reference

Holds one objects of type \T in memory context Context. More...

#include <Helpers.h>

Collaboration diagram for CaloRecGPU::Helpers::SimpleHolder< T, Context, hold_object >:

Detailed Description

template<class T, class Context, bool hold_object = true>
class CaloRecGPU::Helpers::SimpleHolder< T, Context, hold_object >

Holds one objects of type \T in memory context Context.

Automatically handles memory transfers to and from other contexts in the constructors and assignment operators. If hold_object is false, functions as a simple non-holding pointer, just keeping track of the Context for possible copies/transfers between memory contexts.

Definition at line 1067 of file Calorimeter/CaloRecGPU/CaloRecGPU/Helpers.h.


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