载入中...
搜索中...
未找到
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()

virtual eve::IUIAutomation::~IUIAutomation ( )
virtualdefault

Iui automation.

成员函数说明

◆ click()

virtual std::string eve::IUIAutomation::click ( const std::string &  host,
const std::string &  widget 
)
pure virtual

Queue a semantic click through the normal UI event path.

参数
hostOptional exact host name used to disambiguate widget ids.
widgetClickable widget id.
返回
Compact acknowledgement JSON, or an error string beginning with error:.

◆ get()

virtual std::string eve::IUIAutomation::get ( const std::string &  host,
const std::string &  widget 
) const
pure virtual

Read one widget's semantic state.

参数
hostOptional exact host name used to disambiguate widget ids.
widgetWidget id.
返回
Compact JSON, or an error string beginning with error:.

◆ tree()

virtual std::string eve::IUIAutomation::tree ( const std::string &  host) const
pure virtual

Serialize visible and hidden retained UI hosts and their widget trees.

参数
hostOptional exact host name; empty returns all hosts.
返回
Compact JSON, or an error string beginning with error:.

类成员变量说明

◆ capabilityName

constexpr const char* eve::IUIAutomation::capabilityName = "IUIAutomation"
staticconstexpr

在文件 UIAutomation.h 第 15 行定义.


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