AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
aws-cpp-sdk-core
include
aws
core
utils
memory
MemorySystemInterface.h
Go to the documentation of this file.
1
6
#pragma once
7
8
#include <
aws/core/Core_EXPORTS.h
>
9
10
#include <cstdlib>
11
12
namespace
Aws
13
{
14
namespace
Utils
15
{
16
namespace
Memory
17
{
22
class
AWS_CORE_API
MemorySystemInterface
23
{
24
public
:
25
virtual
~MemorySystemInterface
() =
default
;
26
30
virtual
void
Begin
() = 0;
34
virtual
void
End
() = 0;
35
40
virtual
void
*
AllocateMemory
(std::size_t blockSize, std::size_t alignment,
const
char
*allocationTag =
nullptr
) = 0;
41
45
virtual
void
FreeMemory
(
void
* memoryPtr) = 0;
46
};
47
48
}
// namespace Memory
49
}
// namespace Utils
50
}
// namespace Aws
Core_EXPORTS.h
AWS_CORE_API
#define AWS_CORE_API
Definition:
Core_EXPORTS.h:26
Aws::Utils::Memory::MemorySystemInterface
Definition:
MemorySystemInterface.h:23
Aws::Utils::Memory::MemorySystemInterface::FreeMemory
virtual void FreeMemory(void *memoryPtr)=0
Aws::Utils::Memory::MemorySystemInterface::End
virtual void End()=0
Aws::Utils::Memory::MemorySystemInterface::AllocateMemory
virtual void * AllocateMemory(std::size_t blockSize, std::size_t alignment, const char *allocationTag=nullptr)=0
Aws::Utils::Memory::MemorySystemInterface::~MemorySystemInterface
virtual ~MemorySystemInterface()=default
Aws::Utils::Memory::MemorySystemInterface::Begin
virtual void Begin()=0
Aws
Definition:
AmazonSerializableWebServiceRequest.h:16
Generated by
1.9.7
Privacy |
Site terms |
Cookie preferences