载入中...
搜索中...
未找到
eve::building::BuildingGarrisonContainerAdapter::PreparedState类 参考final
类 eve::building::BuildingGarrisonContainerAdapter::PreparedState 继承关系图:
eve::container::IContainer::PreparedState

Public 成员函数

 PreparedState (BuildingGarrisonContainerAdapter &owner, std::vector< GarrisonMember > staged, eve::Revision expectedRevision, std::size_t expectedSize, eve::Revision revision)
 
void commit () noexcept override
 Publish the staged state; the operation is non-throwing.
 
void rollback () noexcept override
 Abandon an unpublished stage; the operation is non-throwing.
 
- Public 成员函数 继承自 eve::container::IContainer::PreparedState
virtual ~PreparedState ()=default
 Releases PreparedState resources.
 

详细描述

在文件 ContainerAdapters.cpp 第 125 行定义.

构造及析构函数说明

◆ PreparedState()

eve::building::BuildingGarrisonContainerAdapter::PreparedState::PreparedState ( BuildingGarrisonContainerAdapter &  owner,
std::vector< GarrisonMember >  staged,
eve::Revision  expectedRevision,
std::size_t  expectedSize,
eve::Revision  revision 
)
inline

在文件 ContainerAdapters.cpp 第 127 行定义.

成员函数说明

◆ commit()

void eve::building::BuildingGarrisonContainerAdapter::PreparedState::commit ( )
inlineoverridevirtualnoexcept

Publish the staged state; the operation is non-throwing.

实现了 eve::container::IContainer::PreparedState.

在文件 ContainerAdapters.cpp 第 135 行定义.

◆ rollback()

void eve::building::BuildingGarrisonContainerAdapter::PreparedState::rollback ( )
inlineoverridevirtualnoexcept

Abandon an unpublished stage; the operation is non-throwing.

实现了 eve::container::IContainer::PreparedState.

在文件 ContainerAdapters.cpp 第 146 行定义.


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