载入中...
搜索中...
未找到
eve::caps::IMainThreadPost类 参考abstract
#include <MainThreadPost.h>
Public 成员函数 | |
| virtual | ~IMainThreadPost ()=default |
| virtual void | prepare ()=0 |
| virtual void | postToMainThread (std::string name, std::string data)=0 |
静态 Public 属性 | |
| static constexpr const char * | capabilityName = "IMainThreadPost" |
详细描述
在文件 MainThreadPost.h 第 16 行定义.
构造及析构函数说明
◆ ~IMainThreadPost()
|
virtualdefault |
成员函数说明
◆ postToMainThread()
|
pure virtual |
Queue a named message for the main thread. Safe from any thread once prepare() has run.
◆ prepare()
|
pure virtual |
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 第 18 行定义.
该类的文档由以下文件生成:
- src/engine/common/MainThreadPost.h