ONE - On-device Neural Engine
Loading...
Searching...
No Matches
AllocatedMemory Class Referenceabstract

#include <Memory.h>

Collaboration diagram for AllocatedMemory:

Public Member Functions

 AllocatedMemory ()=default
 
virtual ~AllocatedMemory ()=default
 
virtual int create (uint32_t size)=0
 
virtual int getPointer (uint8_t **buffer) const =0
 
virtual bool validateSize (uint32_t offset, uint32_t length) const =0
 
- Public Member Functions inherited from Memory
 Memory ()=default
 
virtual ~Memory ()=default
 
 Memory (const Memory &)=delete
 
Memoryoperator= (const Memory &)=delete
 

Detailed Description

Definition at line 65 of file Memory.h.

Constructor & Destructor Documentation

◆ AllocatedMemory()

AllocatedMemory::AllocatedMemory ( )
default

◆ ~AllocatedMemory()

virtual AllocatedMemory::~AllocatedMemory ( )
virtualdefault

Member Function Documentation

◆ create()

virtual int AllocatedMemory::create ( uint32_t  size)
pure virtual

Implemented in PrivateMemory.

◆ getPointer()

virtual int AllocatedMemory::getPointer ( uint8_t **  buffer) const
pure virtual

Implements Memory.

Implemented in PrivateMemory.

◆ validateSize()

virtual bool AllocatedMemory::validateSize ( uint32_t  offset,
uint32_t  length 
) const
pure virtual

Implements Memory.

Implemented in PrivateMemory.


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