Hide _context and _parent and implement safe retrieval methods #606
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.
This pull request includes changes to several components in the
AXOpennamespace, primarily focusing on the removal of theRunmethod from various files. TheRunmethod has been commented out, which includes its input parameters, initialization, and error handling logic.Key changes include:
Method Removals:
src/components.abb.robotics/ctrl/src/AxoIrc5_v_1_x_x.st: Commented out theRunmethod, which includes the initialization and error handling forparent,hwID,hwIdDI_64_bytes, andhwIdDO_64_bytes.src/components.abb.robotics/ctrl/src/AxoOmnicore_v_1_x_x.st: Commented out theRunmethod, which includes the initialization and error handling forparent,hwID,hwIdDI_64_bytes, andhwIdDO_64_bytes.src/components.balluff.identification/ctrl/src/Axo_BIS_M_4XX_045.st: Commented out theRunmethod, which includes the initialization and error handling forparent,hwID, andhwId_BISM.src/components.cognex.vision/ctrl/src/AxoDataman/v_6_0_0/AxoDataman.st: Commented out theRunmethod, which includes the initialization and error handling for various hardware IDs and result data sizes.src/components.cognex.vision/ctrl/src/AxoInsight/v_6_0_0/AxoInsight.st: Commented out theRunmethod, which includes the initialization and error handling for various hardware IDs and result data sizes.New Methods:
src/abstractions/ctrl/src/AxoObject/IAxoObject.st: Added a new methodGetParentto theIAxoObjectinterface.closes #605