Dev Essential  1.6.3
Loading...
Searching...
No Matches
ddl::mapping::Memory Class Referenceabstract

Memory base class for sources and targets representing a continous memory buffer. More...

#include <mapper_interfaces.h>

Public Member Functions

virtual ~Memory ()=default
 DTOR.
 
virtual const void * getPtr () const =0
 Get the readable pointer of the buffer.
 
virtual void * getPtr ()=0
 Get the writable pointer of the buffer.
 
virtual size_t getSize () const =0
 Get the Size in bytes of the buffer.
 

Detailed Description

Memory base class for sources and targets representing a continous memory buffer.

Member Function Documentation

◆ getPtr() [1/2]

virtual const void * ddl::mapping::Memory::getPtr ( ) const
pure virtual

Get the readable pointer of the buffer.

Returns
const void*

◆ getPtr() [2/2]

virtual void * ddl::mapping::Memory::getPtr ( )
pure virtual

Get the writable pointer of the buffer.

Returns
void*

◆ getSize()

virtual size_t ddl::mapping::Memory::getSize ( ) const
pure virtual

Get the Size in bytes of the buffer.

Returns
size_t

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