Class: Roby::Test::RunPlanners::PlanningHandler
- 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
-
#finished? ⇒ Boolean
Whether planning is finished for the given tasks.
-
#initialize(test) ⇒ PlanningHandler
constructor
Create a handler based on the given test case.
-
#start(_tasks) ⇒ Object
Start planning these tasks.
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
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
139 140 141 |
# File 'lib/roby/test/run_planners.rb', line 139 def start(_tasks) raise NotImplementedError end |