QOpcUaBrowseRequest Class

包含用於調用 OPC UA 瀏覽服務的參數。 更多...

頭: #include <QOpcUaBrowseRequest>
qmake: QT += opcua

公共類型

枚舉類 BrowseDirection { Forward, Inverse, Both }

公共函數

QOpcUaBrowseRequest (const QOpcUaBrowseRequest & other )
QOpcUaBrowseRequest & operator= (const QOpcUaBrowseRequest & rhs )
QOpcUaBrowseRequest::BrowseDirection browseDirection () const
bool includeSubtypes () const
QOpcUa::NodeClasses nodeClassMask () const
QString referenceTypeId () const
void setBrowseDirection (const QOpcUaBrowseRequest::BrowseDirection & browseDirection )
void setIncludeSubtypes (bool includeSubtypes )
void setNodeClassMask (const QOpcUa::NodeClasses & nodeClassMask )
void setReferenceTypeId (const QString & referenceTypeId )
void setReferenceTypeId (QOpcUa::ReferenceTypeId referenceTypeId )

詳細描述

另請參閱 QOpcUaNode::browse ().

成員類型文檔編製

enum class QOpcUaBrowseRequest:: BrowseDirection

This enum specifies the possible browse directions supported by a browse call.

常量 描述
QOpcUaBrowseRequest::BrowseDirection::Forward 0 Follow references in the forward direction.
QOpcUaBrowseRequest::BrowseDirection::Inverse 1 Follow references in the inverse direction.
QOpcUaBrowseRequest::BrowseDirection::Both 2 Follow references in both directions.

成員函數文檔編製

QOpcUaBrowseRequest:: QOpcUaBrowseRequest (const QOpcUaBrowseRequest & other )

創建瀏覽請求從 other .

QOpcUaBrowseRequest &QOpcUaBrowseRequest:: operator= (const QOpcUaBrowseRequest & rhs )

設置值從 rhs in this browse request.

QOpcUaBrowseRequest::BrowseDirection QOpcUaBrowseRequest:: browseDirection () const

Returns the browse direction.

另請參閱 setBrowseDirection ().

bool QOpcUaBrowseRequest:: includeSubtypes () const

Returns true if subtypes of the reference type will be retrieved too.

另請參閱 setIncludeSubtypes ().

QOpcUa::NodeClasses QOpcUaBrowseRequest:: nodeClassMask () const

Returns the node class mask.

另請參閱 setNodeClassMask ().

QString QOpcUaBrowseRequest:: referenceTypeId () const

Returns the reference type id.

另請參閱 setReferenceTypeId ().

void QOpcUaBrowseRequest:: setBrowseDirection (const QOpcUaBrowseRequest::BrowseDirection & browseDirection )

Sets the browse direction to browseDirection .

另請參閱 browseDirection ().

void QOpcUaBrowseRequest:: setIncludeSubtypes ( bool includeSubtypes )

Sets the inclusion of subtypes of the reference type to includeSubtypes .

另請參閱 includeSubtypes ().

void QOpcUaBrowseRequest:: setNodeClassMask (const QOpcUa::NodeClasses & nodeClassMask )

Sets the node class mask to nodeClassMask . Nodes of all classes included into the node class mask will be returned by the browse operation.

另請參閱 nodeClassMask ().

void QOpcUaBrowseRequest:: setReferenceTypeId (const QString & referenceTypeId )

Sets the reference type id to referenceTypeId .

另請參閱 referenceTypeId ().

void QOpcUaBrowseRequest:: setReferenceTypeId ( QOpcUa::ReferenceTypeId referenceTypeId )

Sets the reference type id to referenceTypeId .