class Roby::Coordination::Event
Representation of the context's root task
Attributes
execution_context[R]
@return [Base] the underlying execution context
model[R]
@return [Coordination::Event]
task[R]
@return [Coordination::Task] the task this event is part
of
Public Class Methods
new(execution_context, model)
click to toggle source
# File lib/roby/coordination/event.rb, line 13 def initialize(execution_context, model) @execution_context = execution_context @model = model @task = execution_context.instance_for(model.task) end
Public Instance Methods
resolve()
click to toggle source
# File lib/roby/coordination/event.rb, line 21 def resolve task.resolve.event(model.symbol) end
symbol()
click to toggle source
# File lib/roby/coordination/event.rb, line 19 def symbol; model.symbol end
to_s()
click to toggle source
# File lib/roby/coordination/event.rb, line 25 def to_s; "#{task}.#{symbol}_event" end