class Decoder

Public Instance Methods

added_task_child(time, parent, rel, child, info) click to toggle source
Calls superclass method
# File lib/orocos/roby/scripts/connection_log.rb, line 9
def added_task_child(time, parent, rel, child, info)
    parent, rel, child = super
    if rel == Orocos::RobyPlugin::Flows::DataFlow
        puts "#{time}: added #{parent.model.short_name} => #{child.model.short_name}"
        info.each do |(from, to), policy|
            puts "  #{from} => #{to}: #{policy}"
        end
    end
end
removed_task_child(time, parent, rel, child) click to toggle source
Calls superclass method
# File lib/orocos/roby/scripts/connection_log.rb, line 18
def removed_task_child(time, parent, rel, child)
    parent, rel, child = super
    raise if rel == Orocos::RobyPlugin::RequiredDataFlow
    if rel == Orocos::RobyPlugin::Flows::DataFlow
        puts "#{time}: removed #{parent.model.short_name} => #{child.model.short_name}"
    end
end