载入中...
搜索中...
未找到
eve::IUIAutomation类 参考abstract
Semantic retained-UI automation provided by the ui module. 更多...
#include <UIAutomation.h>
Public 成员函数 | |
| virtual | ~IUIAutomation ()=default |
| Iui automation. | |
| virtual std::string | tree (const std::string &host) const =0 |
| Serialize visible and hidden retained UI hosts and their widget trees. | |
| virtual std::string | get (const std::string &host, const std::string &widget) const =0 |
| Read one widget's semantic state. | |
| virtual std::string | click (const std::string &host, const std::string &widget)=0 |
| Queue a semantic click through the normal UI event path. | |
静态 Public 属性 | |
| static constexpr const char * | capabilityName = "IUIAutomation" |
详细描述
Semantic retained-UI automation provided by the ui module.
在文件 UIAutomation.h 第 13 行定义.
构造及析构函数说明
◆ ~IUIAutomation()
|
virtualdefault |
Iui automation.
成员函数说明
◆ click()
|
pure virtual |
Queue a semantic click through the normal UI event path.
- 参数
-
host Optional exact host name used to disambiguate widget ids. widget Clickable widget id.
- 返回
- Compact acknowledgement JSON, or an error string beginning with
error:.
◆ get()
|
pure virtual |
Read one widget's semantic state.
- 参数
-
host Optional exact host name used to disambiguate widget ids. widget Widget id.
- 返回
- Compact JSON, or an error string beginning with
error:.
◆ tree()
|
pure virtual |
Serialize visible and hidden retained UI hosts and their widget trees.
- 参数
-
host Optional exact host name; empty returns all hosts.
- 返回
- Compact JSON, or an error string beginning with
error:.
类成员变量说明
◆ capabilityName
|
staticconstexpr |
在文件 UIAutomation.h 第 15 行定义.
该类的文档由以下文件生成:
- src/engine/common/UIAutomation.h