Borrowed execution context handed to one step handler. 更多...
#include <StepKindRegistry.h>
Public 属性 | |
| std::string | assetId |
| std::string | nodeId |
| const eve::Value * | bindings = nullptr |
| const eve::Value * | locals = nullptr |
| void * | host = nullptr |
| Opaque consumer context installed by the runtime owner. | |
详细描述
Borrowed execution context handed to one step handler.
Every member is borrowed for the duration of the synchronous handler call and must not be retained. Handlers run on the runtime's owner thread and must not re-enter the runtime that dispatched them.
在文件 StepKindRegistry.h 第 79 行定义.
类成员变量说明
◆ assetId
| std::string eve::dnut::StepContext::assetId |
在文件 StepKindRegistry.h 第 80 行定义.
◆ bindings
| const eve::Value* eve::dnut::StepContext::bindings = nullptr |
在文件 StepKindRegistry.h 第 82 行定义.
◆ host
| void* eve::dnut::StepContext::host = nullptr |
Opaque consumer context installed by the runtime owner.
The language core never reads this pointer. A consumer that registers handlers uses it to reach its own per-run binding without making the core depend on that consumer's types. Its lifetime belongs to whoever called SequenceRuntime::setHostContext.
在文件 StepKindRegistry.h 第 92 行定义.
◆ locals
| const eve::Value* eve::dnut::StepContext::locals = nullptr |
在文件 StepKindRegistry.h 第 83 行定义.
◆ nodeId
| std::string eve::dnut::StepContext::nodeId |
在文件 StepKindRegistry.h 第 81 行定义.
该结构体的文档由以下文件生成:
- src/modules/dnut_interpreter/StepKindRegistry.h