ATLAS Offline Software
Control
AthAllocators
AthAllocators
ArenaAllocatorCreator.h
Go to the documentation of this file.
1
// This file's extension implies that it's C, but it's really -*- C++ -*-.
2
3
/*
4
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
// $Id: ArenaAllocatorCreator.h 470529 2011-11-24 23:54:22Z ssnyder $
8
18
#ifndef ATLALLOCATORS_ARENAALLOCATORCREATOR_H
19
#define ATLALLOCATORS_ARENAALLOCATORCREATOR_H
20
21
22
#include <memory>
23
24
25
namespace
SG
{
26
27
28
class
ArenaAllocatorBase;
29
30
38
class
ArenaAllocatorCreator
39
{
40
public
:
42
virtual
~ArenaAllocatorCreator
() {}
43
44
48
virtual
std::unique_ptr<ArenaAllocatorBase>
create
() = 0;
49
};
50
51
52
}
// namespace SG
53
54
55
#endif // not ATLALLOCATORS_ARENAALLOCATORCREATOR_H
SG
Forward declaration.
Definition:
CaloCellPacker_400_500.h:32
SG::ArenaAllocatorCreator::create
virtual std::unique_ptr< ArenaAllocatorBase > create()=0
Create an allocator instance.
SG::ArenaAllocatorCreator
Provide an interface for creating an arena Allocator.
Definition:
ArenaAllocatorCreator.h:39
SG::ArenaAllocatorCreator::~ArenaAllocatorCreator
virtual ~ArenaAllocatorCreator()
Destructor.
Definition:
ArenaAllocatorCreator.h:42
Generated on Thu Nov 7 2024 21:10:01 for ATLAS Offline Software by
1.8.18