Private crowd runtime storage. @cost Linear in agent count for SOA vectors and transient broadphase/avoidance work buffers; capacity is bounded by maxAgents. 更多...
#include <CrowdInternal.h>
类 | |
| struct | Entry |
Public 成员函数 | |
| Result< std::reference_wrapper< Entry > > | resolve (std::uint64_t owner, const ssq::Table &token) |
| Resolve exact token identity without mutation. @ownership Borrow registry entry only until structural mutation or provider destruction. @lifetime Do not retain across VM calls or frames. @thread Owner thread. @reentrancy No callbacks. | |
Public 属性 | |
| std::vector< Entry > | entries |
详细描述
Private crowd runtime storage. @cost Linear in agent count for SOA vectors and transient broadphase/avoidance work buffers; capacity is bounded by maxAgents.
在文件 CrowdInternal.h 第 59 行定义.
成员函数说明
◆ resolve()
| Result< std::reference_wrapper< Crowd::NavigationRequests::Entry > > eve::crowd::Crowd::NavigationRequests::resolve | ( | std::uint64_t | owner, |
| const ssq::Table & | token | ||
| ) |
Resolve exact token identity without mutation. @ownership Borrow registry entry only until structural mutation or provider destruction. @lifetime Do not retain across VM calls or frames. @thread Owner thread. @reentrancy No callbacks.
在文件 CrowdNavigationBindings.cpp 第 40 行定义.
引用了 entries, error, eve::Diagnostic::error(), generation, index, eve::InvalidArgument, eve::NotFound, owner , 以及 token.
类成员变量说明
◆ entries
| std::vector<Entry> eve::crowd::Crowd::NavigationRequests::entries |
在文件 CrowdInternal.h 第 66 行定义.
被这些函数引用 resolve().
该结构体的文档由以下文件生成:
- src/modules/crowd/CrowdInternal.h
- src/modules/crowd/CrowdNavigationBindings.cpp