载入中...
搜索中...
未找到
eve::production::Production类 参考
Script module factory for generic production queues. 更多...
#include <Production.h>
类 eve::production::Production 继承关系图:
Public 成员函数 | |
| Module_REG (Production) | |
| Production ()=default | |
| Constructs a Production. | |
| ~Production () override=default | |
| Releases Production resources. | |
Public 成员函数 继承自 eve::Module | |
| virtual | ~Module () |
| Module. | |
| virtual std::string | getName () const =0 |
| Returns the name. | |
静态 Public 成员函数 | |
| static eve::Result< WorkQueueHandleRef > | newQueueHandle () |
| Allocates a production queue and returns its ownership reference. | |
| static eve::ResultRef< WorkQueue > | resolve (WorkQueueHandleRef reference) |
| Resolves a generation-qualified work-queue identity. | |
| static eve::Result< void > | release (WorkQueueHandleRef reference) |
| Releases a module-owned queue. | |
| static bool | isStale (WorkQueueHandleRef reference) noexcept |
| Reports whether a queue reference is stale for the current module. | |
详细描述
Script module factory for generic production queues.
在文件 Production.h 第 387 行定义.
构造及析构函数说明
◆ Production()
|
default |
Constructs a Production.
◆ ~Production()
|
overridedefault |
Releases Production resources.
成员函数说明
◆ isStale()
|
staticnoexcept |
Reports whether a queue reference is stale for the current module.
在文件 ProductionBindings.cpp 第 102 行定义.
引用了 reference.
◆ Module_REG()
| eve::production::Production::Module_REG | ( | Production | ) |
◆ newQueueHandle()
|
static |
Allocates a production queue and returns its ownership reference.
- 返回
- A generation-qualified reference; the current Production module owns the queue.
- 备注
- The reference becomes stale after release, module unload, or reload.
在文件 ProductionBindings.cpp 第 77 行定义.
◆ release()
|
static |
◆ resolve()
|
static |
Resolves a generation-qualified work-queue identity.
- 返回
- A borrowed reference on success, or StaleHandle/NotFound. @ownership Production owns the queue; the returned reference does not. @lifetime Valid only until queue mutation, release, module unload, or reload.
在文件 ProductionBindings.cpp 第 82 行定义.
引用了 eve::StaleHandle, eve::Result< T >::success() , 以及 view.
该类的文档由以下文件生成:
- src/modules/production/Production.h
- src/modules/production/ProductionBindings.cpp
Public 成员函数 继承自