Add ObjectType and VariableType tree building support#1626
Merged
kevinherron merged 3 commits into1.0from Oct 18, 2025
Merged
Conversation
Introduces type tree building infrastructure for client and server modules: - Add ObjectType and VariableType interfaces in sdk-core to represent OPC UA type metadata including browse name, NodeId, and type-specific attributes - Add ObjectTypeTree and VariableTypeTree wrapper classes providing tree-based type hierarchy navigation - Implement ClientObjectType and ClientVariableType as data carriers for client-side type information - Add ObjectTypeTreeBuilder and VariableTypeTreeBuilder for client - Add ObjectTypeTreeBuilder and VariableTypeTreeBuilder for server - Extend OpcUaServer with getter methods for accessing built type trees
- Abstract tests provide base test cases for type tree navigation and querying - Client tests verify type tree building from OPC UA server - Server tests verify type tree building from address space - Builder tests verify synchronous and asynchronous tree construction
Added getObjectTypeTree(), readObjectTypeTree(), and readObjectTypeTreeAsync() methods along with corresponding VariableType methods. These mirror the existing DataTypeTree API and use lazy initialization with caching. Updated client tests to use the new client instance methods.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary