class Syskit::ActualDataFlowGraph
The graph that represents the connections on the actual ports
I.e. this is the set of connections that really exist between our components
Attributes
static_info[R]
Information about which ports are static and which are not. This information is critical during disconnection to force reconfiguration of the associated tasks
@return [Hash<(Orocos::TaskContext,String),Boolean>]
Public Class Methods
new(*)
click to toggle source
Calls superclass method
# File lib/syskit/actual_data_flow_graph.rb, line 14 def initialize(*) super @static_info = Hash.new end
Public Instance Methods
static?(task, port)
click to toggle source
Whether the given port is static (per {Port#static?}
@param [Orocos::TaskContext] task @param [String] port @raise [ArgumentError] if the (task, port) pair is not registered
# File lib/syskit/actual_data_flow_graph.rb, line 65 def static?(task, port) static_info.fetch([task, port]) rescue KeyError raise ArgumentError, "no port #{port} on a task called #{task} is registered on #{self}" end