Scanner C++ API
Classes | Public Member Functions | List of all members
scanner::LinkedAllocator Class Reference

Public Member Functions

 LinkedAllocator (std::map< DeviceHandle, Allocator * > allocators)
 
u8 * allocate (DeviceHandle device, size_t size, i32 refs)
 
void add_refs (DeviceHandle device, u8 *buffer, size_t refs)
 
void copy_or_add_refs (DeviceHandle source_device, u8 *source_buffer, size_t refs, DeviceHandle target_device, u8 *&target_buffer)
 
void free (DeviceHandle device, u8 *buffer)
 
std::vector< int > buffers_in_same_block (DeviceHandle device, std::vector< u8 * > buffers)
 
bool buffer_in_block (DeviceHandle device, u8 *buffer)
 

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