One bounded read of the console ring buffer together with its cursors. 更多...
#include <ConsolePanel.hpp>
Public 属性 | |
| std::vector< ConsoleLine > | lines |
| std::uint64_t | firstSeq = 0 |
| std::uint64_t | nextSeq = 0 |
| std::uint64_t | droppedThrough = 0 |
| std::uint64_t | cursor = 0 |
| bool | truncated = false |
详细描述
One bounded read of the console ring buffer together with its cursors.
Sequence numbers are assigned monotonically for the whole process, so a reader can hold a cursor and never re-read a line. Lines disappear when the ring overflows or when the buffer is cleared; droppedThrough reports how far the retained window has advanced, so a caller can tell "nothing new happened" from "lines were dropped before I read them".
在文件 ConsolePanel.hpp 第 32 行定义.
类成员变量说明
◆ cursor
| std::uint64_t eve::dev::ConsoleSlice::cursor = 0 |
Highest seq covered by this read; pass it back as the next afterSeq.
在文件 ConsolePanel.hpp 第 38 行定义.
被这些函数引用 eve::dev::ConsolePanel::read().
◆ droppedThrough
| std::uint64_t eve::dev::ConsoleSlice::droppedThrough = 0 |
在文件 ConsolePanel.hpp 第 36 行定义.
被这些函数引用 eve::dev::ConsolePanel::read().
◆ firstSeq
| std::uint64_t eve::dev::ConsoleSlice::firstSeq = 0 |
在文件 ConsolePanel.hpp 第 34 行定义.
被这些函数引用 eve::dev::ConsolePanel::read().
◆ lines
| std::vector<ConsoleLine> eve::dev::ConsoleSlice::lines |
在文件 ConsolePanel.hpp 第 33 行定义.
被这些函数引用 eve::dev::ConsolePanel::read().
◆ nextSeq
| std::uint64_t eve::dev::ConsoleSlice::nextSeq = 0 |
在文件 ConsolePanel.hpp 第 35 行定义.
被这些函数引用 eve::dev::ConsolePanel::read().
◆ truncated
| bool eve::dev::ConsoleSlice::truncated = false |
在文件 ConsolePanel.hpp 第 39 行定义.
被这些函数引用 eve::dev::ConsolePanel::read().
该结构体的文档由以下文件生成:
- src/engine/devtools/ConsolePanel.hpp