Class: Syskit::DataFlow::ConcreteConnectionGraph Private

Inherits:
ConnectionGraph show all
Defined in:
lib/syskit/data_flow.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Graph class used to cache concrete connections once #enable_concrete_connection_graph has been called

Instance Attribute Summary

Attributes inherited from ConnectionGraph

#name

Instance Method Summary collapse

Methods inherited from ConnectionGraph

#add_connections, #add_edge, #connected?, #each_in_connection, #each_out_connection, #freeze_edge_info, #has_in_connections?, #has_out_connections?, #remove_connections

Instance Method Details

#merge_info(source, sink, current_mappings, additional_mappings) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



47
48
49
50
51
# File 'lib/syskit/data_flow.rb', line 47

def merge_info(source, sink, current_mappings, additional_mappings)
    current_mappings.merge(additional_mappings) do |_, old_options, new_options|
        Syskit.update_connection_policy(old_options, new_options)
    end
end