Class: Roby::Schedulers::Null
- Defined in:
- lib/roby/schedulers/null.rb
Overview
A scheduler that does nothing, used by ExecutionEngine by default
Instance Attribute Summary collapse
-
#plan ⇒ Object
readonly
Returns the value of attribute plan.
Instance Method Summary collapse
- #initial_events ⇒ Object
-
#initialize(plan) ⇒ Null
constructor
A new instance of Null.
Methods inherited from Reporting
#report_action, #report_holdoff, #report_pending_non_executable_task, #report_trigger
Constructor Details
#initialize(plan) ⇒ Null
Returns a new instance of Null.
13 14 15 16 17 |
# File 'lib/roby/schedulers/null.rb', line 13 def initialize(plan) super() @plan = plan end |
Instance Attribute Details
#plan ⇒ Object (readonly)
Returns the value of attribute plan.
11 12 13 |
# File 'lib/roby/schedulers/null.rb', line 11 def plan @plan end |
Instance Method Details
#initial_events ⇒ Object
19 20 21 |
# File 'lib/roby/schedulers/null.rb', line 19 def initial_events [] end |