class Roby::StateVariableModel
Representation of a leaf in the state model
Attributes
data_source[RW]
Returns a data source for that field
At this level, the format data source is unspecified. It is meant to be used by other mechanisms to fill the data_source
tree in the state object (this is the state model)
type[RW]
Returns the type of this field. nil means any type. It is matched against values using ===
Public Instance Methods
to_state_variable_model(field, name)
click to toggle source
# File lib/roby/state/state_model.rb, line 28 def to_state_variable_model(field, name) result = dup result.field = field result.name = name result end