ATLAS Offline Software
Loading...
Searching...
No Matches
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
16
17
18#ifndef ATLALLOCATORS_ARENAALLOCATORCREATOR_H
19#define ATLALLOCATORS_ARENAALLOCATORCREATOR_H
20
21
22#include <memory>
23
24
25namespace SG {
26
27
29
30
39{
40public:
43
44
48 virtual std::unique_ptr<ArenaAllocatorBase> create() = 0;
49};
50
51
52} // namespace SG
53
54
55#endif // not ATLALLOCATORS_ARENAALLOCATORCREATOR_H
Common base class for arena allocator classes.
Provide an interface for creating an arena Allocator.
virtual std::unique_ptr< ArenaAllocatorBase > create()=0
Create an allocator instance.
virtual ~ArenaAllocatorCreator()
Destructor.
Forward declaration.