ATLAS Offline Software
CaloRecGPU::Helpers::SimpleContainer< T, indexer, Context, hold_arrays > Class Template Reference

Holds a run-time amount of objects of type \T, measuring sizes with indexer, in memory context Context. More...

#include <Helpers.h>

Collaboration diagram for CaloRecGPU::Helpers::SimpleContainer< T, indexer, Context, hold_arrays >:

Detailed Description

template<class T, class indexer, class Context, bool hold_arrays = true>
class CaloRecGPU::Helpers::SimpleContainer< T, indexer, Context, hold_arrays >

Holds a run-time amount of objects of type \T, measuring sizes with indexer, in memory context Context.

Automatically handles memory transfers to and from other contexts in the constructors and assignment operators. If hold_arrays 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 698 of file Calorimeter/CaloRecGPU/CaloRecGPU/Helpers.h.


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