载入中...
搜索中...
未找到
eve::action::IActionEffectOperation类 参考abstract
Move-only staged Active operation. 更多...
#include <Action.h>
Public 成员函数 | |
| virtual | ~IActionEffectOperation ()=default |
| Releases IActionEffectOperation resources. | |
| IActionEffectOperation (const IActionEffectOperation &)=delete | |
| IActionEffectOperation & | operator= (const IActionEffectOperation &)=delete |
| IActionEffectOperation (IActionEffectOperation &&)=delete | |
| IActionEffectOperation & | operator= (IActionEffectOperation &&)=delete |
| virtual void | commit () noexcept=0 |
| Apply the prepared operation; must not fail or throw. | |
| virtual void | rollback () noexcept=0 |
| Release/compensate the prepared operation; must not fail or throw. | |
Protected 成员函数 | |
| IActionEffectOperation ()=default | |
| Constructs a IActionEffectOperation. | |
详细描述
Move-only staged Active operation.
A provider prepares all validation and external allocations before commit. commit and rollback are noexcept so the action coordinator can finish its transaction without a second fallible boundary. Implementations must make rollback safe after a prepare that has not been committed.
构造及析构函数说明
◆ ~IActionEffectOperation()
|
virtualdefault |
Releases IActionEffectOperation resources.
◆ IActionEffectOperation() [1/3]
|
delete |
◆ IActionEffectOperation() [2/3]
|
delete |
◆ IActionEffectOperation() [3/3]
|
protecteddefault |
Constructs a IActionEffectOperation.
成员函数说明
◆ commit()
|
pure virtualnoexcept |
Apply the prepared operation; must not fail or throw.
◆ operator=() [1/2]
|
delete |
◆ operator=() [2/2]
|
delete |
◆ rollback()
|
pure virtualnoexcept |
Release/compensate the prepared operation; must not fail or throw.
该类的文档由以下文件生成:
- src/modules/action/Action.h