包含用于调用 OPC UA 浏览服务的参数。 更多...
头: | #include <QOpcUaBrowseRequest> |
CMake: |
find_package(Qt6 REQUIRED COMPONENTS OpcUa)
target_link_libraries(mytarget PRIVATE Qt6::OpcUa) |
qmake: | QT += opcua |
enum class | BrowseDirection { Forward, Inverse, Both } |
QOpcUaBrowseRequest () | |
QOpcUaBrowseRequest (const QOpcUaBrowseRequest & other ) | |
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 ) |
QOpcUaBrowseRequest & | operator= (const QOpcUaBrowseRequest & rhs ) |
另请参阅 QOpcUaNode::browse ().
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. |
Default constructs a browse request with no parameters set.
创建浏览请求从 other .
Returns the browse direction.
另请参阅 setBrowseDirection ().
Returns true if subtypes of the reference type will be retrieved too.
另请参阅 setIncludeSubtypes ().
Returns the node class mask.
另请参阅 setNodeClassMask ().
Returns the reference type id.
另请参阅 setReferenceTypeId ().
Sets the browse direction to browseDirection .
另请参阅 browseDirection ().
Sets the inclusion of subtypes of the reference type to includeSubtypes .
另请参阅 includeSubtypes ().
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 ().
Sets the reference type id to referenceTypeId .
另请参阅 referenceTypeId ().
Sets the reference type id to referenceTypeId .
设置值从 rhs in this browse request.