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

UI-neutral TVE converter controller with revision-safe prepare and publish phases. @ownership The preparer and publisher are borrowed and must outlive this controller. @thread Owner thread only. Calls are synchronous and no controller lock is held across either boundary. @reentrancy Preparer and publisher implementations must not call this controller recursively. 更多...

#include <VegetationConverterController.h>

Public 成员函数

 VegetationConverterController (const IVegetationConversionPreparer &preparer, IVegetationConversionPublisher &publisher)
 Vegetation converter controller.
 
Result< void > setRequest (asset_import::UnityVegetationBatchImportRequest request, std::uint64_t expectedPublicationGeneration)
 Replace the complete owning request and invalidate any older candidate.
 
Result< void > prepare ()
 Prepare the current request as one detached EVA candidate.
 
Result< std::uint64_t > publish ()
 Publish the candidate only when it still matches the current request revision.
 
Result< void > clear ()
 Discard request, candidate and diagnostics.
 
VegetationConverterState state () const
 Return an owning state snapshot for desktop or in-game UI hosts.
 

详细描述

UI-neutral TVE converter controller with revision-safe prepare and publish phases. @ownership The preparer and publisher are borrowed and must outlive this controller. @thread Owner thread only. Calls are synchronous and no controller lock is held across either boundary. @reentrancy Preparer and publisher implementations must not call this controller recursively.

在文件 VegetationConverterController.h 第 64 行定义.

构造及析构函数说明

◆ VegetationConverterController()

eve::editor::VegetationConverterController::VegetationConverterController ( const IVegetationConversionPreparer &  preparer,
IVegetationConversionPublisher &  publisher 
)

Vegetation converter controller.

在文件 VegetationConverterController.cpp 第 13 行定义.

成员函数说明

◆ clear()

Result< void > eve::editor::VegetationConverterController::clear ( )

Discard request, candidate and diagnostics.

在文件 VegetationConverterController.cpp 第 78 行定义.

◆ prepare()

◆ publish()

◆ setRequest()

◆ state()

VegetationConverterState eve::editor::VegetationConverterController::state ( ) const

Return an owning state snapshot for desktop or in-game UI hosts.

在文件 VegetationConverterController.cpp 第 86 行定义.


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