ATLAS Offline Software
Loading...
Searching...
No Matches
AthDevice::HostCopyTool Class Reference

Tool providing a basic, host-side vecmem::copy object. More...

#include <HostCopyTool.h>

Inheritance diagram for AthDevice::HostCopyTool:
Collaboration diagram for AthDevice::HostCopyTool:

Public Member Functions

Function(s) inherited from @c ICopyTool
virtual std::shared_ptr< const vecmem::copy > copy (const EventContext &ctx) const override
 Get the provided vecmem::copy object.

Private Attributes

std::shared_ptr< const vecmem::copy > m_copy
 The vecmem::copy object provided by this tool.

Detailed Description

Tool providing a basic, host-side vecmem::copy object.

Definition at line 16 of file HostCopyTool.h.

Member Function Documentation

◆ copy()

std::shared_ptr< const vecmem::copy > AthDevice::HostCopyTool::copy ( const EventContext & ctx) const
overridevirtual

Get the provided vecmem::copy object.

Definition at line 10 of file HostCopyTool.cxx.

11 {
12
13 return m_copy;
14}
std::shared_ptr< const vecmem::copy > m_copy
The vecmem::copy object provided by this tool.

Member Data Documentation

◆ m_copy

std::shared_ptr<const vecmem::copy> AthDevice::HostCopyTool::m_copy
private
Initial value:
{
std::make_shared<const vecmem::copy>()}

The vecmem::copy object provided by this tool.

Definition at line 33 of file HostCopyTool.h.

33 {
34 std::make_shared<const vecmem::copy>()};

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