Class: Roby::Test::RunPlanners::PlanningHandler

Inherits:
Object
  • Object
show all
Defined in:
lib/roby/test/run_planners.rb

Overview

Interface for a planning handler for #roby_run_planner

This class is only used to describe the required interface. See ActionPlanningHandler for an example

Instance Method Summary collapse

Constructor Details

#initialize(test) ⇒ PlanningHandler

Create a handler based on the given test case



132
133
134
# File 'lib/roby/test/run_planners.rb', line 132

def initialize(test)
    @test = test
end

Instance Method Details

#finished?Boolean

Whether planning is finished for the given tasks

This is called within a propagation context

Returns:

  • (Boolean)

Raises:

  • (NotImplementedError)


146
147
148
# File 'lib/roby/test/run_planners.rb', line 146

def finished?
    raise NotImplementedError
end

#start(_tasks) ⇒ Object

Start planning these tasks

This is called within a propagation context

Raises:

  • (NotImplementedError)


139
140
141
# File 'lib/roby/test/run_planners.rb', line 139

def start(_tasks)
    raise NotImplementedError
end