class Roby::TaskStructure::PlannedBy
Public Instance Methods
check_structure(plan)
click to toggle source
Returns a set of PlanningFailedError
exceptions for all abstract tasks for which planning has failed
# File lib/roby/task_structure/planned_by.rb, line 42 def check_structure(plan) result = [] each_edge do |planned_task, planning_task, options| next if plan != planning_task.plan next if !planning_task.failed? next if !planned_task.self_owned? if (planned_task.pending? && !planned_task.executable?) || !options[:optional] result << [Roby::PlanningFailedError.new(planned_task, planning_task), nil] end end result end