Public Member Functions | Private Attributes | List of all members
zmq::c_single_allocator Class Reference

#include <decoder_allocators.hpp>

Public Member Functions

unsigned char * allocate ()
 
 c_single_allocator (std::size_t bufsize_)
 
void deallocate ()
 
void resize (std::size_t new_size_)
 
std::size_t size () const
 
 ~c_single_allocator ()
 

Private Attributes

unsigned char * _buf
 
std::size_t _buf_size
 

Detailed Description

Definition at line 16 of file decoder_allocators.hpp.

Constructor & Destructor Documentation

◆ c_single_allocator()

zmq::c_single_allocator::c_single_allocator ( std::size_t  bufsize_)
inlineexplicit

Definition at line 19 of file decoder_allocators.hpp.

◆ ~c_single_allocator()

zmq::c_single_allocator::~c_single_allocator ( )
inline

Definition at line 26 of file decoder_allocators.hpp.

Member Function Documentation

◆ allocate()

unsigned char* zmq::c_single_allocator::allocate ( )
inline

Definition at line 28 of file decoder_allocators.hpp.

◆ deallocate()

void zmq::c_single_allocator::deallocate ( )
inline

Definition at line 30 of file decoder_allocators.hpp.

◆ resize()

void zmq::c_single_allocator::resize ( std::size_t  new_size_)
inline

Definition at line 35 of file decoder_allocators.hpp.

◆ size()

std::size_t zmq::c_single_allocator::size ( ) const
inline

Definition at line 32 of file decoder_allocators.hpp.

Member Data Documentation

◆ _buf

unsigned char* zmq::c_single_allocator::_buf
private

Definition at line 39 of file decoder_allocators.hpp.

◆ _buf_size

std::size_t zmq::c_single_allocator::_buf_size
private

Definition at line 38 of file decoder_allocators.hpp.


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


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:11