载入中...
搜索中...
未找到
eve::editor::EditorEventTimeline类 参考

Bounded copied event timeline with stale-page detection and correlation filtering. 更多...

#include <EditorEventTimeline.h>

Public 成员函数

Result< void > setCapacity (std::size_t capacity)
 Set retained event capacity; shrinking drops oldest events.
 
Result< std::uint64_t > append (EditorTimelineEvent event, std::size_t maximumPayloadNodes=10000)
 Copy one event, assigning a monotonic sequence when it is zero.
 
Result< EditorTimelinePage > query (const EditorTimelineQuery &filter, std::size_t offset, std::size_t limit, std::optional< std::uint64_t > generation=std::nullopt) const
 Query a deterministic page; stale generations return Conflict.
 
void clear ()
 Clear retained events while preserving the next sequence number.
 
std::uint64_t generation () const
 Generation.
 
std::uint64_t droppedEvents () const
 Dropped events.
 

详细描述

Bounded copied event timeline with stale-page detection and correlation filtering.

在文件 EditorEventTimeline.h 第 47 行定义.

成员函数说明

◆ append()

Result< std::uint64_t > eve::editor::EditorEventTimeline::append ( EditorTimelineEvent  event,
std::size_t  maximumPayloadNodes = 10000 
)

◆ clear()

void eve::editor::EditorEventTimeline::clear ( )

Clear retained events while preserving the next sequence number.

在文件 EditorEventTimeline.cpp 第 98 行定义.

◆ droppedEvents()

std::uint64_t eve::editor::EditorEventTimeline::droppedEvents ( ) const
inline

Dropped events.

在文件 EditorEventTimeline.h 第 63 行定义.

◆ generation()

std::uint64_t eve::editor::EditorEventTimeline::generation ( ) const
inline

Generation.

在文件 EditorEventTimeline.h 第 61 行定义.

被这些函数引用 query().

◆ query()

Result< EditorTimelinePage > eve::editor::EditorEventTimeline::query ( const EditorTimelineQuery &  filter,
std::size_t  offset,
std::size_t  limit,
std::optional< std::uint64_t >  generation = std::nullopt 
) const

◆ setCapacity()

Result< void > eve::editor::EditorEventTimeline::setCapacity ( std::size_t  capacity)

Set retained event capacity; shrinking drops oldest events.

在文件 EditorEventTimeline.cpp 第 42 行定义.

引用了 capacity.


该类的文档由以下文件生成: