载入中...
搜索中...
未找到
eve::policyregistry 命名空间参考

类

struct  PolicyDescriptor
 Discoverable policy description without an executable callback. 更多...
 
struct  PolicyEvent
 Deterministically sequenced policy registry mutation event. 更多...
 
struct  PolicyHandle
 Generation-qualified policy handle used to detect replacement or removal. 更多...
 
class  PolicyRegistry
 Deterministic registry for discoverable, non-executable policy descriptions. 更多...
 
class  PolicyRegistryModule
 Script module factory for independent policy registries. 更多...
 

枚举

enum class  ImplementationKind { Builtin , Script , Batch }
 Implementation category advertised by a policy descriptor. 更多...
 

函数

std::string implementationKindName (ImplementationKind kind)
 Returns the stable lowercase implementation kind name.
 
bool parseImplementationKind (const std::string &name, ImplementationKind &kind)
 Parses a stable lowercase implementation kind name.
 
 Module_IMPL (PolicyRegistryModule, new PolicyRegistryModule())
 

枚举类型说明

◆ ImplementationKind

Implementation category advertised by a policy descriptor.

枚举值
Builtin 
Script 
Batch 

在文件 PolicyRegistry.h 第 20 行定义.

函数说明

◆ implementationKindName()

EVENGINE_API_FOUNDATION std::string eve::policyregistry::implementationKindName ( ImplementationKind  kind)

Returns the stable lowercase implementation kind name.

在文件 PolicyRegistry.cpp 第 155 行定义.

引用了 implementationKindName() , 以及 kind.

被这些函数引用 implementationKindName() , 以及 eve::policyregistry::PolicyRegistry::snapshotJson().

◆ Module_IMPL()

eve::policyregistry::Module_IMPL ( PolicyRegistryModule  ,
new   PolicyRegistryModule() 
)

◆ parseImplementationKind()

bool eve::policyregistry::parseImplementationKind ( const std::string &  name,
ImplementationKind &  kind 
)

Parses a stable lowercase implementation kind name.

在文件 PolicyRegistry.cpp 第 164 行定义.

引用了 kind, name , 以及 parseImplementationKind().

被这些函数引用 parseImplementationKind() , 以及 eve::policyregistry::PolicyRegistry::restoreJson().