![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
#include <CPUHashBackendBufferAccessor.hpp>

Public Member Functions | |
| CPUHashBackendBufferAccessor (HashBackendBuffer &hashmap_buffer) | |
| Must initialize from a non-const buffer to grab the heap top. More... | |
| buf_index_t | DeviceAllocate () |
| void | DeviceFree (buf_index_t buf_index) |
| void * | GetKeyPtr (buf_index_t buf_index) |
| void * | GetValuePtr (buf_index_t buf_index, int value_idx=0) |
Public Attributes | |
| int64_t | capacity_ |
| int64_t | key_dsize_ |
| std::vector< int64_t > | value_dsizes_ |
| buf_index_t * | heap_ |
| std::atomic< int > * | heap_top_ |
| uint8_t * | key_buffer_ptr_ |
| std::vector< uint8_t * > | value_buffer_ptrs_ |
Definition at line 21 of file CPUHashBackendBufferAccessor.hpp.
|
inline |
Must initialize from a non-const buffer to grab the heap top.
Definition at line 24 of file CPUHashBackendBufferAccessor.hpp.
References capacity_, cloudViewer::core::HashBackendBuffer::HeapTop::cpu, cloudViewer::core::HashBackendBuffer::GetHeapTop(), cloudViewer::core::HashBackendBuffer::GetValueBuffers(), heap_top_, value_buffer_ptrs_, and value_dsizes_.
|
inline |
Definition at line 40 of file CPUHashBackendBufferAccessor.hpp.
References heap_.
|
inline |
Definition at line 41 of file CPUHashBackendBufferAccessor.hpp.
References heap_.
|
inline |
Definition at line 45 of file CPUHashBackendBufferAccessor.hpp.
References key_buffer_ptr_, and key_dsize_.
|
inline |
Definition at line 48 of file CPUHashBackendBufferAccessor.hpp.
References value_buffer_ptrs_, and value_dsizes_.
| int64_t cloudViewer::core::CPUHashBackendBufferAccessor::capacity_ |
Definition at line 54 of file CPUHashBackendBufferAccessor.hpp.
Referenced by CPUHashBackendBufferAccessor().
| buf_index_t* cloudViewer::core::CPUHashBackendBufferAccessor::heap_ |
Definition at line 58 of file CPUHashBackendBufferAccessor.hpp.
Referenced by DeviceAllocate(), and DeviceFree().
| std::atomic<int>* cloudViewer::core::CPUHashBackendBufferAccessor::heap_top_ |
Definition at line 59 of file CPUHashBackendBufferAccessor.hpp.
Referenced by CPUHashBackendBufferAccessor().
| uint8_t* cloudViewer::core::CPUHashBackendBufferAccessor::key_buffer_ptr_ |
Definition at line 61 of file CPUHashBackendBufferAccessor.hpp.
Referenced by GetKeyPtr().
| int64_t cloudViewer::core::CPUHashBackendBufferAccessor::key_dsize_ |
Definition at line 55 of file CPUHashBackendBufferAccessor.hpp.
Referenced by GetKeyPtr().
| std::vector<uint8_t *> cloudViewer::core::CPUHashBackendBufferAccessor::value_buffer_ptrs_ |
Definition at line 62 of file CPUHashBackendBufferAccessor.hpp.
Referenced by CPUHashBackendBufferAccessor(), and GetValuePtr().
| std::vector<int64_t> cloudViewer::core::CPUHashBackendBufferAccessor::value_dsizes_ |
Definition at line 56 of file CPUHashBackendBufferAccessor.hpp.
Referenced by CPUHashBackendBufferAccessor(), and GetValuePtr().