ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Control
AthDevice
AthDeviceComps
src
HostCopyTool.h
Go to the documentation of this file.
1
//
2
// Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
//
4
#ifndef ATHDEVICECOMPS_HOSTCOPYTOOL_H
5
#define ATHDEVICECOMPS_HOSTCOPYTOOL_H
6
7
// Framework include(s).
8
#include "
AthenaBaseComps/AthAlgTool.h
"
9
10
// AthDevice include(s).
11
#include "
AthDeviceInterfaces/ICopyTool.h
"
12
13
namespace
AthDevice
{
14
16
class
HostCopyTool
:
public
extends<AthAlgTool, ICopyTool> {
17
18
public
:
19
// Inherit the base class's constructor(s).
20
using
extends::extends;
21
24
26
virtual
std::shared_ptr<const vecmem::copy>
copy
(
27
const
EventContext& ctx)
const override
;
28
30
31
private
:
33
std::shared_ptr<const vecmem::copy>
m_copy
{
34
std::make_shared<const vecmem::copy>()};
35
36
};
// class HostCopyTool
37
38
}
// namespace AthDevice
39
40
#endif
// ATHDEVICECOMPS_HOSTCOPYTOOL_H
AthAlgTool.h
ICopyTool.h
AthDevice::HostCopyTool
Tool providing a basic, host-side vecmem::copy object.
Definition
HostCopyTool.h:16
AthDevice::HostCopyTool::m_copy
std::shared_ptr< const vecmem::copy > m_copy
The vecmem::copy object provided by this tool.
Definition
HostCopyTool.h:33
AthDevice::HostCopyTool::copy
virtual std::shared_ptr< const vecmem::copy > copy(const EventContext &ctx) const override
Get the provided vecmem::copy object.
Definition
HostCopyTool.cxx:10
AthDevice
Definition
BinaryPageMemoryResourceSvc.cxx:15
Generated on
for ATLAS Offline Software by
1.17.0