载入中...
搜索中...
未找到
eve::caps::IMainThreadPost类 参考abstract
EVENGINE_API_FOUNDATION_INLINE public API. 更多...
#include <MainThreadPost.h>
Public 成员函数 | |
| virtual | ~IMainThreadPost ()=default |
| I main thread post. | |
| virtual void | prepare ()=0 |
| Prepare. | |
| virtual void | postToMainThread (std::string name, std::string data)=0 |
| Post to main thread. | |
静态 Public 属性 | |
| static constexpr const char * | capabilityName = "IMainThreadPost" |
详细描述
EVENGINE_API_FOUNDATION_INLINE public API.
在文件 MainThreadPost.h 第 17 行定义.
构造及析构函数说明
◆ ~IMainThreadPost()
|
virtualdefault |
I main thread post.
成员函数说明
◆ postToMainThread()
|
pure virtual |
Post to main thread.
Queue a named message for the main thread. Safe from any thread once prepare() has run.
◆ prepare()
|
pure virtual |
Prepare.
Resolve any lazily created backing state. Must be called on the submitting thread before a worker uses this poster: the provider may need the module registry, which is not thread-safe.
类成员变量说明
◆ capabilityName
|
staticconstexpr |
在文件 MainThreadPost.h 第 19 行定义.
该类的文档由以下文件生成:
- src/engine/common/MainThreadPost.h