Class vl::HostMemoryResource#
ClassList > vl > HostMemoryResource
actual memory resource handler for host / CPU memory resources
#include <memory.h>
Inherits the following classes: vl::MemoryResource
Public Functions#
| Type | Name |
|---|---|
| HostMemoryResource () |
|
| virtual MemoryType | memoryType () override const get the type (location) of the associated memory resource |
| virtual MemoryResourceImpl * | resource () override const get the actual memory handler implementation |
| ~HostMemoryResource () |
Public Functions inherited from vl::MemoryResource#
| Type | Name |
|---|---|
| void * | allocate (size_t bytes, size_t alignment) |
| void | deallocate (void * ptr, size_t bytes, size_t alignment) |
| bool | is_equal (const MemoryResource & other) noexcept const |
| virtual MemoryType | memoryType () const = 0 get the type (location) of the associated memory resource |
| virtual MemoryResourceImpl * | resource () const = 0 get the actual memory handler implementation |
Public Functions Documentation#
function HostMemoryResource#
vl::HostMemoryResource::HostMemoryResource ()
function memoryType#
get the type (location) of the associated memory resource
virtual MemoryType vl::HostMemoryResource::memoryType () override const
Returns:
MemoryType
Implements vl::MemoryResource::memoryType
function resource#
get the actual memory handler implementation
virtual MemoryResourceImpl * vl::HostMemoryResource::resource () override const
Returns:
MemoryResourceImpl
Implements vl::MemoryResource::resource
function ~HostMemoryResource#
vl::HostMemoryResource::~HostMemoryResource ()
The documentation for this class was generated from the following file docs/libvl/build/1.6.1/doxygen/source/vl/memory.h