Move-only owning preparation token; contains values and owner identity, never a Crowd pointer. @ownership Holds immutable flow leases when present; provider-first destruction is safe. @lifetime Single successful commit; restore or stale references reject atomically. @thread Owner thread only. @reentrancy No callbacks. Not persistent or cross-process data. 更多...
#include <Crowd.h>
类 | |
| struct | Data |
Public 成员函数 | |
| AgentUpdatePlan () | |
| Construct an empty, uncommittable token. | |
| ~AgentUpdatePlan () | |
| Release prepared values without changing agents. | |
| AgentUpdatePlan (AgentUpdatePlan &&) noexcept | |
| Transfer token ownership. | |
| AgentUpdatePlan & | operator= (AgentUpdatePlan &&) noexcept |
| Transfer token ownership. | |
| AgentUpdatePlan (const AgentUpdatePlan &)=delete | |
| Tokens cannot be copied. | |
| AgentUpdatePlan & | operator= (const AgentUpdatePlan &)=delete |
| Tokens cannot be copied. | |
友元 | |
| class | Crowd |
详细描述
Move-only owning preparation token; contains values and owner identity, never a Crowd pointer. @ownership Holds immutable flow leases when present; provider-first destruction is safe. @lifetime Single successful commit; restore or stale references reject atomically. @thread Owner thread only. @reentrancy No callbacks. Not persistent or cross-process data.
构造及析构函数说明
◆ AgentUpdatePlan() [1/3]
|
default |
Construct an empty, uncommittable token.
◆ ~AgentUpdatePlan()
|
default |
Release prepared values without changing agents.
◆ AgentUpdatePlan() [2/3]
|
defaultnoexcept |
Transfer token ownership.
◆ AgentUpdatePlan() [3/3]
|
delete |
Tokens cannot be copied.
成员函数说明
◆ operator=() [1/2]
|
defaultnoexcept |
Transfer token ownership.
◆ operator=() [2/2]
|
delete |
Tokens cannot be copied.
友元及相关函数文档
◆ Crowd
该类的文档由以下文件生成:
- src/modules/crowd/Crowd.h
- src/modules/crowd/CrowdUpdatePlan.cpp