PACS System 0.1.0
PACS DICOM system library
Loading...
Searching...
No Matches
pdu_buffer_pool.h File Reference

Object pooling for PDU buffers and network data structures. More...

#include "pdu_types.h"
#include "pdu_decoder.h"
#include <kcenon/common/utils/object_pool.h>
#include <atomic>
#include <cstddef>
#include <cstdint>
#include <functional>
#include <memory>
#include <vector>
Include dependency graph for pdu_buffer_pool.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  kcenon::pacs::network::pdu_pool_statistics
 Statistics for PDU buffer pool usage monitoring. More...
 
class  kcenon::pacs::network::pooled_buffer
 Pooled byte buffer for PDU data. More...
 
class  kcenon::pacs::network::tracked_pdu_pool< T >
 Pool wrapper with statistics tracking for PDU buffers. More...
 
class  kcenon::pacs::network::pdu_buffer_pool
 

Namespaces

namespace  kcenon
 
namespace  kcenon::pacs
 
namespace  kcenon::pacs::network
 

Functions

auto kcenon::pacs::network::make_pooled_pdu_buffer () -> tracked_pdu_pool< pooled_buffer >::unique_ptr_type
 Create a pooled byte buffer.
 
auto kcenon::pacs::network::make_pooled_pdu_buffer (std::size_t size) -> tracked_pdu_pool< pooled_buffer >::unique_ptr_type
 Create a pooled byte buffer with initial size.
 
auto kcenon::pacs::network::make_pooled_pdv (uint8_t context_id=0, bool is_command=false, bool is_last=true) -> tracked_pdu_pool< presentation_data_value >::unique_ptr_type
 Create a pooled presentation_data_value.
 
auto kcenon::pacs::network::make_pooled_p_data_tf () -> tracked_pdu_pool< p_data_tf_pdu >::unique_ptr_type
 Create a pooled p_data_tf_pdu.
 

Detailed Description

Object pooling for PDU buffers and network data structures.

This file provides pooled allocation for PDU-related data structures to reduce allocation overhead during network operations.

See also
Issue #315, #318 - ObjectPool Memory Management
Author
kcenon
Since
1.0.0

Definition in file pdu_buffer_pool.h.