载入中...
搜索中...
未找到
eve::script::ISquirrelRootReleaser类 参考abstract
Releases C++-owned Squirrel roots before Runtime destroys its VM. 更多...
#include <SquirrelOwnership.h>
Public 成员函数 | |
| virtual | ~ISquirrelRootReleaser ()=default |
| I squirrel root releaser. | |
| virtual void | releaseSquirrelRoots () noexcept=0 |
| Drops every C++-owned Squirrel root this listener still holds. | |
静态 Public 属性 | |
| static constexpr const char * | capabilityName = "eve.script.ISquirrelRootReleaser" |
详细描述
Releases C++-owned Squirrel roots before Runtime destroys its VM.
Providers register with eve::cap::addListener<ISquirrelRootReleaser>(). Runtime::shutdown() notifies every listener while the VM is still alive.
在文件 SquirrelOwnership.h 第 108 行定义.
构造及析构函数说明
◆ ~ISquirrelRootReleaser()
|
virtualdefault |
I squirrel root releaser.
成员函数说明
◆ releaseSquirrelRoots()
|
pure virtualnoexcept |
Drops every C++-owned Squirrel root this listener still holds.
- 备注
- Called from Runtime::shutdown() while the VM is still alive. Implementations must not throw.
被这些函数引用 eve::Runtime::shutdown().
类成员变量说明
◆ capabilityName
|
staticconstexpr |
在文件 SquirrelOwnership.h 第 110 行定义.
该类的文档由以下文件生成:
- src/engine/common/SquirrelOwnership.h