|
RTC Toolkit 6.0.0
|
This class behaves like a closure, holding the tree node to update in the model. More...
Public Member Functions | |
| __init__ (self, TreeNode node, RuntimeRepoModel model) | |
| data_point_updated (self, path, value) | |
| This completion handler replaces the existing value object in the corresponding model's node with the new value given. | |
Public Attributes | |
| node = node | |
| model = model | |
This class behaves like a closure, holding the tree node to update in the model.
Instances of this class are passed as the tag argument to the RuntimeRepoControl subscription request. This is the same pattern used for the _FetchCompletion and _CommitCompletion classes, which allows the inherited on_data_point_updated slot method to appropriately dispatch the data updates to the data_point_updated method of this class.
| gui.runtime_repo_model.RuntimeRepoModel._DataUpdateCompletion.__init__ | ( | self, | |
| TreeNode | node, | ||
| RuntimeRepoModel | model ) |
| gui.runtime_repo_model.RuntimeRepoModel._DataUpdateCompletion.data_point_updated | ( | self, | |
| path, | |||
| value ) |
This completion handler replaces the existing value object in the corresponding model's node with the new value given.
| gui.runtime_repo_model.RuntimeRepoModel._DataUpdateCompletion.model = model |
| gui.runtime_repo_model.RuntimeRepoModel._DataUpdateCompletion.node = node |