QOpcUaEventFilterResult Class
OPCUA 事件过滤结果。更多
头文件: | #include <QOpcUaEventFilterResult> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS OpcUa) target_link_libraries(mytarget PRIVATE Qt6::OpcUa) |
qmake: | QT += opcua |
公共函数
QOpcUaEventFilterResult() | |
QOpcUaEventFilterResult(const QOpcUaEventFilterResult &rhs) | |
bool | isGood() const |
QList<QOpcUa::UaStatusCode> | selectClauseResults() const |
QList<QOpcUa::UaStatusCode> & | selectClauseResultsRef() |
void | setSelectClauseResults(const QList<QOpcUa::UaStatusCode> &selectClausesResult) |
void | setWhereClauseResults(const QList<QOpcUaContentFilterElementResult> &whereClausesResult) |
QList<QOpcUaContentFilterElementResult> | whereClauseResults() const |
QList<QOpcUaContentFilterElementResult> & | whereClauseResultsRef() |
QOpcUaEventFilterResult & | operator=(const QOpcUaEventFilterResult &rhs) |
成员函数文档
QOpcUaEventFilterResult::QOpcUaEventFilterResult()
默认情况下会生成一个未设置参数的事件筛选结果。
QOpcUaEventFilterResult::QOpcUaEventFilterResult(const QOpcUaEventFilterResult &rhs)
从rhs 中构建事件过滤结果。
bool QOpcUaEventFilterResult::isGood() const
如果事件过滤结果良好,则返回true
。
QList<QOpcUa::UaStatusCode> QOpcUaEventFilterResult::selectClauseResults() const
按过滤器中使用的顺序返回select
子句中所有元素的状态代码。
另请参阅 setSelectClauseResults()。
QList<QOpcUa::UaStatusCode> &QOpcUaEventFilterResult::selectClauseResultsRef()
返回select
子句结果的引用。
另请参阅 selectClauseResults().
void QOpcUaEventFilterResult::setSelectClauseResults(const QList<QOpcUa::UaStatusCode> &selectClausesResult)
将select
子句的结果设置为selectClausesResult 。
另请参阅 selectClauseResults() 。
void QOpcUaEventFilterResult::setWhereClauseResults(const QList<QOpcUaContentFilterElementResult> &whereClausesResult)
将where
子句的结果设置为whereClausesResult 。
另请参阅 whereClauseResults() 。
QList<QOpcUaContentFilterElementResult> QOpcUaEventFilterResult::whereClauseResults() const
按过滤器中使用的顺序返回where
子句中所有元素的状态代码。
另请参阅 setWhereClauseResults()。
QList<QOpcUaContentFilterElementResult> &QOpcUaEventFilterResult::whereClauseResultsRef()
返回where
子句结果的引用。
另请参阅 whereClauseResults().
QOpcUaEventFilterResult &QOpcUaEventFilterResult::operator=(const QOpcUaEventFilterResult &rhs)
在此事件筛选结果中设置rhs 的值。
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.