WriteBuffer.ixx File
Write-only buffer for the double-buffering pattern. More...
Included Headers
#include <vector>
#include <helios.core.container.buffer.ReadBuffer>
Namespaces Index
| namespace | helios |
| namespace | core |
|
Core utilities shared across the helios engine. More... | |
| namespace | container |
|
Generic container types shared across the engine. More... | |
| namespace | buffer |
|
Double-buffering infrastructure for thread-safe message passing. More... | |
Classes Index
| class | ReadWriteDoubleBuffer<T> |
|
Type-safe double-buffered container for messages of type T. More... | |
| class | WriteBuffer<T> |
|
Write-only buffer for accumulating messages in a double-buffered system. More... | |
Description
Write-only buffer for the double-buffering pattern.
File Listing
The file content with the documentation metadata removed is:
1/**
13export namespace helios::core::container::buffer {
16 class ReadWriteDoubleBuffer{};
32 class WriteBuffer {
34 friend class ReadWriteDoubleBuffer<T>;
64 WriteBuffer& push(Args&&... args) {
76 WriteBuffer& reserve(size_t size) {
77 bufferData_.reserve(size);
86 WriteBuffer& clear() {
87 bufferData_.clear();
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.