unilink  0.4.3
A simple C++ library for unified async communication
unilink::memory Namespace Reference

Namespaces

 
 

Classes

class  MemoryPool
 Selective simplified memory pool with optimized performance. More...
 
class  GlobalMemoryPool
 Global memory pool instance. More...
 
class  PooledBuffer
 RAII wrapper for memory pool buffers with enhanced safety. More...
 
class  MemoryTracker
 Memory allocation tracker for debugging and monitoring. More...
 
class  ScopedMemoryTracker
 RAII helper for automatic memory tracking. More...
 
class  MemoryValidator
 RAII wrapper for memory validation. More...
 
class  MemoryPatternGenerator
 Memory pattern generator for testing. More...
 
class  SafeDataBuffer
 Safe data buffer for type-safe data transfer. More...
 
class  SafeSpan
 A C++17 compatible span-like class for safe array access. More...
 

Typedefs

using SafeDataHandler = std::function< void(const SafeDataBuffer &)>
 Safe data handler type for callbacks. More...
 
using ByteSpan = SafeSpan< uint8_t >
 
using ConstByteSpan = SafeSpan< const uint8_t >
 
using CharSpan = SafeSpan< char >
 
using ConstCharSpan = SafeSpan< const char >
 

Typedef Documentation

◆ ByteSpan

using unilink::memory::ByteSpan = typedef SafeSpan<uint8_t>

Definition at line 126 of file safe_span.hpp.

◆ CharSpan

using unilink::memory::CharSpan = typedef SafeSpan<char>

Definition at line 128 of file safe_span.hpp.

◆ ConstByteSpan

using unilink::memory::ConstByteSpan = typedef SafeSpan<const uint8_t>

Definition at line 127 of file safe_span.hpp.

◆ ConstCharSpan

using unilink::memory::ConstCharSpan = typedef SafeSpan<const char>

Definition at line 129 of file safe_span.hpp.

◆ SafeDataHandler

using unilink::memory::SafeDataHandler = typedef std::function<void(const SafeDataBuffer&)>

Safe data handler type for callbacks.

Definition at line 94 of file safe_data_buffer.hpp.