Object to handle the management and delivery of buffers to used to store incoming data without needing to continually reallocate internal memory. This class is threadsafe.
More...
#include <storage.hh>
Object to handle the management and delivery of buffers to used to store incoming data without needing to continually reallocate internal memory. This class is threadsafe.
Definition at line 58 of file LibMultiSense/include/details/legacy/storage.hh.
◆ BufferPool() [1/3]
◆ ~BufferPool()
multisense::legacy::BufferPool::~BufferPool |
( |
| ) |
|
|
default |
◆ BufferPool() [2/3]
multisense::legacy::BufferPool::BufferPool |
( |
const BufferPool & |
| ) |
|
|
delete |
◆ BufferPool() [3/3]
multisense::legacy::BufferPool::BufferPool |
( |
BufferPool && |
| ) |
|
|
defaultnoexcept |
◆ get_buffer()
std::shared_ptr< std::vector< uint8_t > > multisense::legacy::BufferPool::get_buffer |
( |
size_t |
target_size | ) |
|
Get a buffer which will contain at least target_size bytes of storage.
Definition at line 98 of file storage.cc.
◆ get_config()
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ m_config
◆ m_large_buffers
std::vector<std::shared_ptr<std::vector<uint8_t> > > multisense::legacy::BufferPool::m_large_buffers |
|
private |
◆ m_small_buffers
std::vector<std::shared_ptr<std::vector<uint8_t> > > multisense::legacy::BufferPool::m_small_buffers |
|
private |
The documentation for this class was generated from the following files: