载入中...
搜索中...
未找到
eve::pixelworld_streaming::PixelChunkStreamCursor类 参考

Stateful revision cursor that projects one PixelWorld interest region. 更多...

#include <PixelWorldStreaming.h>

Public 成员函数

eve::Result< PixelChunkStreamUpdate > capture (const eve::pixelworld::PixelWorld &source, eve::pixelworld::PixelChunkRegion interest)
 Capture changed/entered Chunks and eviction tombstones for an interest region.
 
void reset () noexcept
 Forget consumer projection state so the next capture is a full resync.
 
std::uint64_t revision () const noexcept
 Last successfully captured source revision, or zero before first capture.
 
std::size_t knownChunkCount () const noexcept
 Number of present Chunk coordinates believed to be held by the consumer.
 

详细描述

Stateful revision cursor that projects one PixelWorld interest region.

The cursor owns only consumer projection state: source link, last revision and known Chunk coordinates. PixelWorld remains the sole material authority. APIs are simulation-thread affine, retain no world pointer and invoke no callbacks.

在文件 PixelWorldStreaming.h 第 55 行定义.

成员函数说明

◆ capture()

eve::Result< PixelChunkStreamUpdate > eve::pixelworld_streaming::PixelChunkStreamCursor::capture ( const eve::pixelworld::PixelWorld &  source,
eve::pixelworld::PixelChunkRegion  interest 
)

◆ knownChunkCount()

std::size_t eve::pixelworld_streaming::PixelChunkStreamCursor::knownChunkCount ( ) const
inlinenoexcept

Number of present Chunk coordinates believed to be held by the consumer.

在文件 PixelWorldStreaming.h 第 73 行定义.

◆ reset()

void eve::pixelworld_streaming::PixelChunkStreamCursor::reset ( )
noexcept

Forget consumer projection state so the next capture is a full resync.

在文件 PixelWorldStreaming.cpp 第 77 行定义.

◆ revision()

std::uint64_t eve::pixelworld_streaming::PixelChunkStreamCursor::revision ( ) const
inlinenoexcept

Last successfully captured source revision, or zero before first capture.

在文件 PixelWorldStreaming.h 第 71 行定义.


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