ADTF
Loading...
Searching...
No Matches
memory_allocator_intf.h
Go to the documentation of this file.
1
7
#pragma once
8
#include <
adtfucom3/adtf_ucom3.h
>
9
11
#define CID_ADTF_MEMORY_ALLOCATOR "memory_allocator.service.adtf.cid"
12
13
namespace
adtf
14
{
15
namespace
services
16
{
17
namespace
ant
18
{
19
23
class
IMemoryAllocator
:
public
adtf::ucom::IObject
24
{
25
public
:
30
ADTF_IID
(
IMemoryAllocator
,
"memory_allocator.ant.services.adtf.iid"
);
31
32
public
:
40
virtual
tResult
Alloc
(
size_t
nBytes,
void
*& pMemory,
size_t
& nCapacity) = 0;
41
47
virtual
tResult
Free
(
void
* pMemory) = 0;
48
};
49
50
}
51
52
using
ant::IMemoryAllocator
;
53
54
}
55
56
}
adtf_ucom3.h
tResult
A_UTILS_NS::cResult tResult
For backwards compatibility and to bring latest version into scope.
Definition
result.h:736
adtf::services::ant::IMemoryAllocator
Definition
memory_allocator_intf.h:24
adtf::services::ant::IMemoryAllocator::Alloc
virtual tResult Alloc(size_t nBytes, void *&pMemory, size_t &nCapacity)=0
adtf::services::ant::IMemoryAllocator::Free
virtual tResult Free(void *pMemory)=0
adtf::services::ant::IMemoryAllocator::ADTF_IID
ADTF_IID(IMemoryAllocator, "memory_allocator.ant.services.adtf.iid")
adtf::ucom::IObject
ant::IObject IObject
Alias always bringing the latest version of ant::IObject into scope.
Definition
object_intf.h:109
adtf
Namespace for all functionality provided by ADTF and its SDKs.
Definition
adtf_client_connector.h:14
src
libraries
systemsdk
include
adtfsystemsdk
services
memory_allocator_intf.h
Copyright © CARIAD SE. All rights reserved | Generated on Thu Aug 6 2026 by doxygen 1.13.2 | GIT Commit Hash: 07d2f84367192978b2a55ca6aee7f968758b7220