Stable, reversible difference between two complete Pcg photo-mode snapshots. 更多...
#include <PcgPhotoModeApplyPlan.h>
Public 成员函数 | |
| Result< void > | compile (const PcgPhotoModeValues &before, const PcgPhotoModeValues &after) |
| Compile all changed fields in source declaration order. | |
| Result< void > | compileJson (const std::string &beforeJson, const std::string &afterJson) |
| Compile two schema-1 JSON snapshots atomically. | |
| Result< void > | execute (IPhotoModeApplySink &sink) |
| Execute through an explicit sink and roll back prior writes after a failure. | |
| Result< void > | executeRegistered () |
| Execute through the registered capability; absence is an observable failure. | |
| uint64_t | getCommandCount () const noexcept |
| Return the number of changed assignments. | |
| Result< std::string > | getCommandField (uint64_t index) const |
| Return a command field name. | |
| Result< int > | getCommandDomain (uint64_t index) const |
| Return a command domain. | |
| uint64_t | getAppliedCount () const noexcept |
| Return how many forward assignments completed in the last successful execution. | |
| bool | getRollbackComplete () const noexcept |
| Return whether the last failed execution restored every prior assignment. | |
| uint64_t | getRevision () const noexcept |
| Return plan revision, incremented only by successful compilation or execution. | |
详细描述
Stable, reversible difference between two complete Pcg photo-mode snapshots.
在文件 PcgPhotoModeApplyPlan.h 第 10 行定义.
成员函数说明
◆ compile()
| Result< void > eve::ui::PcgPhotoModeApplyPlan::compile | ( | const PcgPhotoModeValues & | before, |
| const PcgPhotoModeValues & | after | ||
| ) |
Compile all changed fields in source declaration order.
在文件 PcgPhotoModeApplyPlan.cpp 第 90 行定义.
引用了 a, b, eve::Result< T >::failure(), eve::ui::PcgPhotoModeValues::getFieldCount(), eve::ui::PcgPhotoModeValues::getFieldName(), eve::ui::PcgPhotoModeValues::getValue(), name , 以及 eve::Result< T >::success().
被这些函数引用 compileJson().
◆ compileJson()
| Result< void > eve::ui::PcgPhotoModeApplyPlan::compileJson | ( | const std::string & | beforeJson, |
| const std::string & | afterJson | ||
| ) |
Compile two schema-1 JSON snapshots atomically.
在文件 PcgPhotoModeApplyPlan.cpp 第 101 行定义.
引用了 a, b, compile(), eve::Result< T >::failure() , 以及 eve::ui::PcgPhotoModeValues::restoreJson().
◆ execute()
| Result< void > eve::ui::PcgPhotoModeApplyPlan::execute | ( | IPhotoModeApplySink & | sink | ) |
Execute through an explicit sink and roll back prior writes after a failure.
在文件 PcgPhotoModeApplyPlan.cpp 第 107 行定义.
引用了 eve::IPhotoModeApplySink::applyPhotoModeAssignment(), eve::Diagnostic::error(), eve::Result< T >::failure(), eve::InvalidArgument , 以及 eve::Result< T >::success().
被这些函数引用 executeRegistered().
◆ executeRegistered()
| Result< void > eve::ui::PcgPhotoModeApplyPlan::executeRegistered | ( | ) |
Execute through the registered capability; absence is an observable failure.
在文件 PcgPhotoModeApplyPlan.cpp 第 125 行定义.
引用了 execute().
◆ getAppliedCount()
|
inlinenoexcept |
Return how many forward assignments completed in the last successful execution.
在文件 PcgPhotoModeApplyPlan.h 第 23 行定义.
◆ getCommandCount()
|
inlinenoexcept |
Return the number of changed assignments.
在文件 PcgPhotoModeApplyPlan.h 第 20 行定义.
◆ getCommandDomain()
| Result< int > eve::ui::PcgPhotoModeApplyPlan::getCommandDomain | ( | uint64_t | index | ) | const |
Return a command domain.
在文件 PcgPhotoModeApplyPlan.cpp 第 133 行定义.
引用了 eve::Diagnostic::error(), eve::Result< T >::failure(), index, eve::InvalidArgument , 以及 eve::Result< T >::success().
◆ getCommandField()
| Result< std::string > eve::ui::PcgPhotoModeApplyPlan::getCommandField | ( | uint64_t | index | ) | const |
Return a command field name.
在文件 PcgPhotoModeApplyPlan.cpp 第 129 行定义.
引用了 eve::Diagnostic::error(), eve::Result< T >::failure(), index, eve::InvalidArgument , 以及 eve::Result< T >::success().
◆ getRevision()
|
inlinenoexcept |
Return plan revision, incremented only by successful compilation or execution.
在文件 PcgPhotoModeApplyPlan.h 第 25 行定义.
◆ getRollbackComplete()
|
inlinenoexcept |
Return whether the last failed execution restored every prior assignment.
在文件 PcgPhotoModeApplyPlan.h 第 24 行定义.
该类的文档由以下文件生成:
- src/modules/ui/PcgPhotoModeApplyPlan.h
- src/modules/ui/PcgPhotoModeApplyPlan.cpp