class Roby::GoalVariableModel
Representation of a state variable in the goal structure
Attributes
reader[RW]
Accessor object. It must respond to call(task)
and return the state variable. Note that if the associated state model defines a type, the return value must be of this type
Public Instance Methods
call(task)
click to toggle source
# File lib/roby/state/goal_model.rb, line 26 def call(task) reader.call(task) end
to_goal_variable_model(field, name)
click to toggle source
# File lib/roby/state/goal_model.rb, line 19 def to_goal_variable_model(field, name) result = dup result.field = field result.name = name result end