载入中...
搜索中...
未找到
StepKindRegistry.h 文件参考

Extensible step vocabulary, payload schema and dispatch. 更多...

#include "common/Export.h"
#include "common/Result.h"
#include "common/Value.h"
#include "dnut_interpreter/SequenceAsset.h"
#include <functional>
#include <map>
#include <string>
#include <string_view>
#include <vector>

浏览源代码.

类

struct  eve::dnut::StepField
 One declared payload field of a step type. 更多...
 
struct  eve::dnut::StepKindDescriptor
 Owning authoring/runtime contract for one step type. 更多...
 
struct  eve::dnut::StepOutcome
 Structured outcome of one dispatched step. 更多...
 
struct  eve::dnut::StepContext
 Borrowed execution context handed to one step handler. 更多...
 
class  eve::dnut::StepKindRegistry
 Canonical step vocabulary owner and runtime handler router. 更多...
 

命名空间

namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 
namespace  eve::dnut
 

类型定义

using eve::dnut::StepHandler = std::function< StepOutcome(const SequenceNode &, const StepContext &)>
 Consumer-owned handler for one registered step type.
 

枚举

enum class  eve::dnut::StepShape : std::uint8_t { eve::dnut::Instant , eve::dnut::Await }
 Declares whether a step completes inside its call or suspends the runtime. 更多...
 
enum class  eve::dnut::StepFieldType : std::uint8_t {
  eve::dnut::String , eve::dnut::Number , eve::dnut::Integer , eve::dnut::Boolean ,
  eve::dnut::Any
}
 Accepted value kind of one declared payload field. 更多...
 
enum class  eve::dnut::StepStatus : std::uint8_t { eve::dnut::Completed , eve::dnut::Blocked , eve::dnut::Failed }
 Terminal state of one dispatched step. 更多...
 

函数

const char * eve::dnut::stepShapeName (StepShape shape) noexcept
 Return the stable lowercase spelling of a step shape.
 

详细描述

Extensible step vocabulary, payload schema and dispatch.

在文件 StepKindRegistry.h 中定义.