载入中...
搜索中...
未找到
eve::climbing::Climbing类 参考

Script-facing factory and owner for independent climbing runtimes. 更多...

#include <Climbing.h>

类 eve::climbing::Climbing 继承关系图:
eve::Module

Public 成员函数

 Module_REG (Climbing)
 
- Public 成员函数 继承自 eve::Module
virtual ~Module ()
 Module.
 
virtual std::string getName () const =0
 Returns the name.
 

静态 Public 成员函数

static eve::Result< ClimbingRuntimeHandleRef > newRuntime ()
 Creates a module-owned runtime and returns its generation-qualified reference.
 
static eve::script::Borrowed< ClimbingRuntime > resolve (ClimbingRuntimeHandleRef reference) noexcept
 Resolves a live runtime as a non-owning observation.
 
static eve::Result< void > release (ClimbingRuntimeHandleRef reference)
 Releases a module-owned runtime and invalidates its reference.
 
static bool isStale (ClimbingRuntimeHandleRef reference) noexcept
 Reports whether a runtime reference is stale.
 
static eve::Result< ClimbingAnchorGraphHandleRef > newAnchorGraph (ClimbingAnchorGraphDefinition graph, physics::World3D &world, physics::PhysicsBodyHandle body)
 Creates a module-owned graph instance bound to one live Physics body.
 
static eve::script::Borrowed< ClimbingAnchorGraphInstance > resolveAnchorGraph (ClimbingAnchorGraphHandleRef reference) noexcept
 Resolves a live graph instance as a synchronous non-owning observation.
 
static eve::Result< void > releaseAnchorGraph (ClimbingAnchorGraphHandleRef reference)
 Releases a module-owned graph instance and all of its reservations.
 
static bool isAnchorGraphStale (ClimbingAnchorGraphHandleRef reference) noexcept
 Reports whether a graph instance reference is stale.
 

详细描述

Script-facing factory and owner for independent climbing runtimes.

在文件 Climbing.h 第 891 行定义.

成员函数说明

◆ isAnchorGraphStale()

bool eve::climbing::Climbing::isAnchorGraphStale ( ClimbingAnchorGraphHandleRef  reference)
staticnoexcept

Reports whether a graph instance reference is stale.

在文件 ClimbingRegistry.cpp 第 54 行定义.

引用了 reference.

◆ isStale()

bool eve::climbing::Climbing::isStale ( ClimbingRuntimeHandleRef  reference)
staticnoexcept

Reports whether a runtime reference is stale.

在文件 ClimbingRegistry.cpp 第 25 行定义.

引用了 reference.

◆ Module_REG()

eve::climbing::Climbing::Module_REG ( Climbing  )

◆ newAnchorGraph()

eve::Result< ClimbingAnchorGraphHandleRef > eve::climbing::Climbing::newAnchorGraph ( ClimbingAnchorGraphDefinition  graph,
physics::World3D &  world,
physics::PhysicsBodyHandle  body 
)
static

Creates a module-owned graph instance bound to one live Physics body.

在文件 ClimbingRegistry.cpp 第 31 行定义.

引用了 eve::climbing::ClimbingAnchorGraphInstance::bind(), body, eve::Result< T >::failure(), graph , 以及 world.

◆ newRuntime()

eve::Result< ClimbingRuntimeHandleRef > eve::climbing::Climbing::newRuntime ( )
static

Creates a module-owned runtime and returns its generation-qualified reference.

在文件 ClimbingRegistry.cpp 第 8 行定义.

被这些函数引用 eve::climbing::ClimbingState::create().

◆ release()

eve::Result< void > eve::climbing::Climbing::release ( ClimbingRuntimeHandleRef  reference)
static

Releases a module-owned runtime and invalidates its reference.

在文件 ClimbingRegistry.cpp 第 17 行定义.

引用了 eve::Diagnostic::error(), eve::Result< T >::failure() , 以及 eve::StaleHandle.

被这些函数引用 eve::climbing::ClimbingState::releaseRuntime() , 以及 eve::climbing::ScriptClimbingRuntime::~ScriptClimbingRuntime().

◆ releaseAnchorGraph()

eve::Result< void > eve::climbing::Climbing::releaseAnchorGraph ( ClimbingAnchorGraphHandleRef  reference)
static

Releases a module-owned graph instance and all of its reservations.

在文件 ClimbingRegistry.cpp 第 46 行定义.

引用了 eve::Diagnostic::error(), eve::Result< T >::failure() , 以及 eve::StaleHandle.

◆ resolve()

eve::script::Borrowed< ClimbingRuntime > eve::climbing::Climbing::resolve ( ClimbingRuntimeHandleRef  reference)
staticnoexcept

◆ resolveAnchorGraph()

eve::script::Borrowed< ClimbingAnchorGraphInstance > eve::climbing::Climbing::resolveAnchorGraph ( ClimbingAnchorGraphHandleRef  reference)
staticnoexcept

Resolves a live graph instance as a synchronous non-owning observation.

在文件 ClimbingRegistry.cpp 第 40 行定义.

被这些函数引用 eve::climbing::ClimbingRuntime::advance(), eve::climbing::ClimbingRuntime::restore(), eve::climbing::ClimbingRuntime::transitionAnchor() , 以及 eve::climbing::ClimbingRuntime::tryBeginAnchor().


该类的文档由以下文件生成: