ATLAS Offline Software
Loading...
Searching...
No Matches
Control
AthDevice
AthDeviceInterfaces
AthDeviceInterfaces
IMemoryResourceProvider.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 ATHDEVICEINTERFACES_IMEMORYRESOURCEPROVIDER_H
5
#define ATHDEVICEINTERFACES_IMEMORYRESOURCEPROVIDER_H
6
7
// System include(s).
8
#include <memory_resource>
9
10
namespace
AthDevice
{
11
13
class
IMemoryResourceProvider
{
14
15
public
:
17
virtual
~IMemoryResourceProvider
() =
default
;
18
20
virtual
std::pmr::memory_resource&
mr
()
const
= 0;
21
22
};
// class IMemoryResourceProvider
23
24
}
// namespace AthDevice
25
26
#endif
// ATHDEVICEINTERFACES_IMEMORYRESOURCEPROVIDER_H
AthDevice::IMemoryResourceProvider
Interface for a component that provides a "memory resource".
Definition
IMemoryResourceProvider.h:13
AthDevice::IMemoryResourceProvider::mr
virtual std::pmr::memory_resource & mr() const =0
Get the provided std::pmr::memory_resource object.
AthDevice::IMemoryResourceProvider::~IMemoryResourceProvider
virtual ~IMemoryResourceProvider()=default
Destructor.
AthDevice
Definition
BinaryPageMemoryResourceSvc.cxx:15
Generated on
for ATLAS Offline Software by
1.16.1