![]() |
ATLAS Offline Software
|
Tool implementing AthDevice::ICopiesTool using two tools.
More...
#include <CopiesAdaptorTool.h>
Public Member Functions | |
Function(s) inherited from @c AthAlgTool | |
| virtual StatusCode | initialize () override |
| Initialize the tool. | |
Function(s) inherited from @c ICopiesTool | |
| virtual std::shared_ptr< const vecmem::copy > | hostCopy (const EventContext &ctx) const override |
| Get the "host" copy object. | |
| virtual std::shared_ptr< const vecmem::copy > | deviceCopy (const EventContext &ctx) const override |
| Get the "device" copy object. | |
Private Attributes | |
| ToolHandle< ICopyTool > | m_hostCopyTool |
| Handle to the "host" copy tool. | |
| ToolHandle< ICopyTool > | m_deviceCopyTool |
| Handle to the "device" copy tool. | |
Tool implementing AthDevice::ICopiesTool using two tools.
This is the simplest way of implementing the AthDevice::ICopiesTool interface. By making use of two individual AthDevice::ICopyTool tools.
Definition at line 22 of file CopiesAdaptorTool.h.
|
overridevirtual |
Get the "device" copy object.
Definition at line 26 of file CopiesAdaptorTool.cxx.
|
overridevirtual |
Get the "host" copy object.
Definition at line 20 of file CopiesAdaptorTool.cxx.
|
overridevirtual |
Initialize the tool.
Definition at line 10 of file CopiesAdaptorTool.cxx.
|
private |
Handle to the "device" copy tool.
Definition at line 54 of file CopiesAdaptorTool.h.
|
private |
Handle to the "host" copy tool.
Definition at line 51 of file CopiesAdaptorTool.h.