class Roby::TaskStructure::ExecutionAgentNotReady

Attributes

execution_agent[R]

Public Class Methods

new(task) click to toggle source
Calls superclass method Roby::CodeError::new
# File lib/roby/task_structure/executed_by.rb, line 191
def initialize(task)
    super(nil, task.start_event)
    @execution_agent = task.execution_agent
end

Public Instance Methods

pretty_print(pp) click to toggle source
# File lib/roby/task_structure/executed_by.rb, line 195
def pretty_print(pp)
    pp.text "attempted to start a task buts its agent is not ready"
    pp.breakable
    failed_task.pretty_print(pp)
    pp.breakable
    pp.text "executed_by "
    execution_agent.pretty_print(pp)
end