Skip to main content

Buffer.ixx File

Abstract base class for buffer implementations. More...

Included Headers

#include <memory> #include <span> #include <vector>

Namespaces Index

namespacehelios
namespacecore

Core utilities shared across the helios engine. More...

namespacecontainer

Generic container types shared across the engine. More...

namespacebuffer

Double-buffering infrastructure for thread-safe message passing. More...

Classes Index

classBuffer

Abstract base class for type-erased buffer implementations. More...

Description

Abstract base class for buffer implementations.

File Listing

The file content with the documentation metadata removed is:

1/**
2 * @file Buffer.ixx
3 * @brief Abstract base class for buffer implementations.
4 */
5module;
6
7#include <memory>
8#include <span>
9#include <vector>
10
11export module helios.core.container.buffer.Buffer;
12
13
15
16 /**
17 * @brief Abstract base class for type-erased buffer implementations.
18 *
19 * @details Provides a minimal interface for buffer operations without
20 * exposing the concrete element type. Used as a base for heterogeneous
21 * buffer storage in type-indexed containers.
22 */
23 class Buffer {
24
25 public:
26
27 /**
28 * @brief Default constructor.
29 */
30 Buffer() = default;
31
32 /**
33 * @brief Virtual destructor for proper polymorphic cleanup.
34 */
35 virtual ~Buffer() = default;
36
37 /**
38 * @brief Clears all elements from the buffer.
39 */
40 virtual void clear() = 0;
41
42 };
43}

Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.