class Roby::Coordination::FaultHandler

Public Instance Methods

step() click to toggle source
Calls superclass method Roby::Coordination::Script#step
# File lib/roby/coordination/fault_handler.rb, line 6
def step
    super
    if finished?
        if model.carry_on?
            response_task = self.root_task
            plan = response_task.plan
            response_task.each_parent_object(Roby::TaskStructure::ErrorHandling) do |repaired_task|
                plan.replan(repaired_task)
            end
            response_task.success_event.emit
        end
    end
end
to_s() click to toggle source
# File lib/roby/coordination/fault_handler.rb, line 20
def to_s
    "#{self.class}/#{root_task}"
end