#include <DeviceProduct.h>
Public Member Functions | |
DeviceProduct ()=default | |
template<typename M , typename... Args> | |
DeviceProduct (std::shared_ptr< M > metadata, Args &&... args) | |
DeviceProduct (const DeviceProduct &)=delete | |
DeviceProduct (DeviceProduct &&)=default | |
template<typename M , typename... Args> | |
T const & | getSynchronized (Args &&... args) const |
DeviceProduct & | operator= (const DeviceProduct &)=delete |
DeviceProduct & | operator= (DeviceProduct &&)=default |
Public Member Functions inherited from edm::DeviceProductBase | |
DeviceProductBase ()=default | |
template<typename M > | |
M const & | metadata () const |
~DeviceProductBase ()=default | |
Private Attributes | |
T | data_ |
Additional Inherited Members | |
Protected Member Functions inherited from edm::DeviceProductBase | |
template<typename M > | |
DeviceProductBase (std::shared_ptr< M > metadata) | |
A wrapper for Event Data product in device memory accompanied with some device-specific metadata. Not intended to be used directly by developers (except in ROOT dictionary declarations in classes_def.xml similar to edm::Wrapper).
Definition at line 46 of file DeviceProduct.h.
|
default |
|
inlineexplicit |
Definition at line 51 of file DeviceProduct.h.
|
delete |
|
default |
|
inline |
Get the actual data product after the metadata object has synchronized the access. The synchronization details depend on the metadata type, which the caller must know. All the arguments are passed to M::synchronize() function.
Definition at line 66 of file DeviceProduct.h.
References writedatasetfile::args, and edm::DeviceProduct< T >::data_.
|
delete |
|
default |
|
private |
Definition at line 73 of file DeviceProduct.h.
Referenced by edm::DeviceProduct< T >::getSynchronized().