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

Thread-safe diagnostic channels consumed uniformly by UI, scripts and MCP. 更多...

#include <EditorDiagnostics.h>

Public 成员函数

void publish (std::string source, std::vector< EditorDiagnostic > diagnostics)
 Replace one producer's current diagnostics atomically.
 
void clear (const std::string &source)
 Clear one producer channel.
 
std::vector< EditorDiagnostic > snapshot () const
 Return all channels in deterministic source order.
 

详细描述

Thread-safe diagnostic channels consumed uniformly by UI, scripts and MCP.

在文件 EditorDiagnostics.h 第 46 行定义.

成员函数说明

◆ clear()

void eve::editor::EditorDiagnosticService::clear ( const std::string &  source)

Clear one producer channel.

在文件 EditorDiagnostics.cpp 第 52 行定义.

引用了 source.

◆ publish()

void eve::editor::EditorDiagnosticService::publish ( std::string  source,
std::vector< EditorDiagnostic >  diagnostics 
)

Replace one producer's current diagnostics atomically.

在文件 EditorDiagnostics.cpp 第 47 行定义.

引用了 source.

◆ snapshot()

std::vector< EditorDiagnostic > eve::editor::EditorDiagnosticService::snapshot ( ) const

Return all channels in deterministic source order.

在文件 EditorDiagnostics.cpp 第 57 行定义.

引用了 source.


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