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

Centralized object pool management for DICOM objects. More...

#include "dicom_element.h"
#include "dicom_dataset.h"
#include <kcenon/common/utils/object_pool.h>
#include <atomic>
#include <chrono>
#include <cstddef>
#include <cstdint>
#include <functional>
#include <memory>
#include <mutex>
Include dependency graph for pool_manager.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  kcenon::pacs::core::pool_statistics
 Statistics for object pool usage monitoring. More...
 
class  kcenon::pacs::core::tracked_pool< T >
 Pool wrapper with statistics tracking. More...
 
class  kcenon::pacs::core::pool_manager
 

Namespaces

namespace  kcenon
 
namespace  kcenon::pacs
 
namespace  kcenon::pacs::core
 

Functions

auto kcenon::pacs::core::make_pooled_element (dicom_tag tag, encoding::vr_type vr) -> tracked_pool< dicom_element >::unique_ptr_type
 Create a pooled dicom_element.
 
auto kcenon::pacs::core::make_pooled_element (dicom_tag tag, encoding::vr_type vr, std::string_view value) -> tracked_pool< dicom_element >::unique_ptr_type
 Create a pooled dicom_element with string value.
 
auto kcenon::pacs::core::make_pooled_dataset () -> tracked_pool< dicom_dataset >::unique_ptr_type
 Create a pooled dicom_dataset.
 

Detailed Description

Centralized object pool management for DICOM objects.

This file provides thread-safe object pooling for frequently allocated DICOM objects to reduce allocation overhead and memory fragmentation.

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

Definition in file pool_manager.h.