[Rock-dev] [rock] #152: typelib: create helper methods for new type creation
rock
noreply at opendfki.de
Fri Apr 20 15:54:05 CEST 2012
#152: typelib: create helper methods for new type creation
----------------------------+-----------------------------------
Reporter: sylvain.joyeux | Owner: rock-dev-mailing-list
Type: defect | Status: new
Priority: major | Milestone:
Component: base | Keywords:
----------------------------+-----------------------------------
Typelib's creation of new compounds is OK but is a bit cumbersome if one
wants to reuse complex types from other repositories.
Proposed changes:
- add Registry#merge_type(type) to import a type from any repository
into self
- allow
{{{
registry.create_compound '/NewCompound' do |t|
t.field = type
end
}}}
where +type+ is a type defined from within another repository.
--
Ticket URL: <http://rock.opendfki.de/ticket/152>
rock <http://rock.opendfki.de>
rock: the robot construction kit
More information about the Rock-dev
mailing list