ATLAS Offline Software
Public Member Functions | List of all members
SG::ArenaAllocatorCreator Class Referenceabstract

Provide an interface for creating an arena Allocator. More...

#include <ArenaAllocatorCreator.h>

Inheritance diagram for SG::ArenaAllocatorCreator:
Collaboration diagram for SG::ArenaAllocatorCreator:

Public Member Functions

virtual ~ArenaAllocatorCreator ()
 Destructor. More...
 
virtual std::unique_ptr< ArenaAllocatorBasecreate ()=0
 Create an allocator instance. More...
 

Detailed Description

Provide an interface for creating an arena Allocator.

See Arena.h for an overview of the arena-based memory allocators.

Objects deriving from this will be stored in ArenaAllocatorRegistry, and are used to create allocator instances on demand.

Definition at line 38 of file ArenaAllocatorCreator.h.

Constructor & Destructor Documentation

◆ ~ArenaAllocatorCreator()

virtual SG::ArenaAllocatorCreator::~ArenaAllocatorCreator ( )
inlinevirtual

Destructor.

Definition at line 42 of file ArenaAllocatorCreator.h.

42 {}

Member Function Documentation

◆ create()

virtual std::unique_ptr<ArenaAllocatorBase> SG::ArenaAllocatorCreator::create ( )
pure virtual

Create an allocator instance.

Implemented in SG::ArenaHandleBaseAllocT< ALLOC >::Creator.


The documentation for this class was generated from the following file: