载入中...
搜索中...
未找到
eve::pixelworld::PixelWorkScheduler类 参考abstract
Synchronous executor for owning PixelWorld candidate buffers. 更多...
#include <PixelWorld.h>
类 eve::pixelworld::PixelWorkScheduler 继承关系图:
Public 成员函数 | |
| virtual | ~PixelWorkScheduler ()=default |
| Releases PixelWorkScheduler resources. | |
| virtual void | parallelFor (std::size_t workItems, const std::function< void(std::size_t)> &body)=0 |
| Execute every index in [0, workItems) exactly once and synchronously join. | |
| virtual std::size_t | workerCount () const noexcept=0 |
| Observable worker capacity used for diagnostics only. | |
详细描述
Synchronous executor for owning PixelWorld candidate buffers.
Implementations may schedule indices on worker threads but must join before returning. PixelWorld controls the callback, which reads immutable phase state and writes only its index-owned buffer; implementations must not retain it.
在文件 PixelWorld.h 第 58 行定义.
构造及析构函数说明
◆ ~PixelWorkScheduler()
|
virtualdefault |
Releases PixelWorkScheduler resources.
成员函数说明
◆ parallelFor()
|
pure virtual |
Execute every index in [0, workItems) exactly once and synchronously join.
- 参数
-
body Void.
◆ workerCount()
|
pure virtualnoexcept |
Observable worker capacity used for diagnostics only.
该类的文档由以下文件生成:
- src/modules/pixelworld/PixelWorld.h